[ZBX-23200] NULL value in walk[] snmp item can break pre-processing Created: 2023 Aug 03 Updated: 2024 Dec 11 Resolved: 2023 Oct 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 6.4.5 |
Fix Version/s: | 6.4.8rc1, 7.0.0alpha7, 7.0 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Edgars Melveris | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023) | ||||||||||||
Story Points: | 2 |
Description |
When using SNMPWALK to JSON preprocessing step it breaks if we get an unexpected NULL anywhere before the OID's we're looking for: .1.3.6.1.2.1.10.7.2.1.15.1 = NULL .1.3.6.1.2.1.31.1.1.1.1.1 = STRING: wan1 .1.3.6.1.2.1.31.1.1.1.1.2 = STRING: wan2 I'm looking for OID .1.3.6.1.2.1.31.1.1.1.1 here, but error states that: no data was found At the same time, this works fine:
.1.3.6.1.2.1.10.7.2.1.15.1 = null
.1.3.6.1.2.1.31.1.1.1.1.1 = STRING: wan1
.1.3.6.1.2.1.31.1.1.1.1.2 = STRING: wan2
And also this works: .1.3.6.1.2.1.10.7.2.1.15.1 = STRING: NULL .1.3.6.1.2.1.31.1.1.1.1.1 = STRING: wan1 .1.3.6.1.2.1.31.1.1.1.1.2 = STRING: wan2 This can probably be considered incorrect output from the device, but still we should not break monitoring of anything else because of this. Probably related to: |
Comments |
Comment by Edgars Melveris [ 2023 Aug 17 ] |
(1) Another case where things fail:
unable to extract value for given OID: invalid OID format
Collected value that causes this: .1.3.6.1.2.1.1.1.0 = STRING: Company Operating System Version: 2.0 Application Software Version: 9.14(2.10) Series: Z9100-ON Build Time: Fri Jun 25 11:51:00 2021 .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.6027.1.5.2 .1.3.6.1.2.1.1.3.0 = 2149312752 .1.3.6.1.2.1.1.4.0 = STRING: [email protected] .1.3.6.1.2.1.1.5.0 = STRING: USRRX02-MD-0101-SS02 .1.3.6.1.2.1.1.6.0 = STRING: Location .1.3.6.1.2.1.1.7.0 = INTEGER: 6 .1.3.6.1.6.3.10.2.1.3.0 = INTEGER: 21493089 wiper: Was the value obtained from snmp agent or sent through trapper ? zux It was received via snmp agent asitals: RESOLVED in 7fb38a5fe4b |
Comment by Andrejs Sitals (Inactive) [ 2023 Sep 15 ] |
Fixed in development branch feature/ZBX-23200-6.4 |
Comment by Andris Zeila [ 2023 Oct 09 ] |
Released
|