User Tools

Site Tools


Make SNMP quiet in messages log

SNMP daemon will by default generate a lot of noise in /var/log/messages:

Aug 28 04:08:50 <hostname> snmpd[3664]: Connection from UDP: [<IP>]:1921
Aug 28 04:10:22 <hostname> last message repeated 3 times
Aug 28 04:11:25 <hostname> last message repeated 50 times
Aug 28 04:11:41 <hostname> last message repeated 33 times

Add following into /etc/sysconfig/snmpd.options and restart SNMP daemon to get rid of these messages

echo 'OPTIONS="-LS 5 d -Lf /dev/null -p /var/run/ -a"' >> /etc/sysconfig/snmpd.options
service snmpd restart

make_snmp_quiet_in_messages_log.txt · Last modified: 2011/08/31 12:53 by root