On Wed, 02 Feb 2005 07:18:39 -0700 Kalpana wrote:
KS> Yeah all 200 or so traps generated will be received successfully.
KS> Sometime I could go till 500 traps generation. Its really random it
KS> stops generating traps.

Are the traps generated really quickly and real close together?

KS> Now this time on console I get following messages appear when traps
KS> been stops sending.
KS> 
KS> snmpd: send_trap: Session about failure
KS> snmpd: send_trap: Failure in sednto (No such file or directory)
KS> AgentX master agent failed to respond to ping. Attempting to
KS> re-register.

Does it successfully re-register? It should try every 15 seconds.

KS> When I again restart the master agent and also our subagent things work
KS> fine. The issue is it does not even live for long say sometime for 100
KS> traps itself it stops sending traps.

I'd say run bot the master and sub-agent with debug (specifically the 'agentx'
token), and see if that reveals anything interesting. Adding 'logTimeStamp
true' to /usr/local/share/snmp.conf (not snmpd.conf) will help.

My best guess is that the subagent generates lots of traps very suddenly, and
sends them to the master. The master then goes about trying to send the traps,
and ignores the subagent while doing so. The subagent then thinks the master is
dead, and disconnects. However, it should recover.

It would also be helpful if you could try and test using the latest release
(5.2.1). If that works, then looking at the recent changes might identify and
easy fix to backport to 5.2.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to