SNMP filling up /var/log/messages

i have 10 oracle enterprise linux running as server. and i want to monitor those server activity (traffic,memory usage, disk usage and etc). i’ve configuring snmp on those server. after 1 week snmp agent running on those server, i’ve shocked. everytime snmp manager run get-request message, and agent gave reply with get-reply message, it logged to /var/log/messages. i dont want my /var/log/messages filled up with snmp log request. And how to fix that problem ?

open file /etc/sysconfig/snmpd.options, and add these following lines :

OPTIONS=”-LS 0-4 d -Lf /dev/null -p /var/run/snmpd.pid”

restart your snmp service, and done 🙂

Advertisements