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