Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 08:52:31 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        Damian Gerow <damian@sentex.net>
Cc:        isp@freebsd.org
Subject:   Re: Daily/weekly/monthly output aggregation
Message-ID:  <20031118084808.E30811@hewey.af.speednet.com.au>
In-Reply-To: <20031117205537.GJ98840@sentex.net>
References:  <20031117203641.GG98840@sentex.net> <20031117205537.GJ98840@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Damian Gerow wrote:

>     b) This is a pretty big problem that nothing has addressed yet.

periodic(8) can be told to send its output to a file.

'man periodic.conf' says:

   dir_output
       (path or list) What to do with the output of the scripts envoked
       from the directory dir.  If this variable is set to an absolute
       path name, output is logged to that file, otherwise it is taken
       as one or more space separated email addresses and mailed to
       those users.  If this variable is not set or is empty, output is
       sent to standard output.

       For an unattended machine, suitable values for daily_output,
       weekly_output, and monthly_output might be
       ``/var/log/daily.log'', ``/var/log/weekly.log'', and
       ``/var/log/monthly.log'' respectively, as newsyslog(8) will
       rotate these files (if they exists) at the appropriate times.

So, in conjunction with newsyslogd, the problem has been "addressed".

--

 :{ andyf@speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118084808.E30811>