Re :Re :Re: Agent & Subagent connection status

This is a discussion on Re :Re :Re: Agent & Subagent connection status within the SNMP Users forums, part of the Networking and Network Related category; --===============1249437474== Content-Type: multipart/alternative; boundary="=_ea7397bdc8ef36b7abd5f6ed3703f814" --=_ea7397bdc8ef36b7abd5f6ed3703f814 Content-Type: text/plain; charset="ISO-8859-1" ...


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
girish
 
Posts: n/a
Default Re :Re :Re: Agent & Subagent connection status

--===============1249437474==
Content-Type: multipart/alternative;
boundary="=_ea7397bdc8ef36b7abd5f6ed3703f814"

--=_ea7397bdc8ef36b7abd5f6ed3703f814
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

So, cant I inform my subagent by any means that master has gone down and u stop receiving the informs from other module and not to forward to master???On 18 Feb 2008 09:36:34 -0000 "girish" wrote Thanks for the reply Dave.Why I'm asking for this is I need to set some flag in my subagent code when ever master goes down. Once master comes up I need to reset that flag so that my subagent will not receive any notifications untill master has came up. On Mon, 18 Feb 2008 09:33:51 +0000 "Dave Shield" wrote On 18 Feb 2008 06:54:39 -0000, girish 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 Regards, Girish


Regards,
Girish
--=_ea7397bdc8ef36b7abd5f6ed3703f814
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

So, cant I inform my subagent by any means that master has gone down and u =
stop receiving the informs from other module and not to forward to master??=
?<br /><br /><br />On 18 Feb 2008 09:36:34 -0000 "girish" wrote<br /> Tha=
nks for the reply Dave.Why I'm asking for this is I need to set some flag i=
n my subagent code when ever master goes down. Once master comes up I need =
to reset that flag so that my subagent will not receive any notifications u=
ntill master has came up. On Mon, 18 Feb 2008 09:33:51 +0000 "Dave Shield" =
wrote On 18 Feb 2008 06:54:39 -0000, girish wrote: &gt; I want to know=
how we can get information that master and subagents &gt; have been conne=
cted. 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_CALLBAC=
K_POST_READ_CONFIG"). &gt; 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 w=
ill try to maintain contact with the master agent, and attempt to re-conne=
ct if this connection is lost. This is handled by the main (sub)agent f=
ramework code. You don't have to worry about this yourself. Dave <br =
/> <br /> <br /> Regards,<br /> Girish<br /> <br /> =20
<br><br>Regards,<br />
Girish<br><Table border=3D0 Width=3D644 Height=3D57 cellspacing=3D0 cellpad=
ding=3D0 style=3D'font-family:Verdana;font-size:11px;line-height:15px;'><TR=
><td><a href=3D'http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.red=

iff.com/signature-home.htm/1050715198@Middle5/2043637_2036351/2043558/1?PAR=
TNER=3D3&OAS_QUERY=3Dnull' target=3Dnew ><img src =3D'http://imadworks.redi=
ff.com/cgi-bin/AdWorks/adimage.cgi/2043637_2036351/creative_2043558.gif' a=
lt=3D'HP Supplies' border=3D0></a></td></TR></Table>
--=_ea7397bdc8ef36b7abd5f6ed3703f814--


--===============1249437474==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1249437474==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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

--===============1249437474==--

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 AM.


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