snmpget with multiple oid query fails for table structures
Samitha Wijedasa <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to get multiple oid query responses in a single snmpget as follows from a table structure that is designed to facilitate two wifi modules. The last digit identify the particular wifi module I'm querying at the moment. In this case the module 1. snmpget -v 2c -t 2 -m "" -c public 192.168.0.105 .1.3.6.1.4.1.xxxxx.2.5.85.1.2.1 .1.3.6.1.4.1.xxxxx.2.5.85.1.3.1 iso.3.6.1.4.1.xxxxx.2.5.85.1.2.1 = STRING: "SSSSS" iso.3.6.1.4.1.xxxxx.2.5.85.1.3.1 = No Such Instance currently exists at this OID I'm getting the response as above. The response is also interchanged. I.e. 1.3.6.1.4.1.xxxxx.2.5.85.1.3.1 should be the SSID name not .1.3.6.1.4.1.xxxxx.2.5.85.1.2.1. I generated my code using mib2c and tested with tables that is implemented based on mib2c.container.conf and mib2c.iterate.conf. Both show the same problem. But for the scalar implementation it works without a problemand individual queries for the table structure also works fine. Thanks Samitha ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users