I ran snmpd with logging and -Dagentx. Here is the error message I am seeing:
agentx_build: packet built okay agentx/master: FAILED 32 -12 Failure in sendto (Broken pipe) agentx/master: handle pdu (req=0x49d28177,trans=0x0,sess=0xd) agentx/master: in register_agentx_list agentx/master: registered ok agentx/master: send response, stat 0 (req=0x49d28177,trans=0x0,sess=0xd) agentx_build: packet built okay agentx/master: handle pdu (req=0x49d28177,trans=0x0,sess=0xd) agentx/master: in register_agentx_list netsnmp_assert !"registration != duplicate" failed /tmp/gate/src/packages/net-snmp/agent/agent_registry.c:542 netsnmp_subtree_load() This repeat several times. When all trap destinations are reachable, this error message does not occur. John On Wed, Jun 17, 2009 at 11:37 AM, John Forsyth<johnforsyth...@gmail.com> wrote: > I am running into an issue where several subagents lose their AgentX > connection to snmpd master, all giving the following error message: > > "AgentX master agent failed to respond to ping. Attempting to re-register" > > This occurs after they successfully connect to snmpd. > > I have two v3 inform destinations configured using the trapsess > derective in snmpd.conf: > > trapsess -v 3 -r 2 -t 15 -u <user> -l authNoPriv -A <pass> -a MD5 -Ci > 10.11.10.18 > trapsess -v 3 -r 2 -t 15 -u <user> -l authNoPriv -A <pass> -a MD5 -Ci > 10.11.10.19 > > The second one I eventually discovered, was un-reachable. > > When I removed this inform destination. the subagents did not lose > their connection. Also, if I set the retry & timeouts to 0 for the > un-reachable inform destination, the subagents do not lose their > connection. > > So, I am left with the conclusion that some how having a "bad" inform > destination effects the agentx connection between master and > subagents. > > I encounter the same issue whether I configure to use Unix domain > sockets, or TCP sockets for the AgentX connection. > > I realize that having an "un-reachable" trap destination configured is > not ideal. But, I would like to avoid having this effect the subagents > if possible. > > Any help is greatly appreciated. > > System: > Debian Linux, Net-Snmp 5.4.2 > > John > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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