1bb183f367bcc8f63f10127896f8081179e308d4
[project/luci.git] / applications / luci-statistics / files / etc / config / luci_statistics
1
2 config 'statistics' 'general'
3         option 'BaseDir' '/var/run/collectd'
4         option 'Include' '/etc/collectd/conf.d'
5         option 'PIDFile' '/var/run/collectd.pid'
6         option 'PluginDir' '/usr/lib/collectd'
7         option 'TypesDB' '/etc/collectd/types.db'
8         option 'Interval' '30'
9         option 'ReadThreads' '2'
10
11 config 'statistics' 'collectd_ping'
12         option 'enable' '1'
13         option 'TTL' '127'
14         option 'Hosts' '127.0.0.1'
15
16 config 'statistics' 'collectd_csv'
17         option 'enable' '0'
18         option 'StoreRates' '0'
19         option 'DataDir' '/tmp'
20
21 config 'statistics' 'collectd_df'
22         option 'enable' '1'
23         option 'Devices' '/dev/mtdblock/4'
24         option 'MountPoints' '/jffs'
25         option 'FSTypes' 'tmpfs'
26         option 'IgnoreSelected' '0'
27
28 config 'statistics' 'collectd_disk'
29         option 'enable' '1'
30         option 'Disks' 'hda1 hdb'
31         option 'IgnoreSelected' '0'
32
33 config 'statistics' 'collectd_dns'
34         option 'enable' '1'
35         option 'Interfaces' 'ffdhcp ff br-lan'
36         option 'IgnoreSources' '127.0.0.1'
37
38 config 'statistics' 'collectd_email'
39         option 'enable' '1'
40         option 'SocketFile' '/var/run/collectd/email.sock'
41         option 'SocketGroup' 'nogroup'
42
43 config 'statistics' 'collectd_exec'
44         option 'enable' '1'
45
46 config 'collectd_exec_input'
47         option 'cmdline' '/usr/bin/stat-input-olsr'
48
49 config 'collectd_exec_notify'
50         option 'cmdline' '/usr/bin/stat-output-syslog'
51
52 config 'statistics' 'collectd_interface'
53         option 'enable' '1'
54         option 'Interfaces' 'br-lan br-ff'
55         option 'IgnoreSelected' '0'
56
57 config 'statistics' 'collectd_iptables'
58         option 'enable' '1'
59
60 config 'collectd_iptables_match'
61         option 'table' 'nat'
62         option 'chain' 'luci_freifunk_postrouting'
63         option 'target' 'MASQUERADE'
64         option 'source' '192.168.1.0/24'
65         option 'outputif' 'br-ff'
66         option 'name' 'Verkehr LAN-Clients'
67
68 config 'collectd_iptables_match'
69         option 'chain' 'luci_freifunk_postrouting'
70         option 'table' 'nat'
71         option 'target' 'MASQUERADE'
72         option 'source' '10.61.230.0/24'
73         option 'outputif' 'br-ff'
74         option 'name' 'Verkehr WLAN-Clients'
75
76 config 'statistics' 'collectd_irq'
77         option 'enable' '1'
78         option 'Irqs' '2 3 4 7'
79
80 config 'statistics' 'collectd_logfile'
81         option 'enable' '0'
82         option 'LogLevel' 'notice'
83         option 'File' '/var/log/collectd.log'
84         option 'Timestamp' '1'
85
86 config 'statistics' 'collectd_netlink'
87         option 'enable' '1'
88         option 'IgnoreSelected' '0'
89         option 'VerboseInterfaces' 'br-lan br-ff'
90         option 'QDiscs' 'br-lan br-ff'
91
92 config 'statistics' 'collectd_network'
93         option 'enable' '0'
94
95 config 'collectd_network_listen'
96         option 'host' '0.0.0.0'
97
98 config 'collectd_network_server'
99         option 'host' '0.0.0.0'
100
101 config 'statistics' 'collectd_processes'
102         option 'enable' '1'
103
104 config 'statistics' 'collectd_tcpconns'
105         option 'enable' '1'
106         option 'ListeningPorts' '0'
107         option 'LocalPorts' '22 80 443'
108
109 config 'statistics' 'collectd_unixsock'
110         option 'enable' '0'
111         option 'SocketFile' '/var/run/collectd/query.sock'
112         option 'SocketGroup' 'nogroup'
113
114 config 'statistics' 'collectd_wireless'
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'