[ZBX-7595] Long SNMP OID Not supported Created: 2013 Dec 28 Updated: 2017 May 30 Resolved: 2016 Sep 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.2.1 |
Fix Version/s: | 2.2.15rc1, 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Major |
Reporter: | Nick Zolot | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | item, oid, snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Hello, I have a problem with long SNMP OID item. The OID is: ifInUcastPkts.4194304000 If I will try snmpget from console, everything works fine: But in zabbix, item with this OID falls in "Not supported" status. The device is Huawei MA5680T chassis |
Comments |
Comment by Petr Petrovic [ 2014 Jun 27 ] |
Hello, When I try snmpwalk from console, it works fine: but snmpget of single value is not working: Execution of snmpwalk for IfIndexes returns following values: I'm using Zabbix 2.2.4 and NET-SNMP v. 5.5-49. The device is Huawei MA5603T. |
Comment by Nick Zolot [ 2014 Jun 27 ] |
Hello, Petr Petrovic. We've resolve this problem with our chassis. It isn't very good, but its working. If you would like to, we can have some conversation via email ( my email is [email protected], I'd like to speak about huawei devices, best practices, and some other stuff). snmpget -v 2c -c public ipaddress ifInOctets.4194304000, u'll get but if you'll use: Option "-Ir" stands for Hope, it will help you. And I'd really like to have conversation with you. Good luck! |
Comment by Pavel Savasin [ 2014 Sep 15 ] |
Hello. I have same problem with Huawei S5700, S5710 and S9703 swithes. |
Comment by Vladislavs Sokurenko [ 2016 Sep 02 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7595 Fix for OID higher than MAX_INT to be accepted. Tested SNMP OID: "ifInOctets.4194304000" Before fix: After fix: |
Comment by Andris Mednis [ 2016 Sep 21 ] |
(1) In zbx_snmp_print_oid() there is a check for netsnmp_ds_set_boolean() return code. In modified zbx_snmp_open_session() return code from netsnmp_ds_set_boolean() is not checked. I would recommend to add the check. vso RESOLVED in r62653. andris Reviewed. Please look into small changes r62679. vso Reviewed. Please look into small changes r62684. andris Thanks, reviewed. |
Comment by Vladislavs Sokurenko [ 2016 Sep 22 ] |
Merged in: |