HPLJ2055dn printer return hrPrinterDetectedErrorState via SNMP OID = .220.127.116.11.18.104.22.168.22.214.171.124 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.