RE: accumulate messages
- From: Nikkilä Tommi <tommi.nikkila@xxxxxxxxx>
- Date: Mon, 28 May 2007 11:18:17 +0200
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
- References:
- accumulate messages
- From: Koray Sonmez
- accumulate messages
- Prev by Date: Re: How to build image RHEL4 for xen guest
- Next by Date: Installing Fedora on USB External Hard-drive?
- Previous by thread: accumulate messages
- Next by thread: Re: accumulate messages
- Index(es):
Relevant Pages
- Re: filesystem 100% full, but files do not occupy the space
... The dfutility looks at the filesystem allocation and freespace tables, ... /var/log/messages)
and didn't restart syslog. ... closing it each time a log record must be written),
... Your issues with log files ring a bell.. ... (comp.os.linux.setup) - Re: HOWTO for Squirrelmail in FC?
... I'll have to remember to restart syslog after ... > deleting log files.
... you should be able to clear out log files without ... (Fedora)