a1e6a6b86b7212cccb8b581e531072e8db531aab
[project/luci.git] / applications / luci-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_exec'
49 option 'enable' '0'
50
51 config 'statistics' 'collectd_interface'
52 option 'enable' '1'
53 option 'Interfaces' 'br-lan br-ff'
54 option 'IgnoreSelected' '0'
55
56 config 'statistics' 'collectd_iptables'
57 option 'enable' '1'
58
59 config 'collectd_iptables_match'
60 option 'table' 'nat'
61 option 'chain' 'luci_fw_postrouting'
62 option 'target' 'MASQUERADE'
63 option 'source' '192.168.1.0/24'
64 option 'outputif' 'br-ff'
65 option 'name' 'Verkehr LAN-Clients'
66
67 config 'collectd_iptables_match'
68 option 'chain' 'luci_fw_postrouting'
69 option 'table' 'nat'
70 option 'target' 'MASQUERADE'
71 option 'source' '10.61.230.0/24'
72 option 'outputif' 'br-ff'
73 option 'name' 'Verkehr WLAN-Clients'
74
75 config 'statistics' 'collectd_irq'
76 option 'enable' '0'
77 option 'Irqs' '2 3 4 7'
78
79 config 'statistics' 'collectd_load'
80 option 'enable' '1'
81
82 config 'statistics' 'collectd_logfile'
83 option 'enable' '0'
84 option 'LogLevel' 'notice'
85 option 'File' '/var/log/collectd.log'
86 option 'Timestamp' '1'
87
88 config 'statistics' 'collectd_netlink'
89 option 'enable' '0'
90 option 'IgnoreSelected' '0'
91 option 'VerboseInterfaces' 'br-lan br-ff'
92 option 'QDiscs' 'br-lan br-ff'
93
94 config 'statistics' 'collectd_network'
95 option 'enable' '0'
96
97 config 'statistics' 'collectd_processes'
98 option 'enable' '1'
99 option 'Processes' 'uhttpd dnsmasq dropbear'
100
101 config 'statistics' 'collectd_tcpconns'
102 option 'enable' '1'
103 option 'ListeningPorts' '0'
104 option 'LocalPorts' '22 80'
105
106 config 'statistics' 'collectd_unixsock'
107 option 'enable' '0'
108 option 'SocketFile' '/var/run/collectd/query.sock'
109 option 'SocketGroup' 'nogroup'
110
111 config 'statistics' 'collectd_cpu'
112 option 'enable' '1'
113
114 config 'statistics' 'collectd_rrdtool'
115 option 'enable' '1'
116 option 'DataDir' '/tmp/rrd'
117 option 'RRARows' '100'
118 option 'RRASingle' '1'
119 option 'RRATimespans' '1hour 1day 1week 1month 1year'
120
121 config 'statistics' 'collectd_memory'
122 option 'enable' '1'
123
124 config 'statistics' 'collectd_conntrack'
125 option 'enable' '1'
126
127 config 'statistics' 'collectd_olsrd'
128 option 'enable' '1'
129 option 'Port' '2006'
130 option 'Host' '127.0.0.1'
131
132 config 'statistics' 'collectd_iwinfo'
133 option 'enable' '1'