I am trying to get all of our AIX systems to log all of their system messages to a Solaris system. I have syslog-ng complied on both the Solaris and AIX platforms. I have syslog-ng working just fine on Solaris, however, I am having problems getting AIX to log to a Solaris system. Is anyone familiar with how to configure the syslog-ng.conf file on the Solaris side and on the AIX side so AIX will log it's system messages to Solaris (and yes I have already configured the odm to pass system messages to syslog on AIX)? Here is a short, simple version of the syslog-ng.conf file that I have setup on the Solaris side:
# Global options options { sync(0); time_reopen(10); log_fifo_size(100); }; # Sources source all { tcp(ip("0.0.0.0") port(10514)); udp(ip("0.0.0.0") port(514)); internal(); sun-streams("/dev/log" door("/etc/.syslog_door")); }; # # Destinations destination auth-log { file("/var/log/syslog-ng/auth-log"); }; # # filters filter f_auth { facility(auth) and level(notice); }; # # Logs # Loghost log { source(all); filter(f_auth); destination(auth-log); };
I have tried to add the unix-dgram / unix-stream segment in to accept calls from AIX, but it doesn't work:
#Sources source all { unix-dgram("/dev/log"); tcp(ip("0.0.0.0") port(10514)); udp(ip("0.0.0.0") port(514)); internal(); sun-streams("/dev/log" door("/etc/.syslog_door")); };
and also
#Sources source all { unix-stream("/dev/log"); tcp(ip("0.0.0.0") port(10514)); udp(ip("0.0.0.0") port(514)); internal(); sun-streams("/dev/log" door("/etc/.syslog_door")); };
I've have also tried a more generic approach for both Solaris and AIX, but it doesn't work:
#Sources source all { unix-stream("/dev/log"); internal(); };
After I added the unix-dgram and unix-stream segment on the first example and started syslog-ng, my device file /dev/log on Solaris and the /etc/.syslog_door file were replaced with incorrect files. I looked through the discussion threads, and I haven't been able to find any discussion concerning this matter. I apologize in advance if I missed this discussion thread. Thank you for your help! Anna Maria Peterson Micron Technology, Inc. Unix System Manager Mail Stop 964 8000 S. Federal Way Boise, Idaho 83707 (208) 363-2196