[ZBX-6370] LLD with decreasing OID numbers does not work Created: 2013 Mar 09 Updated: 2017 May 30 Resolved: 2016 Jul 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.0.6rc1 |
Fix Version/s: | 3.0.4rc1, 3.2.0alpha1 |
Type: | Incident report | Priority: | Major |
Reporter: | Róbert Szénásy | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 12 |
Labels: | lld, oid, snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Freebsd |
Attachments: | error screen.gif full walk.txt without-oid-not-increasing-check.patch | ||||||||||||||||
Issue Links: |
|
Description |
Hi there ! I have a problem, and cannot solve it. ITC_ZABBIX# snmpwalk -v 1 -c public -m RAD-MIB 172.32.1.30 sysBufferAlrIdx The index id decreasing. Attached the full walk (with SnmpB) and the error screen. Have you any suggestion how to read the values wiht LLD ? Thank. Bob |
Comments |
Comment by Róbert Szénásy [ 2013 Apr 18 ] |
Not yet seen by anyone ? |
Comment by Thomas Wouters [ 2013 Apr 19 ] |
An option to allow decreasing OID's would be nice. |
Comment by Renato de Oliveira Diogo [ 2013 Sep 19 ] |
My device (Mikrotik Router) results ramdom too. Ubuntu 12.04.2, zabbix 2.0.6 |
Comment by Diego Luisi [ 2013 Oct 31 ] |
I have the same problem in Sonicwall, Centos 6, Zabbix 2.0.6 I have to put snmpwalk -Cc |
Comment by Thomas Wouters [ 2013 Nov 01 ] |
Diego, SonicWALL has a firmware update which fixes the order of (some?) SNMP results. |
Comment by Róbert Szénásy [ 2013 Nov 02 ] |
Hi ! Where did you put the snmpwal -Cc ? |
Comment by Diego Luisi [ 2013 Nov 04 ] |
Hi, snmpwalk -Cc -v2c -c public 192.XXX.XXX.XX 1.3.6.1.4.1.XXX.X.X.X.X.X Thomas Wouters can you send me the new firmware? Thanks! |
Comment by Philipp Jakubowski [ 2014 Sep 17 ] |
Hi all, this error is really anoying. Any suggestions for a workaround? Thanks, |
Comment by Róbert Szénásy [ 2014 Sep 17 ] |
The time is spending. I think the problem is located deep in LLD routin. We are still hopeing... |
Comment by Aleksandrs Saveljevs [ 2014 Sep 18 ] |
Attached is a patch that disables the check for OIDs being increasing during SNMP walk for Zabbix 2.2.6. We do not have the hardware to test, but it seems like it could work. Please let us know your experience. |
Comment by Denis Pozdnyakov [ 2014 Nov 05 ] |
Hello |
Comment by Oleksii Zagorskyi [ 2015 Sep 18 ] |
Let's change status to CONFIRMED. |
Comment by Joakim Plate [ 2016 Feb 16 ] |
See the same issue with a netgear (WNAP210) WIFI accesspoint:
|
Comment by Andris Mednis [ 2016 Jun 20 ] |
Proposed patch disables "OID not increasing" check in Zabbix. The patch helps in case if the only problem with an SNMP device is OID order. However, the patch introduces the risk of endless looping in Zabbix poller process (and apparently memory leak) if an SNMP device is returning OIDs in a loop ("OID not increasing" check prevents this scenario). |
Comment by Andris Mednis [ 2016 Jun 30 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6370 . Implemented solution: initially the "OID increase check" is active. If a smaller OID arrives then the "OID increase check" is deactivated and the OID is accepted and stored in memory. The following OIDs are accepted regardless of order and stored. If any OID is seen twice then a loop is detected and LLD rule becomes NOTSUPPORTED. Up to 1 million OIDs can be stored before LLD is NOTSUPPORTED . Hopefully it will help to deal with problematic SNMP devices. |
Comment by Alexander Vladishev [ 2016 Jul 01 ] |
Successfully tested! Have a look at my changes in r60850 before a merge. andris Thanks! Reviewed, accepted. |
Comment by Andris Mednis [ 2016 Jul 01 ] |
While this ZBX is about LLD with decreasing OID numbers it also fixes monitoring of an SNMP item with dynamic index - now it does not stop with "OID not increasing". Could not find a separate ZBX on that issue. |
Comment by Andris Mednis [ 2016 Jul 01 ] |
Fixed in versions:
|
Comment by Andris Mednis [ 2016 Jul 04 ] |
Documented in sasha Reviewed. CLOSED |