[ZBX-25559] SNMP Async poller receives HEX-STRING as UTF-8 text Created: 2024 Nov 19 Updated: 2024 Nov 21 Resolved: 2024 Nov 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 7.0.5 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Nick | Assignee: | Zabbix Support Team |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
debian 12, NET-SNMP version: 5.9.3 |
Attachments: |
![]() ![]() |
Description |
While using async poller zabbix convert HEX-STRING to UTF-8 text automatically in some devices. For example this problem from D-Link DES-3200-28 snmpget -v2c -c public -d 10.10.0.2 iso.0.8802.1.1.2.1.3.2.0 Sending 45 bytes to UDP: [10.10.0.2]:161->[0.0.0.0]:44300 0000: 30 2B 02 01 01 04 06 70 75 62 6C 69 63 A0 1E 02 0+.....public... 0016: 04 5A 34 60 00 02 01 00 02 01 00 30 10 30 0E 06 .Z4`.......0.0.. 0032: 0A 28 C4 62 01 01 02 01 03 02 00 05 00 .(.b......... Received 57 byte packet from UDP: [10.10.0.2]:161->[0.0.0.0]:44300 0000: 30 82 00 35 02 01 01 04 06 70 75 62 6C 69 63 A2 0..5.....public. 0016: 82 00 26 02 04 5A 34 60 00 02 01 00 02 01 00 30 ..&..Z4`.......0 0032: 82 00 16 30 14 06 0A 28 C4 62 01 01 02 01 03 02 ...0...(.b...... 0048: 00 04 06 5C D9 98 40 D0 A0 ...\..@.. iso.0.8802.1.1.2.1.3.2.0 = Hex-STRING: 5C D9 98 40 D0 A0 SNMP OID: get[iso.0.8802.1.1.2.1.3.2.0]
in classic sync poller works without problems SNMP OID: iso.0.8802.1.1.2.1.3.2.0
|
Comments |
Comment by Vladislavs Sokurenko [ 2024 Nov 19 ] |
Thank you for your report, this is usually indication that MIB files are not installed, is that the case ? |
Comment by Nick [ 2024 Nov 19 ] |
installed used this command {{}} apt install snmp-mibs-downloader download-mibs {{}} |
Comment by Vladislavs Sokurenko [ 2024 Nov 19 ] |
Please try with snmptranslate -Td iso.0.8802.1.1.2.1.3.2.0 |
Comment by Nick [ 2024 Nov 19 ] |
snmptranslate -Td iso.0.8802.1.1.2.1.3.2.0 iso.0.8802.1.1.2.1.3.2.0 iso OBJECT-TYPE -- FROM #-1 ::= { iso(1) 0 8802 1 1 2 1 3 2 0 } |
Comment by Vladislavs Sokurenko [ 2024 Nov 19 ] |
It means OID is not installed and there are not hints whether it should be in HEX or UTF-8 |
Comment by Edgar Akhmetshin [ 2024 Nov 21 ] |
Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] |