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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|