Thanks, James. I did read that, but wasn't sure how to send the messages to
both. Basically, this is the file: 

*.err;kern.debug;daemon.notice  /var/adm/messages

I'm wondering how I can send all those logs to both the /var/adm/messages
AND another base server.

Is it possible to do both?

Thanks for your help.

Anne
 

-----Original Message-----
From: James Carlson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 11:40 AM
To: Anne
Cc: [email protected]
Subject: Re: [osol-discuss] setup syslog to another server?

Anne writes:
> Hi All, I have 10 OpenSolaris boxes. Does anyone know how, or have 
> documentation on, how to setup syslog to forward to a central syslog
server?

Use an "@" sign.  As explained in the syslog.conf(4) man page:

     A configuration  entry  is  composed  of  two  TAB-separated
     fields:

       selector       action
[...]
     The action field indicates where  to  forward  the  message.
     Values for this field can have one of four forms:
[...]
         o    The name of a remote host, prefixed with an  @,  as
              with: @server, which indicates that messages speci-
              fied by the selector are to  be  forwarded  to  the
              syslogd  on the named host.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to