On Wed, 2005-05-25 at 15:46, Salsa wrote: > > Can you try the simplifications I suggested (taking > > the snmptrapd subagent behaviour and main subagent > > PING action out of the equation), and try running > > the master agent with the '-Dagent' debugging again.
> Ok, did that. Hope everything's right. I'm sending > two files which contain both outputs. It doesn't look as if you've turned off the subagent PING: > agentx/subagent: register ping alarm every 15 seconds > > It might be work running the subagent with similar > > debugging as well. That probably means tweaking the > > code to add suitable > > > > debug_register_tokens("agent"); > > snmp_set_do_debugging(1); Hmmm.... The debugging output from the subagent: > agentx_build: packet built okay > agentx_build: packet built okay > agentx_build: packet built okay is singularly unhelpful! Maybe it would be more useful to dump the raw packets instead. Try netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_DUMP_PACKET, 1); But there's no point in sending *all* the debug output of both sides. We're only interested in the debugging from immediately before through to immediately after the problem arises. A dozen packets either side should be sufficient. Dave ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ 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