I just to reply to this suggestion. It appears the propblem was the snmpd was 
not running with -x option. Once -x was enabled the agentXPingInterval can be 
left at default level, and no config file is needed for the subagent.

Thanks for the tip.

Eldon.

________________________________________
From: dave.shi...@googlemail.com [dave.shi...@googlemail.com] on behalf of Dave 
Shield [d.t.shi...@liverpool.ac.uk]
Sent: Friday, February 25, 2011 1:59 PM
To: Eldon Hiebert
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Restart Subagent after snmpd restart

On 25 February 2011 15:35, Eldon Hiebert <hieb...@selex-si-us.com> wrote:
> So I have an SNMP sub-agnet that talkes to master agentx over the agentx 
> socket.
> When the snmpd restart the socket fd which I watch for select is invalid.
> I assume I need to restart the subagent.

Not necessarily - the subagent should be able to re-connect to the master agent.
See the directive 'agentxPingInterval' in the 'snmpd.conf(5)' man page.

Dave

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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

Reply via email to