Hi
Our product has net-snmp 5.4.1 as the agent, which we ported
and added our config APIs.
We are seeing a problem when snmpgetnext is issued with
multiple varbinds, and table index is one of the objects being requested. It
works fine if an index object is not there in the var binds.
In the following request, we are querying for getnext of (ifDescr.2,
ifindex.6, ifDescr.4).
How ever the response has ifDescr.3 and its value(the value is wrong), but it
skips the 3 rd object in the request and returns ipDefaultTTL.
Wanted to know if any of you know of a similar problem and
if so, the fix. Could it be a problem with net-snmp agent or our porting and
other changes?
C:\>snmpgetnext -v 2c -c public 10.131.16.108
.1.3.6.1.2.1.2.2.1.2.2 .1.3.6.1.2.1.2.2.1.1.6 .1.3.6.1.2.1.2.2.1.2.4
IF-MIB::ifDescr.3 = STRING: Slot: 0 Port: 7 10/100 Copper -
Level
IF-MIB::ifIndex.7 = INTEGER: 7
IP-MIB::ipDefaultTTL.0 = INTEGER: 0
Any help is greatly appreciated.
Regards,Krish
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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