New Configuration
Francis J. Lacoste
flacoste at logreport.org
Sat Jul 5 23:10:14 CEST 2003
On dim, 2003-06-29 at 20:34, David Hekimian - Hekimian.Net wrote:
> I installed lire 1.3.1 from the RedHat 8.0 rpm's from here
> http://download.logreport.org/pub/rpm/redhat/8.0/RPMS.lire/
> <http://download.logreport.org/pub/rpm/redhat/8.0/RPMS.lire/> . The install
> went just fine.
>
> Upon trying to configure my first report, I run 'lr_config'. I can for the
> life of me figure out how to setup a new report.
>
> My goal is this:
>
> Have lire run against my Bind9 query log daily, sending the report via
> e-mail to me, and archiving the .xml for reuse.
> Then have lire run weekly to create a Weekly Bind9 query report and e-mail
> it to me.
> Then have lire run weekly to create a Monthly Bind9 query report and e-mail
> it to me.
>
Archiving of the XML reports and generation of the a weekly reports from
the daily ones isn't supported by the configuration interface.
If you want to do this, the best way is to write simple shell scripts
which will uses lr_log2report and lr_xml2mail to generate the reports
and merge them according to your needs.
The lr_config interface only allows generating a daily report from
a daily log file and generating a weekly report from a weekly log file.
>
> I've read the user manual, README's etc, to no avail.
>
> I remember installing lire in the past and upon running a script (was it
> 'lr_config') walked me through all the configurations for my different
> services.
>
The lr_config tool can still be used to do this, even if the usage
changed a little. You will have to create a new configuration file
(option a in the main menu). You then use the option 8 (Edit cron jobs).
You can then override any general Lire parameters in that job. You will
at least want to use the option "7" "Cron job settings".
>From this screen, you can set the log file to process, if the report
should be generated 'daily' or 'weekly', etc.
You still have to configure the cron jobs (execute 'lr_cron daily' daily
and 'lr_cron weekly' weekly)
Kind regards,
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030705/b798769a/attachment.bin
More information about the Questions
mailing list