]>
Commit | Line | Data |
---|---|---|
9da4db9f | 1 | #################################################### |
2 | # Bandwidthd.conf | |
3 | # | |
4 | # Commented out options are here to provide | |
5 | # documentation and represent defaults | |
6 | ||
7 | # Subnets to collect statistics on. Traffic that | |
8 | # matches none of these subnets will be ignored. | |
9 | # Syntax is either IP Subnet Mask or CIDR | |
10 | #subnet 10.0.0.0 255.0.0.0 | |
11 | subnet 192.168.0.0/24 | |
12 | #subnet 172.16.0.0/12 | |
13 | ||
14 | # Device to listen on | |
15 | # Bandwidthd listens on the first device it detects | |
16 | # by default. Run "bandwidthd -l" for a list of | |
17 | # devices. | |
18 | #dev "eth0" | |
19 | ||
20 | ################################################### | |
21 | # Options that don't usually get changed | |
22 | ||
23 | # An interval is 2.5 minutes, this is how many | |
24 | # intervals to skip before doing a graphing run | |
25 | #skip_intervals 0 | |
26 | ||
27 | # Graph cutoff is how many k must be transfered by an | |
28 | # ip before we bother to graph it | |
29 | #graph_cutoff 1024 | |
30 | ||
31 | #Put interface in promiscuous mode to score to traffic | |
32 | #that may not be routing through the host machine. | |
33 | promiscuous false | |
34 | ||
35 | #Log data to cdf file htdocs/log.cdf | |
36 | output_cdf true | |
37 | ||
38 | #Read back the cdf file on startup | |
39 | recover_cdf true | |
40 | ||
41 | #Libpcap format filter string used to control what bandwidthd see's | |
42 | #Please always include "ip" in the string to avoid strange problems | |
43 | #filter "ip" | |
44 | ||
45 | #Draw Graphs - This default to true to graph the traffic bandwidthd is recording | |
46 | #Usually set this to false if you only want cdf output or | |
47 | #you are using the database output option. Bandwidthd will use very little | |
48 | #ram and cpu if this is set to false. | |
49 | graph true | |
50 | ||
51 | #Set META REFRESH seconds (default 150, use 0 to disable). | |
52 | meta_refresh 150 | |
53 |