FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 01-30-2010, 03:21 PM
Alexander Dalloz
 
Default 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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 08:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org