On Wed, 10 Oct 2007 05:52:35 -0400 Senthil wrote: SN> Here with i have attached my file,we are using the SNMP agent ,external to the system. SN> We created the thread , which calls the master agent.
Looking at the code, I think you mean 'AgentX sub-agent'. SN> We observed that, when ever we restart the application.we need to restart the snmpd also. SN> like "etc/init.d/snmpd" restart command. SN> SN> Is there any solution for that,to avoid the snmpd restart. SN> For your reference, i have attached my snmp agent module to you. SN> SN> Inthis attached file, i felt that i have properly shut down the thread. SN> looking for your reply. When a sub-agent goes away, it should unregister from the master. If the sub-agent dies without doing so, the agent should notice, assuming agentXPingInterval is set (see snmpd.conf man page). ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
