Re: How to know subagent successfully connects to master agent or not?

Alexander Bubnov <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi!

Can you please let me know a way to do reconnection? May be subagent
connection tried to up in some time? Should I run init_snmp in other thread
for this purpose?

2009/1/27 Alexander Bubnov <[email protected]>

> Hi!
>
> My application sends some events through SNMP.
> In case connection is fail the application can exit or try to reconnect.
>
>
> 2009/1/27 Dave Shield <[email protected]>
>
>> 2009/1/26 Alexander Bubnov <[email protected]>:
>> > inside call of init_snmp, subagent tries to connect to master agent.
>> Here
>> > connection can be fail.
>> >
>> > What right way to know about that fail?
>>
>> This information is not passed back to the controlling agent code.
>> It's not possible for the subagent application to tell whether the
>> subagent connection worked or not.
>>
>> What would you want to do if this connection fails?
>>
>> Dave
>>
>
>
>
> --
> /BR, Alexander
>
>
>
> --
> /BR, Alexander
>



-- 
/BR, Alexander

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.