Ad Widget

Collapse

Issues when monitoring SAN MSA2000x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sheen
    Junior Member
    • Apr 2009
    • 24

    #1

    Issues when monitoring SAN MSA2000x

    Hi all,

    I have an issue for monitoring an MSA2000x.
    I got the MIB and it's working but the problem is I'm getting value in string format.
    I don't know why, but HP decide to return a string instead of an integrer, so I'm not able to monitor the value.


    For example :

    ----------------------------------------------------------------------------
    snmpget -v 2c -c public 192.168.XXX.XXX experimental.94.1.8.1.6.32.128.0.192.255.218.15.56 .0.0.0.0.0.0.0.0.5

    Give me as output :
    SNMPv2-SMI::experimental.94.1.8.1.6.32.128.0.192.255.218. 15.56.0.0.0.0.0.0.0.0.5 = STRING: "Onboard Temperature 1 (Controller Module A): 35C 95F"
    ----------------------------------------------------------------------------


    So I have to use cut / sed /awk to get value only (35 in this example)


    It work I can get the value alone using parsing command line, but now I don't understand how to monitor this value in Zabbix.

    Is there a simple way to create a new element in template which is a result of a command line ?


    Thank you for futures replies.
  • sheen
    Junior Member
    • Apr 2009
    • 24

    #2
    No ideas ?

    Comment

    Working...