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