problem with snmpbulkget

Martin Townsend <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Power Oasis
Message-ID <[email protected]>
Hi,

I am seeing a problem sending BULKGET snmp messages for non-repeater 
values.  If you specify the instance number then it retrieves the 
incorrect value.

e.g. using snmpbulkget on our router.
root@ts7800:snmpd# snmpbulkget -v2c -Cn2 -Cr0 -c public 192.168.0.1 
sysLocation.0 ifIndex.1
SNMPv2-MIB::sysServices.0 = INTEGER: 78
IF-MIB::ifIndex.2 = INTEGER: 2

for some reason it is retrieving the next OID in the tree, ie 
sysServices.0 instead of sysLocation.0, ifIndex.2 instead of ifIndex.1


yet if I use no instance numbers.
root@ts7800:snmpd# snmpbulkget -v2c -Cn2 -Cr0 -c public 192.168.0.1 
sysLocation ifIndex
SNMPv2-MIB::sysLocation.0 = STRING: UK
IF-MIB::ifIndex.1 = INTEGER: 1
it's fine.

I've built the library from the latest 5.5 sources.  Does anyone else 
see this? is it a bug or am I missing something?

Best Regards,
Martin.


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.