Tuesday, January 29, 2013
How to Suppress SNMP UDP connections from syslog
what is the debug file for SNMP ?
for 5.x Linux servers its :- /etc/sysconfig/snmpd.options
For 6x :- /etc/sysconfig/snmpd
Below you can see default debug file for 6x Linux servers.
[root@linuxtechnotes ~]# cat /etc/sysconfig/snmpd
# snmpd command line options
# OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid"
[root@linuxtechnotes ~]#
Incase if you notice lot of udp connection in syslog and if you want to suppress, try to change the debug level to 5 and restart the snmpd deamon.
[root@linuxtechnotes ~]# cat /etc/sysconfig/snmpd
# snmpd command line options
OPTIONS="-LS0-5d -Lf /dev/null -p /var/run/snmpd.pid"
[root@linuxtechnotes ~]#
[root@linuxtechnotes ~]# service snmpd restart
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
[root@linuxtechnotes ~]#
What is SNMP ? and Its Configuration ?
Labels:
LINUX
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment