Hi All,

This is regarding an issue of duplicate trap entries being received for 
every trap sent
using send_v2trap().

The below was a mail thread  I found which discussed the issue of 
duplicate trap entries
being received, which was answered by Robert Story/Dave Shield/Canann. 
Now I am
also facing the exact same problem, but even if I add 3 seconds timeout 
in "subagent.conf"
file (and even tried by specifying it in snmpd.conf file) like,

agentXTimeout 3

I kept increasing the timeout upto 1200 secs, but still I am receiving 
duplicate traps.
I am not sure what else can be the issue, kindly help me in this regard.

Thanks,
Senthil.

 >>>>

http://osdir.com/ml/network.net-snmp.devel/2003-09/msg00246.html

Thanks for your help. That seemed to fix the problem. I added 3 seconds 
to the expire time.

Robert Story wrote:

    On Fri, 26 Sep 2003 14:30:50 -0600 Canann, wrote:
    CM> It looks like my problem is subagent is sending traps quicker
    than the
    CM> agent(snmpd.exe) can send them out to the trapsinks an respond
    to the
    CM> subagent. So there is a queue of packets the subagent is
    expecting to get
    CM> responses on. So the subagent then resends all of the packets in
    that
    CM> queue.
    CM> CM> Is there a nice way to turn off the retrys from the subagent
    to the agent?
    Not really. You might be able to increase the timeout, but I don't
    think you
    can turn off retries.

    You could try and change the agent to send a response to the
    subagent before it
    tries sending the traps, but that might just delay the issue.
    <<<<


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to