Remote logging with syslogd

Remote logging with syslogd

Post by lipsi » Thu, 11 Mar 1999 04:00:00



hi,

        i have a few machines under my care, i want to have them all log
on a machine A.  i know i can put

in syslog.conf at each of the client box.  but i would like to seperate
their logs on machine A, don't want all the clients logs ending in the
same syslog file in machine A.  any pointers or hints will be great.
Thanks a million in advance.

lipsin

 
 
 

Remote logging with syslogd

Post by Christopher Rinderspache » Thu, 11 Mar 1999 04:00:00


: hi,

:         i have a few machines under my care, i want to have them all log
: on a machine A.  i know i can put

: in syslog.conf at each of the client box.  but i would like to seperate
: their logs on machine A, don't want all the clients logs ending in the
: same syslog file in machine A.  any pointers or hints will be great.
: Thanks a million in advance.
 - The only possibility I found was to grep the names of the machines on a
daily basis and redirect the results to a machine logfile.

--
        Christopher

 
 
 

Remote logging with syslogd

Post by Jim Mellande » Thu, 11 Mar 1999 04:00:00




> : hi,

> :         i have a few machines under my care, i want to have them all log
> : on a machine A.  i know i can put

> : in syslog.conf at each of the client box.  but i would like to seperate
> : their logs on machine A, don't want all the clients logs ending in the
> : same syslog file in machine A.  any pointers or hints will be great.
> : Thanks a million in advance.
>  - The only possibility I found was to grep the names of the machines on a
> daily basis and redirect the results to a machine logfile.

> --
>         Christopher

I use a script:

#!/bin/sh
PATH=/bin:/usr/bin
# Splits SYSLOG by host, run via cron
awk     '

{       host=substr($4,4)               # Unix Host
        file="/var/adm/SYSLOG." host    # Log file
        print >> file

Quote:}'</var/adm/SYSLOG
>/var/adm/SYSLOG

This is on an SGI, so you can modify for your configuration.

Also, note that this is subject to a race condition, in that records can
be added to the SYSLOG while the script is run - In practice, it has not
been much of a problem

 
 
 

1. remote logs with syslogd

I'm trying to move syslog messages from A (red hat) to B (debian) to C
(Solaris) using remote availabilites with syslog.conf. I
 can get A to forward messages to B and B to forward messages to C.
However,  I cannot get A to forward messages through
 B to C. I have to do it this way for security reasons.

 When watching syslogd in debug mode, I can see that C logs "Logging to
CONSOLE /dev/console" to sdout when sshing to
 A. However, the connection is not logged into /var/adm/messages.

 Any ideas??

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

2. Good Review of Linux in LAN Times

3. remote logging with syslogd

4. Heads up: Mandrake Linux, bad compiler.

5. Remote logging with syslogd is broken!?

6. Network can't communicate

7. help - remote logging with syslogd

8. BSDI Connectivity

9. remote log with syslogd

10. Linux syslogd remote logging?

11. Solaris 8 syslogd - remote logging

12. syslogd remote logging

13. 4.7, syslogd and remote router logging