Mercurial > wflogs-daemon
annotate wflogs-daemon.conf @ 11:1b7813f588ba stable-1-0-1
fix type in config file
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 17 May 2013 13:29:14 -0700 |
parents | f78173fad15f |
children |
rev | line source |
---|---|
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
1 context fast-response { |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
2 period 120; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
3 versions 20; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
4 output "/var/www/html/firewall.0fast.%d.html"; |
4
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
5 tempin "/var/lib/wflogs-daemon/wflogs.fast.input"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
6 wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.fast.input wflogs.fast.input.tmp; nice wflogs -i all -o html wflogs.fast.input.tmp >%s &"; |
4
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
7 file "/var/log/messages"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
8 pattern "rt01 kernel"; |
4
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
9 }; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
10 |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
11 context hourly { |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
12 period 3600; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
13 versions 4; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
14 trigger hourly; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
15 output "/var/www/html/firewall.1hourly.%d.html"; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
16 tempin "/var/lib/wflogs-daemon/wflogs.hourly.input"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
17 wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.hourly.input wflogs.hourly.input.tmp; nice wflogs -i all -o html wflogs.hourly.input.tmp >%s &"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
18 file "/var/log/messages"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
19 pattern "rt01 kernel"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
20 }; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
21 |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
22 context daily { |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
23 period 86400; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
24 versions 7; |
4
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
25 trigger daily; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
26 output "/var/www/html/firewall.2daily.%d.html"; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
27 tempin "/var/lib/wflogs-daemon/wflogs.daily.input"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
28 wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.daily.input wflogs.daily.input.tmp; nice wflogs -i all -o html wflogs.daily.input.tmp >%s &"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
29 file "/var/log/messages"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
30 pattern "rt01 kernel"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
31 }; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
32 |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
33 context weekly { |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
34 period 604800; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
35 versions 4; |
4
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
36 trigger weekly; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
37 output "/var/www/html/firewall.3weekly.%d.html"; |
37eace15ef87
allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
Carl Byington <carl@five-ten-sg.com>
parents:
2
diff
changeset
|
38 tempin "/var/lib/wflogs-daemon/wflogs.weekly.input"; |
11
1b7813f588ba
fix type in config file
Carl Byington <carl@five-ten-sg.com>
parents:
10
diff
changeset
|
39 wflogs "cd /var/lib/wflogs-daemon; mv -f wflogs.weekly.input wflogs.weekly.input.tmp; nice wflogs -i all -o html wflogs.weekly.input.tmp >%s &"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
40 file "/var/log/messages"; |
10
f78173fad15f
fix input files overwritten before background task can process them
Carl Byington <carl@five-ten-sg.com>
parents:
4
diff
changeset
|
41 pattern "rt01 kernel"; |
2
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
42 }; |
400b1de6e1c6
allow multiple config contexts
Carl Byington <carl@five-ten-sg.com>
parents:
0
diff
changeset
|
43 |