[ZBXNEXT-1888] allow to force parsing values as hex strings Created: 2013 Sep 03  Updated: 2013 Nov 19  Resolved: 2013 Nov 19

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: hexadecimal, snmp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-505 support hex and octal conversion to t... Closed

 Description   

since ZBX-4793, zabbix looks at display-hint. net-snmp also has an option to force always displaying string values as asci strings.

-Oa Display string values as ASCII strings (unless there is a DISPLAY-HINT defined for the corresponding MIB object). By default, the library attempts to determine whether the value is a printable or binary string, and displays it accordingly.
This option does not affect objects that do have a Display Hint.

it would be useful to have item-level checkbox for such an option - usecase being hp laserjet printers. for example :

$ snmpwalk ... host .1.3.6.1.2.1.43.11.1.1.6.1.1
SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = Hex-STRING: 42 6C 61 63 6B 20 43 61 72 74 72 69 64 67 65 20
48 50 20 43 45 32 36 30 41 00
$ snmpwalk-Oa ... host .1.3.6.1.2.1.43.11.1.1.6.1.1
SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = STRING: "Black Cartridge HP CE260A."


Generated at Fri Apr 25 07:59:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.