[ZBX-25235] NDR SNMPv2c checks fail after upgrade from 6.0.31 to 7.0.3: 'Invalid SNMP OID' Created: 2024 Sep 14 Updated: 2024 Sep 14 Resolved: 2024 Sep 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 7.0.3 |
Fix Version/s: | None |
Type: | Patch request | Priority: | Trivial |
Reporter: | Galo Xucro | Assignee: | Zabbix Support Team |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 22.04 |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
Description |
Description:
Result: See proxy's log file...
3868157:20240913:100104.810 [2] discovery_snmp() ip:10.193.6.252 port:161, key:SNMPv2-MIB::sysDescr.0 ret:-7 3868157:20240913:100104.811 In zbx_async_check_snmp() key:'SNMPv2-MIB::sysDescr.0' host:'' addr:'10.193.6.253' 3868157:20240913:100104.811 End of zbx_async_check_snmp():CONFIG_ERROR 3868157:20240913:100104.811 [2] discovery_snmp() ip:10.193.6.253 port:161, key:SNMPv2-MIB::sysDescr.0 ret:-7 3868157:20240913:100104.812 In zbx_async_check_snmp() key:'SNMPv2-MIB::sysDescr.0' host:'' addr:'10.193.6.254' 3868157:20240913:100104.812 End of zbx_async_check_snmp():CONFIG_ERROR 3868157:20240913:100104.812 [2] discovery_snmp() ip:10.193.6.254 port:161, key:SNMPv2-MIB::sysDescr.0 ret:-7 3868157:20240913:100104.813 [2] In discoverer_results_partrange_merge() src:253 dst:970 3868157:20240913:100104.813 [2] End of discoverer_results_partrange_merge() src:0 dst:1223 3868157:20240913:100104.813 [2] discovery_net_check_result_flush() results:0 saved:253 ret:0 3868157:20240913:100104.814 [2] In discovery_async_poller_destroy() 3868157:20240913:100104.814 [2] End of discovery_async_poller_destroy()
And then: I managed to contour the issue by changing the symbolic OIDs to numeric ones:
There's nothing in the manual stating that numeric OIDs must be used in SNMP checks. I'm guessing that in version 7.0.3, zbx_snmp_translate() is not being called where and when it should be. |
Comments |
Comment by Alexey Pustovalov [ 2024 Sep 14 ] |
Duplicate of |