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