#
# Configuration file for /usr/local/etc/periodic/daily/accounting
# and /usr/local/etc/periodic/daily/accounting
#
# Use sh(1) syntax for variable definition
#

# Whom to mail the report
recipient=root

# Where to put the reports for archive. This directory must already exist,
# else periodic scripts will fail.
storage=/usr/local/www/data/acct

# Where the accounting databases reside
prefix=/var/account

# Where the squid's yesterday log file is stored (applicable only when
# process_squid is enabled - see below). Log file should be gzipped.
squid_logs=proxy1:/net/proxy1/var/log/squid/access.log.0.gz \
	proxy2:/net/proxy2/var/log/squid/access.log.0.gz

# Whether or not to compress the rotated month databases (YES/NO)
compress_rotated=NO

# Number of months for which to keep the data
keep=12

# Whether to process databases of specific traffic types (YES/NO)
process_ip=YES
process_squid=YES
process_sendmail=YES
process_mailgate=NO

# Applicable for IP traffic only: wether to find daily maximum value among all
# routers for each source-destination pair. If disabled, accounting data is
# stored for each of the routers you take statistics from. Else data for each
# src-dst pair is stored only from that router for which daily traffic value
# for that pair was maximum.
#
# The usefullness of this action depends on your network topology.
#
# Especially useful if you have backup routes activated if one of your routers
# dies.
#
# Also useful if you have complex network and you don't wish to configure
# in AcctLog.conf which router's data to count for each group of hosts (you'll
# just put "*" instead of router tag in a table column description).
#
# No less it is useful if you need to count traffic even if it doesn't reach
# its destination (e.g. if one of your routers dies but the traffic flow
# passes preceding routers on the way).
#
# Enabling this also helps you to save a lot of disk space, because less data
# is stored.
#
# Absolutely useless if you have only one router or if you prefer to count data
# only from a specific router for each group of hosts.
#
# Sould be YES or NO.
#
ip_daily_max=YES

# Whether to compose the report as plaintext or html (plaintext/html)
report_type=html

