On Tue, 2005-05-24 at 17:31, Robert Story wrote: > On Tue, 24 May 2005 08:42:35 -0700 (PDT) Salsa wrote: > S> Snmptrapd was indeed running and received > S> traps until my subagent stopped. Then it said that it > S> lost connection and tried to ping and reconnect.
Was that your subagent that lost connection and tried to ping, or the snmptrapd process (which also runs as a subagent)? > So the sub-agent detects a failed ping... it sounds like the > master get busy for some reason. It the master being polled by > some process? Is there a load spike right before the disconnect? Another possibility is a conflict between agent->master and master->agent communication. Is the master agent receiving SNMP requests from other management tools? Particularly requests that might be passed to the subagent? If the master agent is trying to send a GET* query at the same time that the subagent is trying to send a trap, then things might possibly get confused. (I'm thinking of the outstanding thread "agent crash when proxying for Squid" from the beginning of the month). Or maybe it's trap and ping requests getting confused. If you set the master agent to dump requests, what's the last thing that happens before it crashes? > Try running the agent with debug and time-stamps to try and establish a > time-line for reproducing the problem. In your snmpd.conf, add: > > [snmp] doDebugging 1 > [snmp] debugTokens agent > [snmp] logTimestamp true I agree with Robert - the most important thing is to try and determine exactly what happens immediately before the master agent dies. If you're having problems with the snmpd.conf tokens, try running the agent as snmpd -f -Le -Dagent (which should have the same effect, I think). Or you could try snmpd -f -Le -d which would concentrate on the traffic seen by the master agent. Dave ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ 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