Summary: syslog configuration Help

From: John Rams (johnrams@cox.net)
Date: Sat Apr 26 2003 - 03:40:23 EDT


Many thanks to Mark Hargrave,Alan Angulo and Jay Lessert. Sorry for late summary.

Alan mentoned the need to restart /etc/init.d/inetsvc for loghost to take effect after you change your /etc/hosts. Still not sure if i have to. But log are being redirected to the loghost.

***************

0) man syslog.conf
   Understand the "facility", "level", and "action" parts of syslog.conf

1) Edit /etc/hosts in all machines and add the "loghost" alias.
   example: 123.123.123.123 admin-machine loghost

2) Edit /etc/syslog.conf and tell the other 3 machines where to send the
   messages.
   example: auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)

3) HUP the syslog daemon an all machines:
   kill -HUP `cat /etc/syslog.pid`
********************

*.err;kern.debug;daemon.notice;mail.crit;user.none<tab>@hostname

Where "hostname" is the system you want to receive the messages.

Don't forget to restart the syslogd daemon.

***********

On the 3 systems you want to report from, put the following in the /etc/syslog.conf file:

You configure syslog.con on the 3 other systems. See the
syslog.conf(4) man page, look for the string "@server".

> How can i do the same to receive checkpoint firewall logs?

Configure syslog.conf on the firewall host.

> -----Original Message-----
> From: johnrams@cox.net [mailto:johnrams@cox.net]
> Sent: Friday, April 18, 2003 3:49 PM
> To: sunmanagers@sunmanagers.org
> Subject: syslog configuration Help
>
>
> How do i configure my syslog.conf on 1 system to be able to
> receive all the system log messages of 3 other systems. How
> can i do the same to receive checkpoint firewall logs?
>
> Thanks so much
> John Rams


_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:17 EDT