Re: Dynamic snmp agent reconfiguration

2011-11-11 Thread Dave Shield
On 11 November 2011 06:00, Mohammad Waqas Athar 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 o

Re: Dynamic snmp agent reconfiguration

2011-11-11 Thread anand anand
Net-Snmp supports re-reading of the snmpd.conf file if it receives a SIGHUP Check out the receive(void) function in snmpd.c, there is a call to update_config, which will be called only if a global flag is set when net-snmp receives a SIGHUP -anand On Fri, Nov 11, 2011 at 11:30 AM, Mohammad Waq

Dynamic snmp agent reconfiguration

2011-11-10 Thread Mohammad Waqas Athar
Hello users, 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.