On Thu, 6 Apr 2006 11:09:41 +0100 Oscar, VF UK wrote: AOVU> Hi I'm using Net-SNMP v 5.1.2 on RedHat RHEL4 and I've experienced the AOVU> following problem: AOVU> AOVU> I have defined a timer in a Net-SNMP agentx subagent using the AOVU> snmp_alarm_register that works well if the master agent is running. The AOVU> problem is that if I restart the master agent, the timer in the subagent AOVU> stops working, that is the callback function is not called any more.
Have you tried a more recent release? I'm guessing that the sub-agent main loop is only doing timer processing after receiving data from the master agent. It should be doing it after timeouts as well. What does your sub-agent main loop look like? -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. 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. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders