* luci/statistics: add and enable load plugin by default
[project/luci.git] / applications / luci-statistics / root / etc / config / luci_statistics
1 config 'statistics' 'rrdtool'
2 option 'default_timespan' '1hour'
3 option 'image_width' '400'
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/lib/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 'Hosts' '127.0.0.1'
19
20 config 'statistics' 'collectd_csv'
21 option 'enable' '0'
22 option 'StoreRates' '0'
23 option 'DataDir' '/tmp'
24
25 config 'statistics' 'collectd_df'
26 option 'enable' '0'
27 option 'Devices' '/dev/mtdblock/4'
28 option 'MountPoints' '/jffs'
29 option 'FSTypes' 'tmpfs'
30 option 'IgnoreSelected' '0'
31
32 config 'statistics' 'collectd_disk'
33 option 'enable' '0'
34 option 'Disks' 'hda1 hdb'
35 option 'IgnoreSelected' '0'
36
37 config 'statistics' 'collectd_dns'
38 option 'enable' '0'
39 option 'Interfaces' 'ffdhcp ff br-lan'
40 option 'IgnoreSources' '127.0.0.1'
41
42 config 'statistics' 'collectd_email'
43 option 'enable' '0'
44 option 'SocketFile' '/var/run/collectd/email.sock'
45 option 'SocketGroup' 'nogroup'
46
47 config 'statistics' 'collectd_exec'
48 option 'enable' '1'
49
50 config 'collectd_exec_input'
51 option 'cmdline' '/usr/bin/stat-input-olsr'
52
53 config 'collectd_exec_notify'
54 option 'cmdline' '/usr/bin/stat-output-syslog'
55
56 config 'statistics' 'collectd_interface'
57 option 'enable' '1'
58 option 'Interfaces' 'br-lan br-ff'
59 option 'IgnoreSelected' '0'
60
61 config 'statistics' 'collectd_iptables'
62 option 'enable' '1'
63
64 config 'collectd_iptables_match'
65 option 'table' 'nat'
66 option 'chain' 'luci_fw_postrouting'
67 option 'target' 'MASQUERADE'
68 option 'source' '192.168.1.0/24'
69 option 'outputif' 'br-ff'
70 option 'name' 'Verkehr LAN-Clients'
71
72 config 'collectd_iptables_match'
73 option 'chain' 'luci_fw_postrouting'
74 option 'table' 'nat'
75 option 'target' 'MASQUERADE'
76 option 'source' '10.61.230.0/24'
77 option 'outputif' 'br-ff'
78 option 'name' 'Verkehr WLAN-Clients'
79
80 config 'statistics' 'collectd_irq'
81 option 'enable' '0'
82 option 'Irqs' '2 3 4 7'
83
84 config 'statistics' 'collectd_load'
85 option 'enable' '1'
86
87 config 'statistics' 'collectd_logfile'
88 option 'enable' '0'
89 option 'LogLevel' 'notice'
90 option 'File' '/var/log/collectd.log'
91 option 'Timestamp' '1'
92
93 config 'statistics' 'collectd_netlink'
94 option 'enable' '0'
95 option 'IgnoreSelected' '0'
96 option 'VerboseInterfaces' 'br-lan br-ff'
97 option 'QDiscs' 'br-lan br-ff'
98
99 config 'statistics' 'collectd_network'
100 option 'enable' '0'
101
102 config 'collectd_network_listen'
103 option 'host' '0.0.0.0'
104
105 config 'collectd_network_server'
106 option 'host' '0.0.0.0'
107
108 config 'statistics' 'collectd_processes'
109 option 'enable' '1'
110
111 config 'statistics' 'collectd_tcpconns'
112 option 'enable' '1'
113 option 'ListeningPorts' '0'
114 option 'LocalPorts' '22 80'
115
116 config 'statistics' 'collectd_unixsock'
117 option 'enable' '0'
118 option 'SocketFile' '/var/run/collectd/query.sock'
119 option 'SocketGroup' 'nogroup'
120
121 config 'statistics' 'collectd_wireless'
122 option 'enable' '1'
123
124 config 'statistics' 'collectd_cpu'
125 option 'enable' '1'
126
127 config 'statistics' 'collectd_rrdtool'
128 option 'enable' '1'
129 option 'DataDir' '/tmp'
130 option 'RRARows' '100'
131 option 'RRASingle' '1'
132 option 'RRATimespans' '10min 1hour 1day 1week 1month 1year'