remote syslog host

remote syslog host

Post by ralp.. » Wed, 08 Mar 2000 04:00:00



I am attempting to bring up a Red Hat Linux machine as a syslog host.

It does receive (already implemented the -r option) logging from the
other hosts.  I would like to have it mimic a FreeBSD machine in that
it will redirect logging output to different directories based on the
hosts it is logging.  FreeBSD could do it like this:

The format for accepting logging from other hosts and redirecting the
outputs is as such on FreeBSD.
!hew-gre
kern.*;*.alert;*.crit;*.emerg;*.err    /var/log/hewlett/syslog/syslog.lo
g
auth.*                          /var/log/hewlett/auth/auth.log
daemon.*                        /var/log/hewlett/daemon/daemon.log
mail.*                          /var/log/hewlett/mail/mail.log
cron.*                          /var/log/hewlett/cron/cron.log
lpr.*                           /var/log/hewlett/lpr/lpr.log
local0.*                        /var/log/hewlett/local0/local0.log
local1.*                        /var/log/hewlett/local1/local1.log
local2.*                        /var/log/hewlett/local2/local2.log
local3.*                        /var/log/hewlett/local3/local3.log
local4.*                        /var/log/hewlett/local4/local4.log
local5.*                        /var/log/hewlett/local5/local5.log
local6.*                        /var/log/hewlett/local6/local6.log
local7.*                        /var/log/hewlett/local7/local7.log
# Next block for HP packard
!packard
kern.*;*.alert;*.crit;*.emerg;*.errq /var/log/packard/syslog/syslog.log
auth.*                          /var/log/packard/auth/auth.log
daemon.*                        /var/log/packard/daemon/daemon.log

Etc.  The ! symbol in FreeBSD syslog seems to denote a block of entries
for each host.  The ! does not seem to work in Linux.  Any help would
be greatly appreciated.

Thanks

Ralph Hubbard

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Syslog to remote host - how to set logging facility?

Hi folks,

Is there anyone out there who knows how to set the logging facility of
syslog? I want to log certain kernelmessages of host A to a remotehost B.
On B all messages from A shall be stored in /var/log/A/messages. As far as
I know the only possibility to tell syslogd where to store certain messages
is the use of a local logging facility (e.g. LOCAL_0). But how can I
configure syslogd in that way, that all messages from host A use logging
facility LOCAL_0?
Or is there another way to get all messages from host A be written to
B:/var/log/A/messages?
I have read the man pages, but still have no clue about that prob....

Any suggestions would be greatly appreciated

TIA

Bye
-XoF-

2. Choose a new mouse for Linux

3. syslog on remote host

4. kde and mozilla not sharing the same clipboard

5. I need SYSLOG to accept events from remote hosts..

6. Help : looking for an easy way....

7. How to receive syslog from remote host?

8. TriTeal CDE for Linux

9. syslog.conf to have remote hosts info placed in individual file?

10. How to receive syslog from remote host?

11. Syslog entries from remote hosts working?

12. syslog - logging from a remote host

13. Sending Solaris syslog activity to a remote host