>>>>> On Mon, 22 Mar 2010 19:47:50 +0530, Ashish vashishtha >>>>> <ashish.vashish...@gmail.com> said:
Av> i am trying to set the ping interval in the application by Av> netsnmp_ds_set_int(NETSNMP_DS_APPLICATION_ID, Av> NETSNMP_DS_AGENT_AGENTX_PING_INTERVAL,1); Av> but still it is not working and it is trying to reconnect after 15 Av> sec. Are you sure there is no other location that it might be getting a ping interval from? Like a configuration file? The other thing is that the above function call doesn't reset the alarm timer and thus if the ping alarm is already registered the above won't over-ride it. See subagent_register_ping_alarm in agent/mibgroup/agentx/subagent.c if you want to fix it. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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