Ad Widget

Collapse

Monitoring hexadecimal SNMP values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmgeahan
    Junior Member
    • Dec 2007
    • 1

    #1

    Monitoring hexadecimal SNMP values

    Folks -

    I'm using Zabbix Server 1.4.1 on Ubuntu. I'm using it, in part, to monitor some SNMP v1 switches and printers.

    The HP printers on my network recognize the hrprinterdetectederrorstate object - in this case, giving information on the state of paper and toner in the system. THe object is described in the docs as such:
    Code:
    This object represents any error conditions detected by the printer.  The error conditions are encoded as bits in an octet string, with the
     following definitions:
    
                        Condition         Bit #    hrDeviceStatus
    
                        lowPaper          0        warning(3)
    
                        noPaper           1        down(5)
    
                        lowToner          2        warning(3)
    
                        noToner           3        down(5)
    
                        doorOpen          4        down(5)
    
                        jammed            5        down(5)
    
                        offline           6        down(5)
    
                        serviceRequested  7        warning(3)
    Problem is, I can't figure out how to set up a trigger based on this information; I don't quite know how to set up the trigger and/or the item to recognize the hexadecimal values. If I cast the item as a character, the return is a superscript three; if I cast it as a number, Zabbix won't even give me the data.

    Does anyone have an idea as to how I could process this value?

    Thanks!
Working...