[CentOS] SNMP Log entries

Enyo enyo.mail at gmail.com
Thu Nov 29 19:56:03 UTC 2007


Hi,

Does anyone know how to prevent snmpd from writing the below into
/var/log/messages/

Nov 29 19:35:02 serenity snmpd[2287]: Received SNMP packet(s) from
UDP: [127.0.0.1]:34309
Nov 29 19:35:02 serenity snmpd[2287]: Connection from UDP: [127.0.0.1]:34309
Nov 29 19:35:02 serenity last message repeated 7 times
Nov 29 19:40:02 serenity snmpd[2287]: Connection from UDP: [127.0.0.1]:34313
Nov 29 19:40:02 serenity snmpd[2287]: Received SNMP packet(s) from
UDP: [127.0.0.1]:34313
Nov 29 19:40:02 serenity snmpd[2287]: Connection from UDP: [127.0.0.1]:34313
Nov 29 19:40:02 serenity last message repeated 7 times
Nov 29 19:45:02 serenity snmpd[2287]: Connection from UDP: [127.0.0.1]:34319
Nov 29 19:45:02 serenity snmpd[2287]: Received SNMP packet(s) from
UDP: [127.0.0.1]:34319
Nov 29 19:45:02 serenity snmpd[2287]: Connection from UDP: [127.0.0.1]:34319

We query the server to gain load stats etc every 5 mins and this is
causing /var/log/messages to fill up pretty quickly/

I do not care about seeing normal connection info from snmpd, but
retaining logging for other info such as malformed packets, bad
community strings etc is of interest.

Thanks



More information about the CentOS mailing list