[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

How to suppress verbose snmpd messages in /var/log/messages



# uname -a
Linux xxxxxxxx 2.6.18-92.1.13.el5 #1 SMP Thu Sep 4 03:51:21 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Every minute I got a lot of lines about snmpd in /var/log/messages:

# tail -5 /var/log/messages
Oct 22 09:53:04 xxxxxxxx snmpd[5905]: Connection from UDP: [10.111.75.52]:4993
Oct 22 09:53:04 xxxxxxxx snmpd[5905]: Received SNMP packet(s) from UDP: [10.111.75.52]:4993
Oct 22 09:53:04 xxxxxxxx snmpd[5905]: Connection from UDP: [10.111.75.52]:4996
Oct 22 09:53:04 xxxxxxxx snmpd[5905]: Received SNMP packet(s) from UDP: [10.111.75.52]:4996
Oct 22 09:53:04 xxxxxxxx snmpd[5905]: Connection from UDP: [10.111.75.52]:4996

I followed the procedure at
http://www.stat.auckland.ac.nz/~kimihia/net-snmp
and created /etc/snmpd and created snmpd.options file in the directory.

# cat /etc/snmpd/snmpd.options
#OPTIONS="-LS 5 d -Lf /dev/null -p /var/run/snmpd.pid -a"
OPTIONS="-Lf /dev/null -p /var/run/snmpd.pid"

Restarted snmpd service (service snmpd restart). But /var/log/messages still has those messages coming in quickly.

The first line in my snmpd.options (now commented out) is taken from
http://kbase.redhat.com/faq/FAQ_85_10731.shtm
and that doesn't work either. But that document on the Redhat site is about RH Linux 4. Ours is 5.

Yong Huang


      



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]