SNMP returns hexadecimal values

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Server (S)
    • None

      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.

      http://www.zabbix.com/forum/showthread.php?t=7544

            Assignee:
            Unassigned
            Reporter:
            Alexei Vladishev
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: