-
Type:
Incident report
-
Resolution: Cannot Reproduce
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:The server is running zabbix proxy 4.4.10 on FreeBSD 12.1-RELEASE amd64. The printer is an HP Color LaserJet Flow E67660.
Steps to reproduce:
I have a zabbix template for the HP Color LaserJet Flow E67660 network printer and one of the applications is for printer supplies which included different types of toner. There are items for supply levels (snmp), supply max capacity levels (snmp) and supply levels remaining (calculated). There are six different supplies for each of these three.
The only problem is with a few of them that have special characters in the values like ", and ( and )". I've figured out how to escape '.', but not these other characters. Here is the output from the zabbix proxy server from cli when querying the printer.
# snmpwalk -Ox -Oa -v 2c -c public printer SNMPv2-SMI::mib-2.43.11.1.1.6 SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = STRING: "Black Cartridge HP 655A (CF450A)." SNMPv2-SMI::mib-2.43.11.1.1.6.1.2 = STRING: "Cyan Cartridge HP 655A (CF451A)." SNMPv2-SMI::mib-2.43.11.1.1.6.1.3 = STRING: "Magenta Cartridge HP 655A (CF453A)." SNMPv2-SMI::mib-2.43.11.1.1.6.1.4 = STRING: "Yellow Cartridge HP 655A (CF452A)." SNMPv2-SMI::mib-2.43.11.1.1.6.1.5 = STRING: "Transfer Kit HP P1B93A." SNMPv2-SMI::mib-2.43.11.1.1.6.1.6 = STRING: "Fuser Kit HP 110V-P1B91A, 220V-P1B92A." SNMPv2-SMI::mib-2.43.11.1.1.6.1.7 = STRING: "Toner Collection Unit HP P1B94A." SNMPv2-SMI::mib-2.43.11.1.1.6.1.8 = STRING: "Document Feeder Kit HP J8J95A." SNMPv2-SMI::mib-2.43.11.1.1.6.1.9 = STRING: "Clean Document Feeder Rollers HP None." SNMPv2-SMI::mib-2.43.11.1.1.6.1.10 = STRING: "Stapler 1 HP J8J96A."
- I will put screenshots of one example for the black toner.
Result:
- I will put screenshots of one example for the black toner.
Expected:
I plan on having it display the percentage without error.
See attached patch file...