SNMP script problem

Do you see something like this, every 15 seconds or so in your /var/log/messages file:

May 21 12:33:57 usatl01lo605 snmpd[10167]: Connection from – 127.0.0.1
May 21 12:33:57 usatl01lo605 snmpd[10167]: transport socket = 16
May 21 12:34:12 usatl01lo605 snmpd[10167]: Connection from – 127.0.0.1
May 21 12:34:12 usatl01lo605 snmpd[10167]: transport socket = 16

This is due to an incorrect setting in the /etc/init.d/snmpd script. Open this script and change this line:

OPTIONS=”-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a”

to this:

OPTIONS=”-LS 4 d -p /var/run/snmpd.pid -a”

Then restart the snmp service (“service snmpd restart). You will see the incessant logging in the messages file cease.