Fwd: [syslog-ng]Logging Remotely from Solaris to Linux

Ron Braley [email protected]
Wed, 29 May 2002 08:30:52 -0500


I'll try this right away!!

I really appreciate you and all you do for the people asking syslog
questions regularly.  


Ron Braley
Network Team Leader - CCNP
Systems Team Leader - MCSE, CNE
University of North Dakota (Aerospace College)
[email protected]
701-777-2964 (work) / 2940 (fax)

>>> [email protected] 05/29/02 06:47AM >>>
On Tue, May 28, 2002 at 11:44:22AM -0500, Ron Braley wrote:
> Hi bazsi
> Yes, I'm running syslog-ng on both platforms.
> I've attached the configuration files from the Linux box used to
> logs, and from the Solaris box sending logs.  I hope this helps.
> Please keep in mind that I've only configured cron to send to the
> source s_tcp destination for testing.  I've used the logger command
> "logger -p cron.crit TEST FROM JUB" to test things.  Also, I'm new
> syslogging (as I'm sure you can tell).
> Thanks again, and have a great day!

Are you sure that the facility code for cron matches on Solaris and

Try to create a bare bone configuration like:


source s_all { internal(); sun-streams("/dev/log"
door("/etc/.syslog_door"); };
destination d_tcp { tcp(""); };
log { source(s_all); destination(d_tcp); };


source s_all { internal(); unix-stream("/dev/log"); tcp(); };
destination d_messages { file("/var/log/messages"); };
log { source(s_all); destination(d_messages); };

And as soon as it works, try playing with filters and the rest.

PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C

syslog-ng maillist  -  [email protected]