snmpd logging

Various Linux Stuff
Post Reply
thockman
Site Admin
Posts: 104
Joined: Thu Dec 15, 2005 5:51 pm
Location: Kansas City
Contact:

snmpd logging

Post by thockman » Tue Feb 03, 2009 2:15 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests