Ad Widget

Collapse

Monitoring HP Lefthand P4500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mirko_s
    Junior Member
    • Apr 2014
    • 3

    #1

    Monitoring HP Lefthand P4500

    Good evening everybody,

    I am a brand new Zabbbix user and I am writing here after some tests and deep manual reading session, but unsuccessfully. Surely there something I am doing wrong.

    I have installed the virtual appliance and then I have installed the HP Lefthand Template and, after removing all the graph section in the XML file, also the HP Procurve Template.

    The goal is to monitor a storage infrastructure and to do this, I would like to retrieve more infos, from the Left Hand. So I have created a new Application "Hardware" and, related to the hardware I would like to add some new items (Disk Status, Temperature, Fans), but I am encountering some issue. I can see, walking through the OIDs using a MIB Browser, that the device give a lot of infos and I have choosen a text\string value that tells that disk is active. I have tried to setup the item but I cannot retrieve anythig. Any ideas?

    I have also checked this doc from HP (http://h10032.www1.hp.com/ctg/Manual/c01750818.pdf)but nothing useful. Also if I snmpwalk the device from Zabbix server and I can get a bunch of values related to physical disks and bays, when I try to recall them I can't.

    The same for the temperature, I found the string for the fans and how many cycles do, but nothing related temperature.

    Did you already tried to monitor some other component, over this that is proposed in the template?

    Then I have a question, reading on the manual, I see that there is a way to prepare triggers of values. Is it possible to trigger txt\string values? For example, in case a disk is in a state different from Active (if it is the case), can be used to trigger an action?

    Thank you in advance.

    Best Regards,
    Mirko
  • mirko_s
    Junior Member
    • Apr 2014
    • 3

    #2
    Ok, problem fixed, I found, with the SNMPwalk command the right OIDs to retrieve the information

    Now I would like some information in order to activate some trigger on this template. At the moment I have an OID that give me and answer "Active" (for disk status, for example).

    I have created a trigger in order to send an alert when the SNMP query retrieve this status. It should create a Problem when the status "Active" change to another value. Do you think that this expression is right?

    ({Template_Left_Hand_Storage:lhnNsmStorage.2.1.5.1 .regexp(Active)}#0)

    Thank you in advance. Regards in advance.

    Comment

    • mirko_s
      Junior Member
      • Apr 2014
      • 3

      #3
      Sorry for the double post, ma after the message I have posted this morning I am retrieving some false positive with the trigger mentioned before.

      I am receiving, from the storages, that disk status 1 is active and with that expression I would like to receive a problem event if the status change in another value to make further check on the appliance. What should be wrong with the expression at your experience?

      It is triggering a problem also if the status is not changed from "Active" (or normal, for other string check). From the previous expression I have added "..." in the string position as suggested in some posts, but is always triggering alarm also if not needed.

      Code:
      ({Template_Left_Hand_Storage:lhnNsmStorage.2.1.5.1.regexp("Active")}#0)
      I have made a test and if the status remains 0 it trigger a FALSE (no problem), but if instead a trigger a 1 (status change from Active), the output is true and the trigger should be on. But it is not working, any suggestion? Numeric comparison seems working fine, So probably is the expression for strings that is not triggering right. Any idea?

      Here some screen that can help you:
      understanding the issue... only trigger that should match string values are false problems.
      Click image for larger version

Name:	2014_04_28_11_57_43_172.27.1.48_Connessione_Desktop_remoto.jpg
Views:	1
Size:	61.2 KB
ID:	312603

      Click image for larger version

Name:	c8F03CF.jpg
Views:	1
Size:	37.6 KB
ID:	312604

      Click image for larger version

Name:	krfpM4k.jpg
Views:	1
Size:	34.6 KB
ID:	312605

      Click image for larger version

Name:	jpZ6pOr.jpg
Views:	1
Size:	50.0 KB
ID:	312606

      Click image for larger version

Name:	akVGDfZ.jpg
Views:	1
Size:	46.7 KB
ID:	312607

      This is the expression I am using:
      ({Template_Left_Hand_Storage:lhnNsmInfo.91.1.22.1. regexp("Normal")}#0)
      ({Template:key.regexp("String")}#0) -> different from zero that indicate (or at least should indicate) that status is not changed and test should be fine

      Any idea in order to trigger correctly a string?

      Thank you in advance for your help and suggestion. Regards.

      Comment

      Working...