summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root/etc/config/luci_statistics
blob: f7783d73f30bb136d4fe0fc8a1f55be3c6ddfae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# general settings

config statistics 'collectd'
	option BaseDir '/var/run/collectd'
#	option Include '/etc/collectd/conf.d'
	option PIDFile '/var/run/collectd.pid'
	option PluginDir '/usr/lib/collectd'
	option TypesDB '/usr/share/collectd/types.db'
	option Interval '30'
	option ReadThreads '2'

config statistics 'rrdtool'
	option default_timespan '2hour'
	option image_width '600'
	option image_height '150'
	option image_path '/tmp/rrdimg'

# output plugins

config statistics 'collectd_rrdtool'
	option enable '1'
	option DataDir '/tmp/rrd'
	option RRARows '288'
	option RRASingle '1'
	option RRATimespans '2hour 1day 1week 1month 1year'

config statistics 'collectd_csv'
	option enable '0'
	option StoreRates '0'
	option DataDir '/tmp'

config statistics 'collectd_email'
	option enable '0'
	option SocketFile '/var/run/collectd/email.sock'
	option SocketGroup 'nogroup'

config statistics 'collectd_logfile'
	option enable '0'
	option LogLevel 'notice'
	option File '/var/log/collectd.log'
	option Timestamp '1'

config statistics 'collectd_network'
	option enable '0'

config statistics 'collectd_syslog'
	option enable '0'
	option LogLevel 'warning'
	option NotifyLevel 'WARNING'

config statistics 'collectd_unixsock'
	option enable '0'
	option SocketFile '/var/run/collectd/query.sock'
	option SocketGroup 'nogroup'

# input plugins

config statistics 'collectd_apcups'
	option enable '0'
	option Host 'localhost'
	option Port '3551'

config statistics 'collectd_chrony'
	option enable '0'
	option Host '127.0.0.1'
	option Port '323'
	option Timeout '2'

config statistics 'collectd_conntrack'
	option enable '0'

config statistics 'collectd_contextswitch'
	option enable '0'

config statistics 'collectd_cpu'
	option enable '1'
	option ReportByCpu '1'
	option ReportByState '1'
	option ShowIdle '0'
	option ValuesPercentage '1'

config statistics 'collectd_cpufreq'
	option enable '0'

config statistics 'collectd_curl'
	option enable '0'

config statistics 'collectd_df'
	option enable '0'
	option Devices '/dev/mtdblock/4'
	option MountPoints '/overlay'
	option FSTypes 'tmpfs'
	option IgnoreSelected '0'
	option ValuesPercentage '0'

config statistics 'collectd_dhcpleases'
	option enable '0'
	option Path '/tmp/dhcp.leases'

config statistics 'collectd_disk'
	option enable '0'
	option Disks 'hda1 hdb'
	option IgnoreSelected '0'

config statistics 'collectd_dns'
	option enable '0'
	option Interfaces 'br-lan'
	option IgnoreSources '127.0.0.1'

config statistics 'collectd_entropy'
	option enable '0'

config statistics 'collectd_exec'
	option enable '0'

#example for sqm_collect plugin
#config collectd_exec_input
#        option cmduser 'nobody'
#        option cmdgroup 'nogroup'
#        option cmdline '/usr/libexec/collectd/sqm_collectd.sh eth0 ifb4eth0'

config statistics 'collectd_interface'
	option enable '1'
	option Interfaces 'br-lan'
	option IgnoreSelected '0'

config statistics 'collectd_ipstatistics'
	option enable '0'

config statistics 'collectd_iptables'
	option enable '0'

config collectd_iptables_match
	option table 'nat'
	option chain 'luci_fw_postrouting'
	option target 'MASQUERADE'
	option source '192.168.1.0/24'
	option outputif 'br-ff'
	option name 'LAN-Clients traffic'

config collectd_iptables_match
	option chain 'luci_fw_postrouting'
	option table 'nat'
	option target 'MASQUERADE'
	option source '10.61.230.0/24'
	option outputif 'br-ff'
	option name 'WLAN-Clients traffic'

config statistics 'collectd_irq'
	option enable '0'
	option Irqs '2 3 4 7'

config statistics 'collectd_iwinfo'
	option enable '1'

config statistics 'collectd_load'
	option enable '1'

config statistics 'collectd_memory'
	option enable '1'
	option HideFree '0'
	option ValuesAbsolute '1'
	option ValuesPercentage '0'

config statistics 'collectd_netlink'
	option enable '0'
	option IgnoreSelected '0'
	option VerboseInterfaces 'br-lan'
	option QDiscs 'br-lan'

config statistics 'collectd_nut'
	option enable '0'
	list UPS 'myupsname'

config statistics 'collectd_olsrd'
	option enable '0'
	option Port '2006'
	option Host '127.0.0.1'

config statistics 'collectd_openvpn'
	option enable '0'

config statistics 'collectd_ping'
	option enable '0'
	option TTL '127'
	option Interval '30'
	option Hosts '127.0.0.1'

config statistics 'collectd_processes'
	option enable '0'
	option Processes 'uhttpd dnsmasq dropbear'

config statistics 'collectd_sensors'
	option enable '0'

config statistics 'collectd_snmp6'
	option enable '0'
	option Interfaces 'br-lan'
	option IgnoreSelected '0'

config statistics 'collectd_splash_leases'
	option enable '0'

config statistics 'collectd_tcpconns'
	option enable '0'
	option ListeningPorts '0'
	list LocalPorts '22'
	option AllPortsSummary '0'

config statistics 'collectd_thermal'
	option enable '0'
	option IgnoreSelected '0'
	option Device ''

config statistics 'collectd_uptime'
	option enable '0'