Ad Widget

Collapse

HP P2000 G3 monitoring (Zabbix 2.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • extress
    Member
    • Jul 2012
    • 32

    #46
    Originally posted by avk
    I can't find zabbix_sender in /usr/local/bin.
    I have CentOS 6.5. Which path to look?
    try this command :
    Code:
    whereis zabbix_sender

    Comment

    • avk
      Member
      • Jul 2013
      • 44

      #47
      Originally posted by extress
      try this command :
      Code:
      whereis zabbix_sender
      whereis zabbix_sender
      zabbix_sender:

      nothing

      Comment

      • extress
        Member
        • Jul 2012
        • 32

        #48
        Originally posted by avk
        whereis zabbix_sender
        zabbix_sender:

        nothing
        your Zabbix has been installed through yum or manually ?

        edit : and if you try
        Code:
        updatedb && locate zabbix_sender

        Comment

        • avk
          Member
          • Jul 2013
          • 44

          #49
          Originally posted by extress
          your Zabbix has been installed through yum or manually ?
          I have yum installed Zabbix.

          Originally posted by extress
          edit : and if you try
          Code:
          updatedb && locate zabbix_sender
          nothing
          Last edited by avk; 12-03-2014, 14:28.

          Comment

          • aib
            Senior Member
            • Jan 2014
            • 1615

            #50
            well, you have no choice.
            Code:
            # yum install zabbix-sender
            Sincerely yours,
            Aleksey

            Comment

            • avk
              Member
              • Jul 2013
              • 44

              #51
              Originally posted by aib
              well, you have no choice.
              Code:
              # yum install zabbix-sender
              That's not in the user manual.
              Thanks!

              Comment

              • iuramd88
                Junior Member
                • Mar 2014
                • 1

                #52
                Please help

                The script doesn't work for me. When I run the script "hp-msa.pl fqdn stats" I get the following error: Undefined subroutine &main::XMLin called at ./hp-msa.pl line 120.
                The same error I see in zabbix_server.log file. The OS I use for zabbix is FreeBSD.

                Comment

                • elvar
                  Senior Member
                  • Feb 2008
                  • 226

                  #53
                  Whenever I run ./hp-msa.pl fqdn stats I receive a result of 0 and nothing is written to /var/tmp/zabbixSenderHPP2000. I don't seem to be receiving any other errors though.

                  Suggestions?

                  Comment

                  • elvar
                    Senior Member
                    • Feb 2008
                    • 226

                    #54
                    Originally posted by elvar
                    Whenever I run ./hp-msa.pl fqdn stats I receive a result of 0 and nothing is written to /var/tmp/zabbixSenderHPP2000. I don't seem to be receiving any other errors though.

                    Suggestions?
                    Nevermind.

                    Comment

                    • elvar
                      Senior Member
                      • Feb 2008
                      • 226

                      #55
                      I have this working when I manually run the script but for whatever reason, it is not automatically showing data in "latest data" on its own. I can see the checks taking place in the zabbix debug log and it appears to be receiving data. I don't actually see any errors taking place but there is definitely no data populating unless I manually run it.

                      Suggestions?

                      Comment

                      • aib
                        Senior Member
                        • Jan 2014
                        • 1615

                        #56
                        When you set 0 for History storage period (in days), Zabbix don't care about saving any data.
                        You will see in debug log that data was received, but the wouldn't show in Latest data and wouldn't save in database.
                        Sincerely yours,
                        Aleksey

                        Comment

                        • elvar
                          Senior Member
                          • Feb 2008
                          • 226

                          #57
                          Originally posted by aib
                          When you set 0 for History storage period (in days), Zabbix don't care about saving any data.
                          You will see in debug log that data was received, but the wouldn't show in Latest data and wouldn't save in database.
                          The item prototype's are configured for 7 days of history.

                          Comment

                          • elvar
                            Senior Member
                            • Feb 2008
                            • 226

                            #58
                            I figured out why it wasn't working. I had accidentally deleted the sensor item which calls the script with the "stats" argument. All good now, thanks!

                            Comment

                            • aib
                              Senior Member
                              • Jan 2014
                              • 1615

                              #59
                              Good for you!
                              Sincerely yours,
                              Aleksey

                              Comment

                              • dish
                                Junior Member
                                • Apr 2014
                                • 2

                                #60
                                Update

                                Template update with disk and enclosures status monitoring support
                                Attached Files

                                Comment

                                Working...