|
|||||||||||
|
Re: Better Syslog server
From: Ian G Batten <I.G.Batten(at)ftel.co.uk>
Date: Thu Mar 20 2003 - 11:47:57 EST On Mon, 17 Mar 2003, Matt Harris wrote: > I've been looking a bit on google/sourceforge/etc to try and find a more
The code is a shambolic mess, but you might like to pick up http://www.batten.eu.org/~igb/syslogd.tar.gz at some point. On Linux is runs fine on its own, on Solaris you need /usr/sbin/syslogd -t running to pick up the stuff on the syslog door. I don't feed that back around into my code, I just take it out to a file, as the log of the logging machine isn't wildly interesting. You put the code in /var/syslogd/bin. /var/syslogd/syslogd.conf is something like:
ignore imapd|pop3d|lpd/INFO
You get a tree built below /var/syslogd/messages broken down by date, host and facility. Each line is time-stamped to the microsecond to make sorting easier. You need hosts, protocols and services in /var/syslogd/etc as it all runs chroot'd to /var/syslogd, setuid syslog setgid syslog. I've hacked it up over the years, but it's been running in production here taking the logs from about a hundred machines, including big production mail systems, for the eighteen months. ian Received on Fri Mar 21 16:22:51 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:37 EDT |
||||||||||
|
|||||||||||