Followup to my own message. I was wrong in saying there was no way. It's actually simple. I created /etc/snmpd/snmpd.options by mistake. It should be /etc/snmp/snmpd.options. The directory was wrong. It's wrong in the article I originally followed (www.stat.auckland.ac.nz/~kimihia/net-snmp). Yong Huang --- On Wed, 10/22/08, Yong Huang <yong321@xxxxxxxxx> wrote: > From: Yong Huang <yong321@xxxxxxxxx> > Subject: Re: How to suppress verbose snmpd messages in /var/log/messages > To: redhat-list@xxxxxxxxxx > Date: Wednesday, October 22, 2008, 11:16 PM > > It looks like there's no way to turn that off. We're > using 5.3.1: > > # snmpd -v > > NET-SNMP version: 5.3.1 > Web: http://www.net-snmp.org/ > Email: net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx > > And according to > http://www.mail-archive.com/net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx/msg11155.html > dontLogTCPWrappersConnects does not work. And that > directive should be in snmpd.conf under /etc/snmp, not > > > From: Yong Huang <yong321@xxxxxxxxx> > > Subject: 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 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list