Using tools I can SNMPWalk an OID and get a TEXT response. Typically this is on our HP laser printers, Toner Model Name'.
When I use Ubuntu 20.04 with SNMP, the data is retrieved as HEX with spaces (e.g. A5 D5 2C etc.). Translated in a converter, the HEX is the text I'm after to appear in Zabbix (item data). Of course, Zabbix relies on SNMP on the host for the data. Pre-processing in Zabbix will allow conversion only to Decimal (numeric).
My question is.. Is there a way to pre-process or convert the HEX (with spaces) OID data in a Zabbix so that it is stored as TEXT (e.g. ASCII).
Any help appreciated.
When I use Ubuntu 20.04 with SNMP, the data is retrieved as HEX with spaces (e.g. A5 D5 2C etc.). Translated in a converter, the HEX is the text I'm after to appear in Zabbix (item data). Of course, Zabbix relies on SNMP on the host for the data. Pre-processing in Zabbix will allow conversion only to Decimal (numeric).
My question is.. Is there a way to pre-process or convert the HEX (with spaces) OID data in a Zabbix so that it is stored as TEXT (e.g. ASCII).
Any help appreciated.
Comment