Re: Agent & Subagent connection status

This is a discussion on Re: Agent & Subagent connection status within the SNMP Users forums, part of the Networking and Network Related category; On 18 Feb 2008 06:54:39 -0000, girish <nlgirish@rediffmail.com> wrote: > I want to know ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008
Dave Shield
 
Posts: n/a
Default Re: Agent & Subagent connection status

On 18 Feb 2008 06:54:39 -0000, girish <nlgirish@rediffmail.com> wrote:
> I want to know how we can get information that master and subagents
> have been connected.


Not possible, I'm afraid.
The connection from the subagent to the master isn't done until *after* the
"init_agent" routine is processed. This is because the config file settings
(handled by the "init_snmp" call) may specify the AgentX connection to use.
So the subagent cannot connect to the master until fairly late in the
initialization cycle ("SNMP_CALLBACK_POST_READ_CONFIG").


> Also whenever master goes down i want to inform the same to my subagent.


If you have set the AgentX ping interval (e.g. using the config directive
agentxPingInterval), then the subagent will try to maintain contact with the
master agent, and attempt to re-connect if this connection is lost.
This is handled by the main (sub)agent framework code. You don't have
to worry about this yourself.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0