Remove apache and other pkgs. add libpam...
[librecmc/package-feed.git] / net / nlbwmon / files / nlbwmon.config
1 config nlbwmon
2         # Interval at which the temporary in-memory database is committed to
3         # the persistent database directory
4         option commit_interval 24h
5
6         # Interval at which traffic counters of still established connections
7         # are refreshed from netlink information
8         option refresh_interval 30s
9
10         # Storage directory for the database files
11         option database_directory /var/lib/nlbwmon
12
13         # Amount of database generations to retain. If the limit is reached,
14         # the oldest database files are deleted.
15         option database_generations 10
16
17         # Accounting period interval; may be either in the format YYYY-MM-DD/NN
18         # to start a new accounting period exactly every NN days, beginning at
19         # the given date, or a number specifiying the day of month at which to
20         # start the next accounting period.
21         #option database_interval '2017-01-17/14' # every 14 days, starting at Tue
22         #option database_interval '-2' # second last day of month, e.g. 30th in March
23         option database_interval '1' # first day of month (default)
24
25         # The maximum amount of entries that should be put into the database,
26         # setting the limit to 0 will allow databases to grow indefinitely.
27         option database_limit 10000
28
29         # Whether to preallocate the maximum possible database size in memory.
30         # This is mainly useful for memory constrained systems which might not
31         # be able to satisfy memory allocation after longer uptime periods.
32         # Only effective in conjunction with database_limit, ignored otherwise.
33         #option database_prealloc 0
34
35         # Whether to gzip compress archive databases. Compressing the database
36         # files makes accessing old data slightly slower but helps to reduce
37         # storage requirements.
38         #option database_compress 1
39
40         # Protocol description file, used to distinguish traffic streams by
41         # IP protocol number and port
42         option protocol_database /usr/share/nlbwmon/protocols
43
44         # List of local subnets. Only conntrack streams from or to any of these
45         # subnets are counted. Logical interface names may be specified to
46         # resolve the local subnets on the fly.
47         list local_network '192.168.0.0/16'
48         list local_network '172.16.0.0/12'
49         list local_network '10.0.0.0/8'
50         list local_network 'lan'
51