syslog server ?

From: rmck (rmckeever@earthlink.net)
Date: Thu May 08 2003 - 11:55:32 EDT


Hello,

I'm unable to get logging on both syslog server and client at the same time. I'm able to do one or the other. I have read the man on syslog.conf but I was hoping someone could shed some light on this for me...

I have a syslog server.
Clients to the syslog servers are Solaris8.

Example, ssh logging will only go to the syslog server.

So in the following lines:

auth.notice ifdef(`LOGHOST', /var/log/secure, @loghost)
auth.debug ifdef(`LOGHOST', /var/log/secure, @loghost)

does that mean it will log to the local /var/log/secure along with logging to the syslog server??

on the Syslog Client:
bash-2.03# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
111.111.1.111 client.com.com client
111.111.1.222 syslog.com.com syslog loghost
bash-2.03#
bash-2.03# more /etc/syslog.conf
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice;user.none /dev/console
*.err;kern.debug;daemon.notice;mail.crit;user.none;user.err /var/adm/messages
*.alert;kern.err;daemon.err;user.none operator
*.alert;user.none root
*.emerg;user.none *
 
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
auth.notice ifdef(`LOGHOST', /var/log/secure, @loghost)
auth.debug ifdef(`LOGHOST', /var/log/secure, @loghost)
daemon.debug ifdef(`LOGHOST', /var/log/daemonlog, @loghost)
cron.debug ifdef(`LOGHOST', /var/log/cronlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
 
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /var/adm/messages
user.err /dev/console
user.alert `root, operator'
user.emerg *
)
bash-2.03#

Thanks Upfront

Ron
_______________________________________________
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:22 EDT