Translated using Weblate (Japanese)
[oweals/luci.git] / applications / luci-app-statistics / root / etc / config / luci_statistics
1 # general settings
2
3 config statistics 'collectd'
4         option BaseDir '/var/run/collectd'
5         option Include '/etc/collectd/conf.d'
6         option PIDFile '/var/run/collectd.pid'
7         option PluginDir '/usr/lib/collectd'
8         option TypesDB '/usr/share/collectd/types.db'
9         option Interval '30'
10         option ReadThreads '2'
11
12 config statistics 'rrdtool'
13         option default_timespan '1hour'
14         option image_width '600'
15         option image_path '/tmp/rrdimg'
16
17 # output plugins
18
19 config statistics 'collectd_rrdtool'
20         option enable '1'
21         option DataDir '/tmp/rrd'
22         option RRARows '144'
23         option RRASingle '1'
24         option RRATimespans '1hour 1day 1week 1month 1year'
25
26 config statistics 'collectd_csv'
27         option enable '0'
28         option StoreRates '0'
29         option DataDir '/tmp'
30
31 config statistics 'collectd_email'
32         option enable '0'
33         option SocketFile '/var/run/collectd/email.sock'
34         option SocketGroup 'nogroup'
35
36 config statistics 'collectd_logfile'
37         option enable '0'
38         option LogLevel 'notice'
39         option File '/var/log/collectd.log'
40         option Timestamp '1'
41
42 config statistics 'collectd_network'
43         option enable '0'
44
45 config statistics 'collectd_syslog'
46    option enable '0'
47    option LogLevel 'warning'
48    option NotifyLevel 'WARNING'
49
50 config statistics 'collectd_unixsock'
51         option enable '0'
52         option SocketFile '/var/run/collectd/query.sock'
53         option SocketGroup 'nogroup'
54
55 # input plugins
56
57 config statistics 'collectd_apcups'
58         option enable '0'
59         option Host 'localhost'
60         option Port '3551'
61
62 config statistics 'collectd_conntrack'
63         option enable '0'
64
65 config statistics 'collectd_contextswitch'
66         option enable '0'
67
68 config statistics 'collectd_cpu'
69         option enable '1'
70
71 config statistics 'collectd_cpufreq'
72         option enable '0'
73
74 config statistics 'collectd_curl'
75         option enable '0'
76
77 config statistics 'collectd_df'
78         option enable '0'
79         option Devices '/dev/mtdblock/4'
80         option MountPoints '/jffs'
81         option FSTypes 'tmpfs'
82         option IgnoreSelected '0'
83
84 config statistics 'collectd_disk'
85         option enable '0'
86         option Disks 'hda1 hdb'
87         option IgnoreSelected '0'
88
89 config statistics 'collectd_dns'
90         option enable '0'
91         option Interfaces 'br-lan'
92         option IgnoreSources '127.0.0.1'
93
94 config statistics 'collectd_entropy'
95         option enable '0'
96
97 config statistics 'collectd_exec'
98         option enable '0'
99
100 #example for sqm_collect plugin
101 #config collectd_exec_input
102 #        option cmduser 'nobody'
103 #        option cmdgroup 'nogroup'
104 #        option cmdline '/usr/libexec/collectd/sqm_collectd.sh eth0 ifb4eth0'
105
106 config statistics 'collectd_interface'
107         option enable '1'
108         option Interfaces 'br-lan'
109         option IgnoreSelected '0'
110
111 config statistics 'collectd_iptables'
112         option enable '0'
113
114 config collectd_iptables_match
115         option table 'nat'
116         option chain 'luci_fw_postrouting'
117         option target 'MASQUERADE'
118         option source '192.168.1.0/24'
119         option outputif 'br-ff'
120         option name 'LAN-Clients traffic'
121
122 config collectd_iptables_match
123         option chain 'luci_fw_postrouting'
124         option table 'nat'
125         option target 'MASQUERADE'
126         option source '10.61.230.0/24'
127         option outputif 'br-ff'
128         option name 'WLAN-Clients traffic'
129
130 config statistics 'collectd_irq'
131         option enable '0'
132         option Irqs '2 3 4 7'
133
134 config statistics 'collectd_iwinfo'
135         option enable '1'
136
137 config statistics 'collectd_load'
138         option enable '1'
139
140 config statistics 'collectd_memory'
141         option enable '1'
142         option ValuesAbsolute '1'
143         option ValuesPercentage '0'
144
145 config statistics 'collectd_netlink'
146         option enable '0'
147         option IgnoreSelected '0'
148         option VerboseInterfaces 'br-lan'
149         option QDiscs 'br-lan'
150
151 config statistics 'collectd_nut'
152         option enable '0'
153         list UPS 'myupsname'
154
155 config statistics 'collectd_olsrd'
156         option enable '0'
157         option Port '2006'
158         option Host '127.0.0.1'
159
160 config statistics 'collectd_ping'
161         option enable '0'
162         option TTL '127'
163         option Interval '30'
164         option Hosts '127.0.0.1'
165
166 config statistics 'collectd_processes'
167         option enable '0'
168         option Processes 'uhttpd dnsmasq dropbear'
169
170 config statistics 'collectd_sensors'
171         option enable '0'
172
173 config statistics 'collectd_splash_leases'
174         option enable '0'
175
176 config statistics 'collectd_tcpconns'
177         option enable '0'
178         option ListeningPorts '0'
179         option LocalPorts '22 80'
180
181 config statistics 'collectd_thermal'
182         option enable '0'
183         option IgnoreSelected '0'
184         option Device ''
185
186 config statistics 'collectd_uptime'
187         option enable '0'
188