Link to home
Start Free TrialLog in
Avatar of jaja2005
jaja2005Flag for Norway

asked on

Forward syslog from RedHAT Enterprise 3.5 and CentOS

Hi there.
How I can forward all syslog entries to a syslog server from RedHAT Enterprise 3.5 an CentOS?
What conf files should be changed?

thx
ASKER CERTIFIED SOLUTION
Avatar of medvedd
medvedd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaja2005

ASKER

just this? On freebsd had to check many other things like host.conf, ecc

Avatar of medvedd
medvedd

If your syslog server is ready to accept messages from clients, you don't need anything else.
ok will test Asap
Avatar of Julian Parker
syslog on the receiving server does need to be configured to listen, note the -r option in the syslog file.


# more /etc/sysconfig/syslog 
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS="-m 0 -r"
# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to decode, and
#    once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x"
#
SYSLOG_UMASK=077
# set this to a umask value to use for all log files as in umask(1).
# By default, all permissions are removed for "group" and "other". 

Open in new window

Hi. As syslog server i use a commercial solution thus want only to be sure that clients linux machine are configured proprely. thx for you help.
can you show me a how the files shoud be configured on the CEntos? What if this is a virtual machine on ESX server?