OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris Networking

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-30-2010, 01:26 AM
Junior Member
 
Join Date: Sep 2010
Posts: 2
Default How to forward the log message where in /var/cron/log file to other server?

Dear All,

How to forward to remote log collector server the log message where in /var/cron/log file?

Log file's contents:
--------------------------------------------------------------------------
> 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. I thank that edit in the /etc/syslog.conf file.
Thank you in advance.
Reply With Quote
Sponsored Links

Reply

Bookmarks

Tags
cron, syslog

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send the log message which in /var/cron directory to other server? koyoungsuk Solaris General 0 09-14-2010 09:07 AM
OpenSolaris 64 bit as File Server Mussolini Solaris OpenSolaris Servers 0 09-28-2009 07:15 PM


All times are GMT. The time now is 12:33 AM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.