[ZBX-4054] Discovery of sysObjectID doesn't work Created: 2011 Aug 17 Updated: 2017 May 30 Resolved: 2014 Nov 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.8.6, 1.8.13, 2.0.1rc1 |
Fix Version/s: | 2.2.8rc1, 2.4.3rc1, 2.5.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Michael Schwartzkopff | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 9 |
Labels: | snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
SLES 11.1 |
Attachments: |
![]() ![]() ![]() |
||||||||||||||||||||
Issue Links: |
|
Description |
When I create a SNMP discovery rule to get the sysObjectID.0 of hosts nothing is displayed in Monitoring->Discovery. There is no column called sysObjectID.0. Thus I also cannot create discovery actions based on that data. I can get sysName.0 with SNMP without problems. Perhaps the cause might be that the sysObjectID.0 is of type OID, not of type string. |
Comments |
Comment by Michael Schwartzkopff [ 2011 Aug 22 ] |
Well, I have a 1.8.5 installed from Open Suse build server. And I have the error in 1.8.5 |
Comment by Michael Schwartzkopff [ 2011 Dec 27 ] |
Problem is still not solved. But the issue is important. The sysObjectID is the OID to characterize new discovered systems in the wild. |
Comment by Alexander Litvinenko [ 2011 Dec 28 ] |
Also, when querying device (cisco) for OID .1.3.6.1.2.1.1.2.0 (sysObjectID.0) item status get's to "Not supported" and no data retrieved. Same with OID .1.3.6.1.2.1.1.5 (sysName.0). Note, that snmpwalk gets data from device. Network discovery also not working with this OID's. OS: Debian Squeeze |
Comment by Dmytro O. Redchuk [ 2012 Jan 24 ] |
Hi, This seems to be related. |
Comment by dimir [ 2012 Jan 26 ] |
Seems pretty easy to fix. But not sure we can afford that before 2.0. |
Comment by Dmytro O. Redchuk [ 2012 Jan 26 ] |
Would be really great to see this fixed in 2.0. |
Comment by Oleksii Zagorskyi [ 2012 Jun 14 ] |
Probably related forum thread (russian) http://www.zabbix.com/forum/showthread.php?t=26264&highlight=0x06 |
Comment by G Schwartz [ 2012 Aug 26 ] |
issue confirmed in 2.0.2 compiled on latest debian release |
Comment by Evan Hoffman [ 2013 Apr 24 ] |
This is still present on 2.0.4 and makes the disk usage templates a lot less useful since alerts are triggered when the volume "Real Memory" has less than 20% free, and there appears to be no way to filter this out if Zabbix doesn't handle OIDs as return values. |
Comment by richlv [ 2013 Sep 23 ] |
for the record, debuglevel4 returns : discovery: item [SNMPv2-MIB::sysObjectID.0] error: Value has unknown type 0x06 |
Comment by richlv [ 2013 Sep 23 ] |
(1) we should also document which versions support which types asaveljevs Documented at the following locations:
RESOLVED wiper Added 2.4.3 version requirements to 2.4, 3.0 documentation, please review asaveljevs Added 2.4.2 to notes regarding wiper CLOSED |
Comment by richlv [ 2013 Sep 23 ] |
it not appearing at all is related to |
Comment by richlv [ 2013 Sep 23 ] |
confirming in 2.0 branch r38714 |
Comment by Oleksii Zagorskyi [ 2014 Jun 11 ] |
Still true for 2.2.3 |
Comment by James Cook [ 2014 Aug 11 ] |
Were experiencing the same issue here. In this case were monitoring a LIEBERT Air Conditioner that uses a SNMP table to store temperatures with the table row field lgpEnvTemperatureDescrDegC containing a reference to OID with a measurement description ie: LIEBERT-GP-ENVIRONMENTAL-MIB::lgpEnvTemperatureDescrDegC.1 = OID: LIEBERT-GP-ENVIRONMENTAL-MIB::lgpEnvControlTemperature Is there any movement on this as were using 2.2.5 and it still is unable to pick this up? |
Comment by Pierre Gingras [ 2014 Oct 06 ] |
I have solved the problem. I have included the file check_snmp.c which return the OID as a string. |
Comment by dimir [ 2014 Oct 07 ] |
Could you please attach it as a patch instead? |
Comment by Pierre Gingras [ 2014 Oct 07 ] |
I do not know how to generate a patch, if you can give me a clue, than I will do it. |
Comment by Marc [ 2014 Oct 07 ] |
pgin, this is one way to get a patch: [foo@example zabbix-2.4.0]$ cp -a src/zabbix_server/poller/checks_snmp.c src/zabbix_server/poller/checks_snmp.c.orig [foo@example zabbix-2.4.0]$ diff -u src/zabbix_server/poller/checks_snmp.c.orig src/zabbix_server/poller/checks_snmp.c > /tmp/checks_snmp.c.patch |
Comment by Pierre Gingras [ 2014 Oct 07 ] |
Here is the checks_snmp.c.patch |
Comment by Aleksandrs Saveljevs [ 2014 Nov 03 ] |
Available in development branch svn://svn.zabbix.com/branches/dev/ZBX-4054 . |
Comment by Andris Zeila [ 2014 Nov 03 ] |
Successfully tested |
Comment by Aleksandrs Saveljevs [ 2014 Nov 04 ] |
Available in pre-2.2.8 r50381. Merging into higher versions has to wait until 2.4.2 is released and 2.4 branch is unfrozen. |
Comment by Aleksandrs Saveljevs [ 2014 Nov 05 ] |
Available in pre-2.4.3 r50435 and pre-2.5.0 (trunk) r50436. |
Comment by Aleksandrs Saveljevs [ 2014 Nov 05 ] |
(2) Documented in "What's new":
wiper CLOSED |