hey, Emacs: -*- nroff -*-
amavis-stats is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

AMAVIS-STATS 1 "March 17, 2004"
Please update the above date whenever this man page is modified.

Some roff macros, for reference:
.nh disable hyphenation
.hy enable hyphenation
.ad l left justify
.ad b justify to both left and right margins (default)
.nf disable filling
.fi enable filling
.br insert line break
.sp <n> insert n+1 empty lines
for manpage-specific macros, see man(7)
NAME
amavis-stats - generate scan statistics from amavis logfiles
SYNOPSIS
amavis-stats [options] logfile
DESCRIPTION
amavis-stats is a simple amavis statistics generator based on rrdtool. Infection statistics are read from amavis (sys)log entries and stored into rrd files.

There is an accompanying php script to actually generate the graphs. This man page is just for the perl script which parses the log files.

OPTIONS
amavis-stats accepts the following options:

-h Show summary of options and exit.

-v does nothing (legacy option)

-V print version number and exit

-q keep quiet - no output

-f logfile legacy way of specifying input file. No longer needed but kept to not break existing cron jobs

-d Print debugging message to stderr (lots!)

-l Enable locale(7) support. By default amavis-stats assumes syslog or AMaViS records English dates. If you want to use the default locale instead (as specified by the LC_* environment variables) use this flag.

-r Reset file pointer to 0. Normally the logfile is parsed from from where the last run ended.

FILES

/var/lib/amavis-stats/ location of rrd files and state information.

/var/lib/amavis-stats/img image cache directory.

/usr/share/amavis-stats/amavis-stats.php php script for generating graphs. .SH "SEE ALSO"
.BR foo (1),
.BR bar (1).

AUTHOR
Mark Lawrence <nomad@null.net>.