HPLJ2055dn printer return hrPrinterDetectedErrorState via SNMP OID = .1.3.6.1.2.1.25.3.5.1.2.1 which type is 'Hex-STRING' (typically 1 byte long represented by two octets) and interpreted as field of bits. The first idea to use my custom XML lookup file (with 'BitField' tags), and 'SNMP Custom String Lookup' sensor, but that sensor return me wrong value (' ' instead of sexadecimal string like '00' for example).
What is the right way to get proper value from hexadecimal strig typed SNMP OID ? And what is the optimal way to interpret each bit of it?
Thanks for answers.
Add comment