모니터링을 위해 설정해둔 SNMP로 인해 /var/log/message 상에 snmpd 관련 로깅이 계속해서 쌓인다
Apr 28 19:29:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:51190
Apr 28 19:29:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:36578
Apr 28 19:29:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:36578
Apr 28 19:29:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:50094
Apr 28 19:29:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:50094
Apr 28 19:29:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:50094
Apr 28 19:29:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:50094
Apr 28 19:34:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:42911
Apr 28 19:34:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:42911
Apr 28 19:34:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:33901
Apr 28 19:34:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:33901
Apr 28 19:34:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:45308
Apr 28 19:34:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:45308
Apr 28 19:34:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:45308
Apr 28 19:34:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:45308
Apr 28 19:39:08 adminplay snmpd[2419]: Connection from UDP: [127.0.0.1]:52169
Apr 28 19:39:08 adminplay snmpd[2419]: Received SNMP packet(s) from UDP: [127.0.0.1]:52169
/etc/init.d/snmpd 스크립트상에 OPTIONS 부분만 수정하면 된다.
기존 : OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"
수정 : OPTIONS="-LS 2 d -Lf /dev/null -p /var/run/snmpd.pid -a"