we have CENTOS 5.4 on dell server and recently /var/log/messages have thousand of following messages every day. Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:55837 Jan 30 10:12:47 ORA5 snmpd[8295]: Received SNMP packet(s) from UDP: [127.0.0.1]:55837 Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:55837 Jan 30 10:12:47 ORA5 last message repeated 31 times Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:64026 Jan 30 10:12:47 ORA5 snmpd[8295]: Received SNMP packet(s) from UDP: [127.0.0.1]:64026 Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:64026 Anyone know how to fix it? Thansk. ___________________________________________________ ??????? ? ???????????????? http://messenger.yahoo.com.tw/
Alexander Dalloz
2010-Jan-30 16:21 UTC
[CentOS] CENTOS 5.4 /var/log/messages too many?????
Am 30.01.2010 16:21, schrieb mcclnx mcc:> we have CENTOS 5.4 on dell server and recently /var/log/messages have thousand of following messages every day. > > Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:55837 > Jan 30 10:12:47 ORA5 snmpd[8295]: Received SNMP packet(s) from UDP: [127.0.0.1]:55837 > Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:55837 > Jan 30 10:12:47 ORA5 last message repeated 31 times > Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:64026 > Jan 30 10:12:47 ORA5 snmpd[8295]: Received SNMP packet(s) from UDP: [127.0.0.1]:64026 > Jan 30 10:12:47 ORA5 snmpd[8295]: Connection from UDP: [127.0.0.1]:64026 > > > Anyone know how to fix it? > > Thansk.How about using the logging options snmpd offers? man snmpd -L[efos] Specify where logging output should be directed (standard error or output, to a file or via syslog). See LOGGING OPTIONS in snmpcmd(5) for details. This option deprecates the -l -s and -S options. -> man 1 snmpcmd -> LOGGING OPTIONS Then set /etc/sysconfig/snmpd.options as you like to. For instance, I am running with ~ $ cat /etc/sysconfig/snmpd.options OPTIONS="-LS n d -LF i /dev/null -p /var/run/snmpd.pid -a" Alexander