Ad Widget

Collapse

HP P2000 G3 monitoring (Zabbix 2.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • undisSss
    Junior Member
    • Apr 2014
    • 26

    #76
    I have set HP p2000 g3 iSCSI storage monitoring. In two weeks Access to the storage via http https got lost.controller restart works to help. There are a lot of people in the Internet with the same problem but no solution. Has anyone experienced the same problem? Should I update firmware? Current version TS220R004.

    Comment

    • winsash
      Junior Member
      • Feb 2015
      • 2

      #77
      Originally posted by crispytown
      I had the same issues with the files being created but not importing the data.

      Code:
      info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.000757" 
      sent: 55; skipped: 0; total: 55
      What I did to get it to work was make sure in the configuration for the host... that the "Host Name" is the spelled the same as the Agent interfaces "DNS Name". See Capture.jpg
      Hello, Crispytown!

      Unfourtunatly, your solution didn't take effect for me. I still have "0", when I run script. And if I try start manually Zabbix_sender:
      PHP Code:
      zabbix_sender -/etc/zabbix/zabbix_agentd.conf -/var/tmp/zabbixSenderHPP2000_pmt-p2000.pmt.loc_30085 
      I have the same error:
      PHP Code:
      info from server"processed: 0; failed: 55; total: 55; seconds spent: 0.001006"
      sent55skipped0total55 
      Attached Files

      Comment

      • aglees_esy
        Junior Member
        • Mar 2015
        • 3

        #78
        Originally posted by winsash
        Hello, Crispytown!

        Unfourtunatly, your solution didn't take effect for me. I still have "0", when I run script. And if I try start manually Zabbix_sender:
        PHP Code:
        zabbix_sender -/etc/zabbix/zabbix_agentd.conf -/var/tmp/zabbixSenderHPP2000_pmt-p2000.pmt.loc_30085 
        I have the same error:
        PHP Code:
        info from server"processed: 0; failed: 55; total: 55; seconds spent: 0.001006"
        sent55skipped0total55 
        I tried removing the
        Code:
        $type
        variable from the following line, and now it works albeit the individual disk health sensors don't work

        line 88 (sub getZabbixValues)
        Code:
        $outputString .= "$hostname hp.p2000.stats[$type,$key,$itemKey] $colHash->{$key}->{$itemKey}\n";
        Was looking at how the Zabbix-Sender works, and I think that
        Code:
        $type
        variable throws it off.

        Comment

        • Interrupt
          Junior Member
          • Mar 2015
          • 4

          #79
          Hash

          Hello

          Thx for making this template for the HP P2000.
          I have a bit of a problem installing this template.
          I'm still getting the "Can't use string ("status") as a HASH ref while "strict refs" in use at /etc/zabbix/externalscripts/hp-msa.pl line 60" error.
          i tried to install the IO::Socker::SSL but is was already installed.
          Anyone else got this issue?

          Ubuntu 14.04
          Zabbix 2.4.4
          Perl 5.18.2

          Comment

          • aglees_esy
            Junior Member
            • Mar 2015
            • 3

            #80
            Originally posted by Interrupt
            Hello

            Thx for making this template for the HP P2000.
            I have a bit of a problem installing this template.
            I'm still getting the "Can't use string ("status") as a HASH ref while "strict refs" in use at /etc/zabbix/externalscripts/hp-msa.pl line 60" error.
            i tried to install the IO::Socker::SSL but is was already installed.
            Anyone else got this issue?

            Ubuntu 14.04
            Zabbix 2.4.4
            Perl 5.18.2
            That error rings a bell with me. You installed the JSON components?

            Comment

            • aglees_esy
              Junior Member
              • Mar 2015
              • 3

              #81
              Code:
              Could not open file /var/tmp/zabbix/zabbixSenderHP[removed by me]_22091 at /usr/share/zabbix/externalscripts/hp-msa.pl line 165.
              I'm getting the above when the sensor item runs. Weird thing is that when I run the script from the shell it works perfectly - even the disk health sensors.

              Any ideas on what might be going wrong?

              I thought it might be permissions on the /var/tmp/zabbix folder, but everything is allowed. I thought it might be the Agentd timeout on processing, so set that to 10 seconds. No dice.

              Comment

              • Interrupt
                Junior Member
                • Mar 2015
                • 4

                #82
                Originally posted by aglees_esy
                That error rings a bell with me. You installed the JSON components?
                This is installed ...
                (sudo apt-get install libjson-perl => libjson-perl is already the newest version.)

                Comment

                • DataPro
                  Junior Member
                  • Jun 2015
                  • 1

                  #83
                  syntax error

                  Hi! Does anyone know how to fix it:

                  syntax error at line 1, column 0, byte 0 at /usr/lib64/perl5/XML/Parser.pm line 187

                  Running CentOS 6.3 x86_64

                  Comment

                  • Ordnas
                    Junior Member
                    • Mar 2015
                    • 13

                    #84
                    The name or service not known

                    Hello

                    thanks for this Template. About i have a Problem.
                    when I run the script:
                    ./hp-msa.pl STORAGE01LAN1 stats

                    come following:

                    File does not exist: Can't connect to STORAGE01LAN1:443

                    Der Name oder der Dienst ist nicht bekannt at /usr/share/perl5/LWP/Protocol/http.pm line 49.
                    at ./hp-msa.pl line 122.

                    Ping and NSLookup is ok. Missing a Libery?

                    Comment

                    • Bladman
                      Junior Member
                      • Jul 2015
                      • 2

                      #85
                      I have this issue:

                      /etc/zabbix/externalscripts# zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /tmp/zabbixSenderHPP2000_HOSTNAME_15863 -vv
                      zabbix_sender [15953]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 115; total: 115; seconds spent: 0.001361"}]
                      info from server: "processed: 0; failed: 115; total: 115; seconds spent: 0.001361"

                      Could someone help me out?
                      I have the ServerActive directive in my agentd.conf.

                      Comment

                      • VBochkov
                        Junior Member
                        • Sep 2015
                        • 1

                        #86
                        Originally posted by Bladman
                        I have this issue:

                        /etc/zabbix/externalscripts# zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /tmp/zabbixSenderHPP2000_HOSTNAME_15863 -vv
                        zabbix_sender [15953]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 115; total: 115; seconds spent: 0.001361"}]
                        info from server: "processed: 0; failed: 115; total: 115; seconds spent: 0.001361"

                        Could someone help me out?
                        I have the ServerActive directive in my agentd.conf.
                        I have just the same issue!
                        Any ideas?
                        Last edited by VBochkov; 07-09-2015, 10:09.

                        Comment

                        • dima_dm
                          Senior Member
                          • Dec 2009
                          • 2697

                          #87
                          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.

                          Comment

                          • davidking
                            Junior Member
                            • May 2009
                            • 7

                            #88
                            both new scripts not working

                            original one never get working, always return 0. Tried using both new scripts, but gets the following error when manually run hp-msa.pl hostname stats:

                            Pseudo-hashes are deprecated at ./hp-msa.pl.1 line 63.
                            Argument "\x{72}\x{65}..." isn't numeric in hash element at ./hp-msa.pl.1 line 63.
                            Bad index while coercing array into hash at ./hp-msa.pl.1 line 63.

                            any idea?

                            Comment

                            • varnav
                              Member
                              • Jul 2009
                              • 36

                              #89
                              Hello!

                              We've adapted this script for MSA 2040.

                              Please see:

                              The Zabbix Team has collected all official Zabbix monitoring templates and integrations.

                              Comment

                              • Drevonovic
                                Junior Member
                                • Mar 2016
                                • 7

                                #90
                                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!

                                Comment

                                Working...