Making trap2sink non-static

2015-03-24 Thread Thomas Andrews
Hi, I need to be able to change the trap sink IP address dynamically. Currently it is in /etc/snmp/snmpd.conf: trap2sink 192.168.2.1 public I understand that I can possibly update the config file and then make snmpd re-read it but I would prefer something a bit more "elegant" if possible

Clarification on logOption in snmptrapd.conf

2015-03-24 Thread Troy Lea
I've been playing with the logOption directive for snmptrapd.conf. When I specify it this way: logOption f /var/log/snmptrapd.log I do get traps logged in this file. However what level of logging is this? Is it just LOG_NOTICE? Reading the MAN page: http://www.net-snmp.org/docs/man/snmpcmd.ht