]> git.pld-linux.org Git - packages/calamaris.git/blame - calamaris.sysconfig
- changed all BuildRoot definitons
[packages/calamaris.git] / calamaris.sysconfig
CommitLineData
3b558ceb 1# Customized settings for Calamaris
2# $Id$
3b558ceb 3
4# This file is written with few assumptions:
5# 1. Calamaris is run AFTER logrotate.
6# 2. Old logs are compressed (gzipped).
7# 3. Logs are rotated daily.
8
9# Arguments passed to Calamaris. See calamaris(1) man page for details.
10# Default is "-a" which produces all kinds, except for peek, of reports:
11# domain (-d 20), performance (-P 60), requester (-r -1), status (-s) and type
12# (-t 20).
13#CALAMARIS_ARGS="-a"
14
15# Reports can be generated as plin-text or HTML. This variable selects format
16# in which reports will be saved (if you enable saving them later in this
17# file). Can be "plain" or "HTML". Default is "HTML" and if this is OK for you,
18# you don't have to set this variable.
19#SAVE_FORMAT="HTML"
20
54a8876b 21# If reports are saved in http daemons directory, they should have correrct
22# permissions and owner, so the daemon can read them. By default user and
23# group are "nobody.nobody" and the permissions are "rw-r--r--".
24#SAVE_OWNER="nobody.nobody"
25#SAVE_PERM="rw-r--r--"
26
3b558ceb 27# This piece of HTML code is inserted at top of reports generated in HTML
28# format. Default is shown below.
29#HTML_LOGO="<H1>Caching Proxy Statistics</H1>"
30
31# This variable selects format of reports send via email. Can be "plain" or
32# "HTML". Default is "plain" and if this is OK for you, you don't have to set
33# this variable.
34#SEND_FORMAT="plain"
35
36# If you select to have reports delivered via email, they will be sent to
37# this address. Default is "root" and if this is OK for you, you don't have
38# to set this variable.
39#SEND_TO="root"
40
41# What to do with daily statistics. Can be "save", "send" or both. If empty,
42# daily statistics aren't generated. Default is "send" and if this is OK for
43# you, you don't have to set this variable.
44#DAILY_ACTION="send"
45
46# Logs to parse in order to create daily stats. Because of asumption that
47# this script is run *after* logrotate, log file is already compressed and
48# gzipped. Remember to not use any quotation if you want to use shell globs.
49# There is no default. You have to put something here.
50DAILY_FILES="/var/log/archiv/squid/access.log.1.gz"
51
52# Where to save daily stats. Ignored if DAILY_ACTION doesn't contain "save".
53# There is no default. You have to put something here.
54DAILY_SAVE_AS="/home/httpd/html/cache_log/daily.html"
55
56# What to do with weekly statistics. Can be "save", "send" or both. If empty,
57# weekly statistics aren't generated. Default is "send" and if this is OK for
58# you, you don't have to set this variable.
59#WEEKLY_ACTION="send"
60
61# Logs to parse in order to create weekly stats. Because of asumption that
62# this script is run *after* logrotate, all log files are already compressed
63# and gzipped. Remember to not use any quotation if you want to use shell
64# globs. There is no default. You have to put something here.
65WEEKLY_FILES=/var/log/archiv/squid/access.log.{7,6,5,4,3,2,1}*
66
67# Where to save weekly stats. Ignored if WEEKLY_ACTION doesn't contain "save".
68# There is no default. You have to put something here.
69WEEKLY_SAVE_AS=/home/httpd/html/cache_log/weekly.html
This page took 0.107045 seconds and 4 git commands to generate.