Configuring central syslog server

From: Maddox, Andrew (MaddoxA@usec.com)
Date: Thu Sep 02 2004 - 10:42:20 EDT


I'm configuring one server to act as a central syslog server for my NOC.
Setting up the client machines to forward a copy of all their messages to it
with
*.* @LOGHOSTNAME
in syslog.conf is working - I restarted syslogd and inetd on the
LOGHOST-to-be, then generated a few messages from one of the clients, and
got the messages in /var/adm/messages.

So, now, to rehash a question I've seen many times, but never seen a SUMMARY
for, can I get my logserver to direct messages from specific clients into
either separate files or different directories, using the native Solaris
(2.8) syslog facility?

That is, I'd like something like
/var/adm/messages for localhost messages
And then
/var/adm/messages.host1
/var/adm/messages.host2
Or
/var/adm/host1/messages
/var/adm/host2/messages
For messages from the other (client) machines. Can I do this? I can't see a
way in the documentation, the manpages, or anywhere I've googled for. Do I
need to install a replacement for syslog? If syslog-ng, for example, can do
this, then I'll give it a try!

Thanks in advance and all that,
Andy

-- 
Andrew F. Maddox, Unix Systems Engineer
USEC, Inc. 301-564-3360
Include 'pager' in subject line to forward to pager
_______________________________________________
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:29:23 EDT