Re: Duplicate SNMP requests

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Fri, 6 Jun 2008 17:28:01 +0530, Naveen G <[email protected]> said:

NG> SNMP agent is receiving duplicate SNMP Get and Set requests, which it has 
NG> processed earlier. There is no network activity to confirm that duplicate 
NG> requests are from SNMP manager.

Duplicate requests can easily happen both because a manager retransmits
requests because it thinks one got lost and because networks sometimes
duplicate packets while in flight to the destination (rare, but it
happens).

NG> Debugging does not show any call reaching snmp_resend_request() function. 
NG> Are there any other cases when SNMP agent sends the request to
NG> itself?

If the client is ours, and the 'retries' is set to 0 it shouldn't
resend.  If using a command line tool (eg, snmpget) then use -t 0 to
accomplish this.  If you want to see what it sends, add '-d' to show the
packets being sent (and you can easily count them ;-)
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.