Ad Widget

Collapse

SNMP returns hexadecimal values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #1

    SNMP returns hexadecimal values

    How Do i turn hexadecimal values I get from SNMP-Queries into decimal values?

    Zabbix dont accept hexadecimal values in element configuration.

    For example is this snmp printer object which only returns this values:

    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 #
    lowPaper 0
    noPaper 1
    lowToner 2
    noToner 3
    doorOpen 4
    jammed 5
    offline 6
    serviceRequested 7
    inputTrayMissing 8
    outputTrayMissing 9
    markerSupplyMissing 10
    outputNearFull 11
    outputFull 12
    inputTrayEmpty 13
    overduePreventMaint 14
    Bits are numbered starting with the most significant
    bit of the first byte being bit 0, the least
    significant bit of the first byte being bit 7, the
    most significant bit of the second byte being bit 8,
    and so on. A one bit encodes that the condition was
    detected, while a zero bit encodes that the condition
    was not detected.
    This object is useful for alerting an operator to
    specific warning or error conditions that may
    occur,
    especially those requiring human intervention.
Working...