RE: accumulate messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux