Operating System - Linux
1753523 Members
9610 Online
108795 Solutions
New Discussion

Configuring a server to send a copy of its messages file to a remote syslog server

 
Andrew Kaplan
Super Advisor

Configuring a server to send a copy of its messages file to a remote syslog server

Hi there --

I am in the process of setting up a syslog server, and I would like one of our Linux systems to send a copy of its messages file to the remote syslog server.

My plan is to modify the /etc/syslog.conf file with the following entry:

messages.* @

Is this the correct format to use, or is there another method? Thanks.
A Journey In The Quest Of Knowledge
1 REPLY 1
Ivan Ferreira
Honored Contributor

Re: Configuring a server to send a copy of its messages file to a remote syslog server

The correct format would be:

*.info;mail.none;authpriv.none;cron.none @

In you must add the -r option to the syslog daemon, in Red Hat, modifying the /etc/sysconfig/syslog file, and restarting the service.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?