bdd19a0d88548c499cfa5a996fc23180b0ba7aed
[project/luci.git] / applications / luci-statistics / root / etc / config / luci_statistics
1 config 'statistics' 'rrdtool'
2         option 'default_timespan' '1hour'
3         option 'image_width' '600'
4         option 'image_path' '/tmp/rrdimg'
5
6 config 'statistics' 'collectd'
7         option 'BaseDir' '/var/run/collectd'
8         option 'Include' '/etc/collectd/conf.d'
9         option 'PIDFile' '/var/run/collectd.pid'
10         option 'PluginDir' '/usr/lib/collectd'
11         option 'TypesDB' '/usr/share/collectd/types.db'
12         option 'Interval' '30'
13         option 'ReadThreads' '2'
14
15 config 'statistics' 'collectd_ping'
16         option 'enable' '0'
17         option 'TTL' '127'
18         option 'Interval' '30'
19         option 'Hosts' '127.0.0.1'
20
21 config 'statistics' 'collectd_csv'
22         option 'enable' '0'
23         option 'StoreRates' '0'
24         option 'DataDir' '/tmp'
25
26 config 'statistics' 'collectd_df'
27         option 'enable' '0'
28         option 'Devices' '/dev/mtdblock/4'
29         option 'MountPoints' '/jffs'
30         option 'FSTypes' 'tmpfs'
31         option 'IgnoreSelected' '0'
32
33 config 'statistics' 'collectd_disk'
34         option 'enable' '0'
35         option 'Disks' 'hda1 hdb'
36         option 'IgnoreSelected' '0'
37
38 config 'statistics' 'collectd_dns'
39         option 'enable' '0'
40         option 'Interfaces' 'ffdhcp ff br-lan'
41         option 'IgnoreSources' '127.0.0.1'
42
43 config 'statistics' 'collectd_email'
44         option 'enable' '0'
45         option 'SocketFile' '/var/run/collectd/email.sock'
46         option 'SocketGroup' 'nogroup'
47
48 config 'statistics' 'collectd_exec'
49         option 'enable' '0'
50
51 config 'statistics' 'collectd_interface'
52         option 'enable' '1'
53         option 'Interfaces' 'br-lan br-ff'
54         option 'IgnoreSelected' '0'
55
56 config 'statistics' 'collectd_iptables'
57         option 'enable' '1'
58
59 config 'collectd_iptables_match'
60         option 'table' 'nat'
61         option 'chain' 'luci_fw_postrouting'
62         option 'target' 'MASQUERADE'
63         option 'source' '192.168.1.0/24'
64         option 'outputif' 'br-ff'
65         option 'name' 'Verkehr LAN-Clients'
66
67 config 'collectd_iptables_match'
68         option 'chain' 'luci_fw_postrouting'
69         option 'table' 'nat'
70         option 'target' 'MASQUERADE'
71         option 'source' '10.61.230.0/24'
72         option 'outputif' 'br-ff'
73         option 'name' 'Verkehr WLAN-Clients'
74
75 config 'statistics' 'collectd_irq'
76         option 'enable' '0'
77         option 'Irqs' '2 3 4 7'
78
79 config 'statistics' 'collectd_load'
80         option 'enable' '1'
81
82 config 'statistics' 'collectd_logfile'
83         option 'enable' '0'
84         option 'LogLevel' 'notice'
85         option 'File' '/var/log/collectd.log'
86         option 'Timestamp' '1'
87
88 config 'statistics' 'collectd_netlink'
89         option 'enable' '0'
90         option 'IgnoreSelected' '0'
91         option 'VerboseInterfaces' 'br-lan br-ff'
92         option 'QDiscs' 'br-lan br-ff'
93
94 config 'statistics' 'collectd_network'
95         option 'enable' '0'
96
97 config 'statistics' 'collectd_processes'
98         option 'enable' '1'
99         option 'Processes' 'uhttpd dnsmasq dropbear'
100
101 config 'statistics' 'collectd_tcpconns'
102         option 'enable' '1'
103         option 'ListeningPorts' '0'
104         option 'LocalPorts' '22 80'
105
106 config 'statistics' 'collectd_unixsock'
107         option 'enable' '0'
108         option 'SocketFile' '/var/run/collectd/query.sock'
109         option 'SocketGroup' 'nogroup'
110
111 config 'statistics' 'collectd_wireless'
112         option 'enable' '1'
113
114 config 'statistics' 'collectd_cpu'
115         option 'enable' '1'
116
117 config 'statistics' 'collectd_rrdtool'
118         option 'enable' '1'
119         option 'DataDir' '/tmp'
120         option 'RRARows' '100'
121         option 'RRASingle' '1'
122         option 'RRATimespans' '1hour 1day 1week 1month 1year'
123
124 config 'statistics' 'collectd_memory'
125         option 'enable' '1'
126
127 config 'statistics' 'collectd_conntrack'
128         option 'enable' '1'
129
130 config 'statistics' 'collectd_olsrd'
131         option 'enable' '1'
132         option 'Port' '2006'
133         option 'Host' '127.0.0.1'