Re: snmpset Request issued second time automatically

2010-04-23 Thread Harish
Hi,

Check out retry attempt set in the code.






















Men seek to understand and conquer technology. Women want technology to 
benefit them.
- Original Message - 
From: Mike Ayers mike_ay...@tva.tvworks.com
To: Ajeet Gupta mailajeetgu...@gmail.com; 
net-snmp-users@lists.sourceforge.net
Sent: Thursday, April 22, 2010 10:18 PM
Subject: RE: snmpset Request issued second time automatically


 From: Ajeet Gupta [mailto:mailajeetgu...@gmail.com]
 Sent: Thursday, April 22, 2010 12:56 AM

 Situation is something like this, SNMP Manager issues a snmpset command
 on a managed object residing on SNMP Agent. Now the issuing of this
 command is done only once, but on the other end snmp Agent is recieving
 this set request two times, However the set command is fired only once.

 If you have any pointer that how this set command is duplicated or this
 is the consequence of some retry related to timeout (If Yes, then how
 to control it), then please reply back...

 This is standard behavior.  If the command takes a little while to process 
 the request may be retried.  The agent recognizes the retry of a request 
 already in progress and discards it.  There is nothing to fix.

 Any SNMP primer will discuss this issue.  Look at the snmpcmd manpage for 
 ways to control the timeout duration and number of retries.


 HTH,

 Mike

 --
 ___
 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
 


--
___
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


RE: snmpset Request issued second time automatically

2010-04-22 Thread Mike Ayers
 From: Ajeet Gupta [mailto:mailajeetgu...@gmail.com]
 Sent: Thursday, April 22, 2010 12:56 AM

 Situation is something like this, SNMP Manager issues a snmpset command
 on a managed object residing on SNMP Agent. Now the issuing of this
 command is done only once, but on the other end snmp Agent is recieving
 this set request two times, However the set command is fired only once.
 
 If you have any pointer that how this set command is duplicated or this
 is the consequence of some retry related to timeout (If Yes, then how
 to control it), then please reply back...

This is standard behavior.  If the command takes a little while to 
process the request may be retried.  The agent recognizes the retry of a 
request already in progress and discards it.  There is nothing to fix.

Any SNMP primer will discuss this issue.  Look at the snmpcmd manpage 
for ways to control the timeout duration and number of retries.


HTH,

Mike

--
___
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