Merge pull request #1250 from dibdot/luci-app-travelmate
[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_apcups'
53         option enable '0'
54         option Host 'localhost'
55         option Port '3551'
56
57 config statistics 'collectd_conntrack'
58         option enable '0'
59
60 config statistics 'collectd_contextswitch'
61         option enable '0'
62
63 config statistics 'collectd_cpu'
64         option enable '1'
65
66 config statistics 'collectd_cpufreq'
67         option enable '0'
68
69 config statistics 'collectd_df'
70         option enable '0'
71         option Devices '/dev/mtdblock/4'
72         option MountPoints '/jffs'
73         option FSTypes 'tmpfs'
74         option IgnoreSelected '0'
75
76 config statistics 'collectd_disk'
77         option enable '0'
78         option Disks 'hda1 hdb'
79         option IgnoreSelected '0'
80
81 config statistics 'collectd_dns'
82         option enable '0'
83         option Interfaces 'br-lan'
84         option IgnoreSources '127.0.0.1'
85
86 config statistics 'collectd_entropy'
87         option enable '0'
88
89 config statistics 'collectd_exec'
90         option enable '0'
91
92 config statistics 'collectd_interface'
93         option enable '1'
94         option Interfaces 'br-lan'
95         option IgnoreSelected '0'
96
97 config statistics 'collectd_iptables'
98         option enable '0'
99
100 config collectd_iptables_match
101         option table 'nat'
102         option chain 'luci_fw_postrouting'
103         option target 'MASQUERADE'
104         option source '192.168.1.0/24'
105         option outputif 'br-ff'
106         option name 'LAN-Clients traffic'
107
108 config collectd_iptables_match
109         option chain 'luci_fw_postrouting'
110         option table 'nat'
111         option target 'MASQUERADE'
112         option source '10.61.230.0/24'
113         option outputif 'br-ff'
114         option name 'WLAN-Clients traffic'
115
116 config statistics 'collectd_irq'
117         option enable '0'
118         option Irqs '2 3 4 7'
119
120 config statistics 'collectd_iwinfo'
121         option enable '1'
122
123 config statistics 'collectd_load'
124         option enable '1'
125
126 config statistics 'collectd_memory'
127         option enable '1'
128
129 config statistics 'collectd_netlink'
130         option enable '0'
131         option IgnoreSelected '0'
132         option VerboseInterfaces 'br-lan'
133         option QDiscs 'br-lan'
134
135 config statistics 'collectd_nut'
136         option enable '0'
137         option UPS 'myupsname'
138
139 config statistics 'collectd_olsrd'
140         option enable '0'
141         option Port '2006'
142         option Host '127.0.0.1'
143
144 config statistics 'collectd_ping'
145         option enable '0'
146         option TTL '127'
147         option Interval '30'
148         option Hosts '127.0.0.1'
149
150 config statistics 'collectd_processes'
151         option enable '0'
152         option Processes 'uhttpd dnsmasq dropbear'
153
154 config statistics 'collectd_sensors'
155         option enable '0'
156
157 config statistics 'collectd_splash_leases'
158         option enable '0'
159
160 config statistics 'collectd_tcpconns'
161         option enable '0'
162         option ListeningPorts '0'
163         option LocalPorts '22 80'
164
165 config statistics 'collectd_thermal'
166         option enable '0'
167         option IgnoreSelected '0'
168         option Device ''
169
170 config statistics 'collectd_uptime'
171         option enable '0'
172