Re :Re: Re :Re :Re: Agent & Subagent connection status

2008-02-18 Thread girish
thanks for the suggestion. will try itand one more thing is i'm using "agent_check_and_process" which i missed mentioning in the earlier mail:while(1)    {        agent_check_and_process(1);/*0 = don't block*/ }    snmp_shutdown("subagent_daemon");    SOCK_CLEANUP;Here whenever master goes

Re: Re :Re :Re: Agent & Subagent connection status

2008-02-18 Thread Dave Shield
On 18 Feb 2008 11:19:15 -, girish <[EMAIL PROTECTED]> wrote: > 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??? One option would be to add something to the routine "agentx_reopen_session" (

Re :Re :Re: Agent & Subagent connection status

2008-02-18 Thread girish
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 - "girish" wrote Thanks for the reply Dave.Why I'm asking for this is I need to set some flag in my subagent code w