Hi Dave,

The subagent framework is from mib2c.mfd.conf, I added
snmpd_register_config_handler() by myself so it can read from subagent
.conf file and save the p tokens to permanent subagent .conf file. That
part is working successfully.

I'm just wondering if there is a way to automatically re-read from the
subagent .conf whenever it is updated, does the master agent or libnetsnmp*
provide this functionality to tell the subagent re-read the subagent .conf
file?

Emi



                                                                           
             "Dave Shield"                                                 
             <[EMAIL PROTECTED]                                             
             iv.ac.uk>                                                  To 
             Sent by:                  "[EMAIL PROTECTED]"            
             [EMAIL PROTECTED]         <[EMAIL PROTECTED]>            
             email.com                                                  cc 
                                       [EMAIL PROTECTED] 
                                       et                                  
             05/30/2007 01:34                                      Subject 
             PM                        Re: How to support subagent.conf    
                                       update                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 30/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a function in net-snmp library that will force the subagent to
> re-read subagent.conf file? My subagent is in a different process from
> snmpd. After subagent.conf is  updated, how to make the subagent read the
> new configuration without restart the subagent application?

What code framework have you used for your subagent?
i.e. where did this code come from.
   (There are several possible locations in the Net-SNMP project,
which are not necessarily all identical).

Dave



-------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to