accumulate messages

Nikkilä Tommi tommi.nikkila at wmdata.fi
Mon May 28 09:18:17 UTC 2007


Taken from http://uranus.it.swin.edu.au/~jn/linux/redhatserver.htm

[...]
To make a server accept log messages from other machines you need to enable syslog remote reception.  This can be done by editing /etc/sysconfig/syslog  and adding "-r" to the SYSLOGD_OPTIONS  so it looks like this

SYSLOGD_OPTIONS="-m 0 -r"

Then restart syslog by doing

# /etc/rc.d/init.d/syslog restart

You should see a message in the log files about remote reception

To make a machine send it's log messages to your log server you need to add an entry to /etc/syslog.conf.  Something like

*.info @loghost

should be all that is needed.  See the man page for more details (man 5 syslog.conf)

You also need to restart syslog after this change.  The procedure is the same as above.
[...]

Please note that you _really should_ store log files locally also.

--
Tommi Nikkilä

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Koray Sonmez
Sent: 28. toukokuuta 2007 11:04
To: General Red Hat Linux discussion list
Subject: accumulate messages

Hi,

I have several Redhat servers. And i want to accumulate
/var/log/messages on one redhat. How can i configure /etc/syslog.conf?
Regards,
Koray Sonmez


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list