Re: Dynamic snmp agent reconfiguration

anand anand <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJtbuG+5R8-E==wsiSDysYW=dK4vCvhzUwDDj=XeTBwAvOXVuw@mail.gmail.com>
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 Waqas Athar <
[email protected]> wrote:

>
> 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.
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.