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