Could anyone please help me build a rollover script for logfiles and
analysis?? I would be happy to post the results to this list...
I am on RH6.1 (intel). I have read Rebecca Minarik's script, and just
need to tweak it. I am not a unix/cron expert, but neither am I stupid! I
am willing to try if someone can spare a little effort with me...
I wish to set up a script (based on Rebecca's) to run analog at regular
intevals e.g. daily, weekly or monthly for a virtual domain (apache). The
script should be able to:
1] rollover the logfile to <filename_datestamp>
2] create a new logfile as <filename>
3] run analog on <filename_datestamp>
4] save results as <filename_datestamp.html>
It looks like Rebecca's script will do 3] and 4]. WRT this, I have the
following questions:
A] conf_files
Am I correct in assuming this is a list of my customised conf files in
the same format as /etc/analog.cfg?? This confuses me a little as some of
the variables are already present in the .cnf file. Maybe I have this
wrong?
For multiple files the format is:
set conf_files = "site1,site2,siten"
These correspond to site1.conf....siten.conf?
B] Reports
I wish to generate reports as html files. To do this:
- Can I simply remove the {set rcpts = } line and replace {set outfile =
"[existing syntax]".".html"}
- Remove the {set subj = .....$rcpts < $outfile} line.
TIA for any help received...
Best regards, Brian
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------