Robert Story wrote:
> On Wed, 30 May 2007 13:48:18 -0500 [EMAIL PROTECTED] wrote:
> EYC> The subagent framework is from mib2c.mfd.conf, I added
> EYC> snmpd_register_config_handler() by myself so it can read from subagent
> EYC> .conf file and save the p tokens to permanent subagent .conf file. That
> EYC> part is working successfully.
> EYC> 
> EYC> I'm just wondering if there is a way to automatically re-read from the
> EYC> subagent .conf whenever it is updated, does the master agent or 
> libnetsnmp*
> EYC> provide this functionality to tell the subagent re-read the subagent 
> .conf
> EYC> file?
> 
> Did you want to trigger the re-read from withing the subagent, or externally? 
> I
> think that the libraries will re-read all conf files on receiving a SIGHUP.

The libraries? I think the SIGHUP handling is in the applications (e.g.
apps/snmptrapd.c).


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to