Re: Response is coming two times for a request!

2006-03-02 Thread Dave Shield
On Tue, 2006-02-28 at 18:34 +0530, Rustagi, Sandeep (Sandeep) wrote:

 When I am querying the snmpget on sysUpTime of linux machine using the
 following command:
 
 snmpget -c public 172.16.131.71 system.sysUpTime.0
 
 I see the requests coming two times in the ethereal and responses
 also two times. 

Perhaps the response is simply taking too long to arrive, and the
snmpget command is retrying the request before the first response
arrives.

Try
snmpget -c public -t 20 172.16.131.71 system.sysUpTime.0

or
snmpget -c public -r 0  172.16.131.71 system.sysUpTime.0

Dave


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Response is coming two times for a request!

2006-02-28 Thread Rustagi, Sandeep (Sandeep)
Hi,

I have master agent and sub agent running on Linux OS using the
net-snmp. I am trying to do snmpget/snmpset or snmpwalk on the
system OIDs from Solaris 2.9
IP address of my linux box is 172.16.131.71

When I am querying the snmpget on sysUpTime of linux machine using the
following
command:

snmpget -c public 172.16.131.71 system.sysUpTime.0

I see the requests coming two times in the ethereal and responses
also two times. 
Is some configuration needs to be done to avoid the get requests two times?
But from the terminal where I have issued the command, I see the response
only one time.

Thanks in advance.

Thanks and Rgds,
Sandeep


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users