Dear NetSnmp, in Function: subagent_register_ping_alarm:
if (ss) { if (ss->securityModel != SNMP_DEFAULT_SECMODEL) { DEBUGMSGTL(("agentx/subagent", "unregister existing alarm %d\n", ss->securityModel)); snmp_alarm_unregister(ss->securityModel); } DEBUGMSGTL(("agentx/subagent", "register ping alarm every %d seconds\n", ping_interval)); /* * we re-use the securityModel parameter for an alarm stash, * since agentx doesn't need it */ ss->securityModel = snmp_alarm_register(ping_interval, SA_REPEAT, agentx_check_session, ss); } > Problem: securityModel seems to be overwritten by SNMP_SEC_MODEL_USM (=3) even though the agent runs as an AgentX subagent. If the agent happens to have allocated a timer with id 3 before, (which is not this ping_interval timer), that timer will be unregistered here. This Problem occured in Net-SNMP version 5.3.0.1. > regards > ingo > [*****]TELES AG > > Postfach 11 07 60 > D-10837 Berlin > > fon: (+49) 30-399 28 1645 > e-mail: [EMAIL PROTECTED] > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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