9636c57f88b746bdc0068f76d9fe3427516e21b8
[project/luci.git] / applications / luci-statistics / root / etc / config / luci_statistics
1 config 'statistics' 'collectd'
2 option 'BaseDir' '/var/run/collectd'
3 option 'Include' '/etc/collectd/conf.d'
4 option 'PIDFile' '/var/run/collectd.pid'
5 option 'PluginDir' '/usr/lib/collectd'
6 option 'TypesDB' '/etc/collectd/types.db'
7 option 'Interval' '30'
8 option 'ReadThreads' '2'
9
10 config 'statistics' 'collectd_ping'
11 option 'enable' '0'
12 option 'TTL' '127'
13 option 'Hosts' '127.0.0.1'
14
15 config 'statistics' 'collectd_csv'
16 option 'enable' '0'
17 option 'StoreRates' '0'
18 option 'DataDir' '/tmp'
19
20 config 'statistics' 'collectd_df'
21 option 'enable' '0'
22 option 'Devices' '/dev/mtdblock/4'
23 option 'MountPoints' '/jffs'
24 option 'FSTypes' 'tmpfs'
25 option 'IgnoreSelected' '0'
26
27 config 'statistics' 'collectd_disk'
28 option 'enable' '0'
29 option 'Disks' 'hda1 hdb'
30 option 'IgnoreSelected' '0'
31
32 config 'statistics' 'collectd_dns'
33 option 'enable' '0'
34 option 'Interfaces' 'ffdhcp ff br-lan'
35 option 'IgnoreSources' '127.0.0.1'
36
37 config 'statistics' 'collectd_email'
38 option 'enable' '0'
39 option 'SocketFile' '/var/run/collectd/email.sock'
40 option 'SocketGroup' 'nogroup'
41
42 config 'statistics' 'collectd_exec'
43 option 'enable' '1'
44
45 config 'collectd_exec_input'
46 option 'cmdline' '/usr/bin/stat-input-olsr'
47
48 config 'collectd_exec_notify'
49 option 'cmdline' '/usr/bin/stat-output-syslog'
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_freifunk_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_freifunk_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_logfile'
80 option 'enable' '0'
81 option 'LogLevel' 'notice'
82 option 'File' '/var/log/collectd.log'
83 option 'Timestamp' '1'
84
85 config 'statistics' 'collectd_netlink'
86 option 'enable' '1'
87 option 'IgnoreSelected' '0'
88 option 'VerboseInterfaces' 'br-lan br-ff'
89 option 'QDiscs' 'br-lan br-ff'
90
91 config 'statistics' 'collectd_network'
92 option 'enable' '0'
93
94 config 'collectd_network_listen'
95 option 'host' '0.0.0.0'
96
97 config 'collectd_network_server'
98 option 'host' '0.0.0.0'
99
100 config 'statistics' 'collectd_processes'
101 option 'enable' '1'
102
103 config 'statistics' 'collectd_tcpconns'
104 option 'enable' '1'
105 option 'ListeningPorts' '0'
106 option 'LocalPorts' '22 80 443'
107
108 config 'statistics' 'collectd_unixsock'
109 option 'enable' '0'
110 option 'SocketFile' '/var/run/collectd/query.sock'
111 option 'SocketGroup' 'nogroup'
112
113 config 'statistics' 'collectd_wireless'
114 option 'enable' '1'
115
116 config 'statistics' 'collectd_rrdtool'
117 option 'enable' '1'
118 option 'DataDir' '/tmp'
119 option 'RRARows' '100'
120 option 'RRASingle' '0'
121 option 'RRATimespans' '600 86400 604800 2678400'