On 11 November 2011 06:00, Mohammad Waqas Athar <[email protected]> wrote:
> Is there a way to dynamically reconfigure snmpd settings without restarting
> it. I mean are there any IOCTL command, C api or signal handler defined to
> reconfigure agent settings other then editing the snmpd.conf and restarting
> agent ourself.
As Anand has pointed out, the agent will re-read the configuration file
(without restarting) if it receives a HUP signal, or if the 'reconfig' variabl
is set to 1.
It's also possible to trigger a re-load of the config file via SNMP itself,
by issuing a SET on UCD-SNMP-MIB::versionUpdateConfig.0 to 1
For more specific reconfiguration, you can use the API call
snmp_config_when( "some config line", EITHER_CONFIG);
Dave
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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