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