Hi! On Mon, Aug 26, 2002 at 11:46:25AM -0400, Hong Tian wrote: > Could I install syslog-ng on a Red Hat Linux machine which will accept all > log messages from Sun Solaris machines? Sure, why not? ;-) You have to know, if the Sun sends the messages via UDP (default) or TCP and if she doesn't use the standard port (514). Then you can change /etc/syslog-ng/syslog-ng.conf: source src { unix-stream("/dev/log"); internal(); udp(); file("/proc/kmsg"); }; ^^^^^^ this activates udp logging. If the Sun uses TCP, change udp to tcp. Then you can use any rules you want to filter the messages und to write them in the files you want. Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: Nur-Ab-Sal@gmx.de | | WWW: http://fsing.fs.uni-sb.de/~stse/ | | PGP Public Keys: http://fsing.fs.uni-sb.de/~stse/pgp.html |
Attachment:
pgpiiKmOeclnY.pgp
Description: PGP signature