Hi,

I wrote an SNMP agentx subagent using code generated by mib2c program
and having example-demon.c as a base of my subagent daemon
(http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/example-demon.c).

I'm wondering if there's a way to detect that subagent has been disconnected
from the master agent (for example, when master agent is dead)?  I've got

  Warning: Failed to connect to the agentx master agent ([NIL])

message on the console, but agent_check_and_process() does not seem
to return any errors in such case.

Any suggestions (callbacks, etc.)?

Thank you

Yuri

-- 
Yuri Arapov <[email protected]>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to