snmpwalk vs snmpget

Vinod Nanjaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <174230991E95D743B0C91DF471EF44E84360394A73@MTW02MSG02.mindtree.com>
Dear experts,
I am able to do snmpwalk on a subagent that I have created.
It has two rows and snmpwalk lists both the rows with indexes 0 and 1.

On doing a snmpget (snmpget -v1 -cdemo localhost vpnIFIndex.0) for index 0 it fails with the following error message -
"vpnIFIndex.0: Unknown Object Identifier (Index out of range: 0 (vpnIFIndex))"

But snmpget with index 1 works fine.
Even with debug on (-D all) at the subagent I am not able to see any logs in the failure case.

Can you please let me know what could be going wrong?

Regards,
Vinod

________________________________
http://www.mindtree.com/email/disclaimer.html

------------------------------------------------------------------------------

_______________________________________________
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.