Page 1 of 1

snmpd logging

Posted: Tue Feb 03, 2009 2:15 pm
by thockman
If you are getting tons of logs in the /var/log/messages file about snmpd here are a few things that may work.

Create the file /etc/sysconfig/snmpd.options and add the line OPTIONS="-LS e d -Lf /dev/null -p /var/run/snmpd.pid -a"

Restart snmpd.
If that doesn't work change the line in /etc/syslog.conf
*.info;mail.none;authpriv.none;cron.none /var/log/messages
to
*.info;snmpd.none;mail.none;authpriv.none;cron.none /var/log/messages
and add
snmpd.warning /var/log/messages
Restart syslog.