snmpwalk gives different results at different times

Anjali Riat <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF14D99AF9.A329A84A-ON6525721D.006B7230-6525721D.006B7236@hsc.com>
Hi,
I am using net-snmp 5.3.1. I have implementedd
sub-agent talking to snmpd daemon (master agent) via
agentX protocol.

At times, on performing an snmpwalk on a table paramter implemented by the agent, I receive 0's for all the parameters.

snmpwalk -c public localhost .1.3.6.1.4.1.303.3.3.42.6.2.7
returns -
MY-MIB::7.1.1.1 = INTEGER: 0
MY-MIB::7.1.1.2 = INTEGER: 0
MY-MIB::7.1.1.3 = INTEGER: 0
MY-MIB::7.1.1.4 = INTEGER: 0 ...

at the same time, an snmpgetnext command returns the correct value of the parameter -
snmpgetnext -c public localhost MY-MIB::7.1.1.1
MY-MIB::7.1.1.2 = INTEGER: 3

I have added log messages in the "get" methods of my parameters and checked that the same code is being hit for both requests.

At other times, my snmpwalk command works fine, and returns the correct values for each of the parameters. I am not sure if this is a bug in my initialization ( then why the different behaviour at different times of execution??), or if it is a problem in my configuration, or even with net SNMP??

Thank and Regards,
Anjali

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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