Ad Widget

Collapse

HP P2000 G3 monitoring (Zabbix 2.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Drevonovic
    Junior Member
    • Mar 2016
    • 7

    #91
    Originally posted by Drevonovic
    Hi everybody

    I'm really new with this Zabbix thing and not the biggest hero with Debian either, but can someone like explain me how to configure all of this?

    I'm trying to get this monitoring thing going on our P2000 G3, but I'm stuck. Is this template for SNMP Traps or SNMPv2 Agent? How do I install and use this template properly to monitor disk status? Do I have to change something in my .conf files to get this going or is just importing the template with the script enough?

    Again my apologies for asking such a trivial question, but I'd really appreciate the help since I'm looking for some proper guidance for days now.

    Appreciated!
    Ignore this post. I managed to get the script going. Only I'm getting the same error over and over again which makes the item go unsupported

    Code:
    [File does not exist: Can't connect to {HOST.DNS1}:80 (Bad hostname)LWP::Protocol::http::Socket: Bad hostname '{HOST.DNS1}' at /usr/share/perl5/LWP/Protocol/http.pm line 51. at /usr/lib/zabbix/externalscripts/hp-msa.pl line 122
    My host has both an IP and a DNS name, which are correct. Zabbix connects to the DNS-name and I'm using the agent interface.

    Something I'm doing wrong / missing ?

    Comment

    • Drevonovic
      Junior Member
      • Mar 2016
      • 7

      #92
      I don't like to bump or spam forum posts, but this is getting rather urgent and I'm not making any progress at all.

      Comment

      • Drevonovic
        Junior Member
        • Mar 2016
        • 7

        #93
        Originally posted by Drevonovic
        I don't like to bump or spam forum posts, but this is getting rather urgent and I'm not making any progress at all.
        Made progress. Username and password were wrong in the script (shame :$ )

        Comment

        • cardinal83
          Junior Member
          • Apr 2015
          • 18

          #94
          Hi, Drevonovic.

          I use Zabbix3.0.1 and i have same error. I check username/password and its correct (i copy hp-msa.pl from other instance zabbix (v2.4.7), where this scripts is work). From command line this script also work. Not work only from zabbix.
          Something I'm doing wrong / missing ?

          UPD: problem solved by change {HOST.DNS1} to {HOST.DNS}.
          Last edited by cardinal83; 14-04-2016, 16:42.

          Comment

          • arul_prasad82
            Junior Member
            • Apr 2016
            • 1

            #95
            Emir Imamagic,

            I am getting output when I run the command in CLI.
            ./hp-msa.pl <IP ADDRESS> lld vdisk

            {
            "data" : [
            {
            "{#HP_P2000_TYPE}" : "Controller",
            "{#HP_P2000_ID}" : "controller_a"
            },
            {
            "{#HP_P2000_TYPE}" : "Controller",
            "{#HP_P2000_ID}" : "controller_b"
            },
            {
            "{#HP_P2000_TYPE}" : "Vdisk",
            "{#HP_P2000_ID}" : "vd07"
            },
            {
            "{#HP_P2000_TYPE}" : "Vdisk",
            "{#HP_P2000_ID}" : "vddldr"
            },
            {
            "{#HP_P2000_TYPE}" : "Vdisk",
            "{#HP_P2000_ID}" : "vd04"
            },
            {
            "{#HP_P2000_TYPE}" : "Vdisk",
            "{#HP_P2000_ID}" : "vd08"
            },
            ]
            }


            Not geeting output in Zabbix, found below error in log file, please guide me on this.

            End of lld_rows_get():FAIL

            Thanks

            Comment

            • Inoyat.Kayumov
              Junior Member
              • Dec 2018
              • 5

              #96
              Originally posted by dima_dm
              1) Chek Hostname (case sensitive) MSA P2000 in zabbix server and in file zabbixSenderHPP2000_HOSTNAME_15863. Add MSA P2000 in /etc/hosts with correct name.
              2) Check that the LLD works, and this items (from file zabbixSenderHPP2000_HOSTNAME_15863) exists in zabbix.
              1) Hostname checked
              2) LLD works

              zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /var/tmp/zabbixSenderHPP2000_p2000.ilo.domino_7046 -vv
              zabbix_sender [7222]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 59; total: 59; seconds spent: 0.000823"}]
              info from server: "processed: 0; failed: 59; total: 59; seconds spent: 0.000823"

              what else need to check?

              Comment

              • nexta
                Junior Member
                • Oct 2021
                • 1

                #97
                Hi,
                1) Hostname checked
                2) LLD works

                in var/temp file exist and data in file present
                But in latest data I see Sensor and 0
                what should be checked in this case?

                Comment

                Working...