How to send the log message which in /var/cron/log directory to log collector server for Solaris?
Dear All,
How to send the log message which in /var/cron/log directory to log collector server for Solaris?
lof file's contents: Example
-------------------------------------------------------------------------------------------------
> CMD: echo
> root 2096 c Wed Nov 17 11:00:00 2010
< root 2096 c Wed Nov 17 11:00:00 2010
> CMD: echo
> root 2158 c Wed Nov 17 17:40:00 2010
< root 2158 c Wed Nov 17 17:40:00 2010
> CMD: [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1
> root 2234 c Thu Nov 18 02:01:00 2010
< root 2234 c Thu Nov 18 02:01:00 2010
> CMD: /usr/sbin/logadm
> root 2244 c Thu Nov 18 03:10:00 2010
> CMD: /usr/sbin/logadm
> root 2246 c Thu Nov 18 03:10:00 2010
< root 2244 c Thu Nov 18 03:10:00 2010
< root 2246 c Thu Nov 18 03:10:00 2010
> CMD: [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
> root 2250 c Thu Nov 18 03:30:00 2010
< root 2250 c Thu Nov 18 03:30:00 2010
! *** cron started *** pid = 217 Tue Nov 30 10:07:04 2010
-------------------------------------------------------------------------------------------------
I want to forward to log collector server. How to configure in the /etc/syslog.conf file?
Thank you in advance.
댓글 달기