Sep 22 18:20:03 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:43799->[127.0.0.1]:161
Sep 22 18:25:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:44170->[127.0.0.1]:161
Sep 22 18:30:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:38358->[127.0.0.1]:161
Sep 22 18:35:03 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:41847->[127.0.0.1]:161
Sep 22 18:40:03 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:38820->[127.0.0.1]:161
Sep 22 18:45:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:57794->[127.0.0.1]:161
Sep 22 18:50:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:46374->[127.0.0.1]:161
Sep 22 18:55:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:59770->[127.0.0.1]:161
Sep 22 19:00:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:53427->[127.0.0.1]:161
Sep 22 19:05:03 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:56370->[127.0.0.1]:161
Sep 22 19:10:03 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:42871->[127.0.0.1]:161
Sep 22 19:15:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:55832->[127.0.0.1]:161
Sep 22 19:20:02 farm snmpd[25909]: Connection from UDP: [127.0.0.1]:45324->[127.0.0.1]:161
以下設定可以把 snmp 這類的訊息關閉
打開編輯
vi /etc/default/snmpd
加入:
# 將這一行註解起來
# SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /var/run/snmpd.pid'
# 加入底下這一行
SNMPDOPTS='-Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
存檔,重啟
service snmpd restart
這樣你就再也看不到這些惱人的訊息了。
參考文件:snmpd[]: Connection from UDP: [127.0.0.1]:
沒有留言:
張貼留言