Code

Remove generated manpages in the clean target.
[pkg-collectd.git] / debian / collectd.conf
1 # Config file for collectd(1).
2 #
3 # Some plugins need additional configuration and are disabled by default.
4 # Please read collectd.conf(5) for details.
5 #
6 # You should also read /usr/share/doc/collectd/README.Debian.plugins before
7 # enabling any more plugins.
9 #Hostname "localhost"
10 FQDNLookup true
11 #BaseDir "/var/lib/collectd"
12 #PluginDir "/usr/lib/collectd"
13 #TypesDB "/usr/lib/collectd/types.db" "/etc/collectd/my_types.db"
14 #Interval 10
15 #ReadThreads 5
17 #LoadPlugin logfile
18 LoadPlugin syslog
20 #<Plugin logfile>
21 #       LogLevel "info"
22 #       File STDOUT
23 #       Timestamp true
24 #</Plugin>
26 <Plugin syslog>
27         LogLevel info
28 </Plugin>
30 #LoadPlugin apache
31 #LoadPlugin apcups
32 #LoadPlugin ascent
33 LoadPlugin battery
34 LoadPlugin cpu
35 #LoadPlugin cpufreq
36 #LoadPlugin csv
37 LoadPlugin df
38 LoadPlugin disk
39 #LoadPlugin dns
40 #LoadPlugin email
41 LoadPlugin entropy
42 #LoadPlugin exec
43 #LoadPlugin hddtemp
44 LoadPlugin interface
45 #LoadPlugin ipmi
46 #LoadPlugin iptables
47 #LoadPlugin ipvs
48 LoadPlugin irq
49 #LoadPlugin libvirt
50 LoadPlugin load
51 #LoadPlugin mbmon
52 #LoadPlugin memcached
53 LoadPlugin memory
54 #LoadPlugin multimeter
55 #LoadPlugin mysql
56 #LoadPlugin netlink
57 #LoadPlugin network
58 #LoadPlugin nfs
59 #LoadPlugin nginx
60 #LoadPlugin ntpd
61 #LoadPlugin nut
62 #LoadPlugin perl
63 #LoadPlugin ping
64 #LoadPlugin powerdns
65 LoadPlugin processes
66 LoadPlugin rrdtool
67 #LoadPlugin sensors
68 #LoadPlugin serial
69 #LoadPlugin snmp
70 LoadPlugin swap
71 #LoadPlugin tail
72 #LoadPlugin tcpconns
73 #LoadPlugin teamspeak2
74 #LoadPlugin unixsock
75 LoadPlugin users
76 #LoadPlugin uuid
77 #LoadPlugin vmem
78 #LoadPlugin vserver
79 #LoadPlugin wireless
81 #<Plugin apache>
82 #       URL "http://localhost/status?auto"
83 #       User "www-user"
84 #       Password "secret"
85 #       VerifyPeer false
86 #       VerifyHost false
87 #       CACert "/etc/ssl/ca.crt"
88 #</Plugin>
90 #<Plugin apcups>
91 #       Host "localhost"
92 #       Port "3551"
93 #</Plugin>
95 #<Plugin ascent>
96 #       URL "http://localhost/ascent/status/"
97 #       User "www-user"
98 #       Password "secret"
99 #       CACert "/etc/ssl/ca.crt"
100 #</Plugin>
102 #<Plugin csv>
103 #       DataDir "/var/lib/collectd/csv"
104 #       StoreRates false
105 #</Plugin>
107 #<Plugin df>
108 #       Device "/dev/sda1"
109 #       Device "192.168.0.2:/mnt/nfs"
110 #       MountPoint "/home"
111 #       FSType "ext3"
112 #       IgnoreSelected false
113 #</Plugin>
115 #<Plugin disk>
116 #       Disk "hda"
117 #       Disk "/sda[23]/"
118 #       IgnoreSelected false
119 #</Plugin>
121 #<Plugin dns>
122 #       Interface "eth0"
123 #       IgnoreSource "192.168.0.1"
124 #</Plugin>
126 #<Plugin email>
127 #       SocketGroup "collectd"
128 #       SocketPerms "0770"
129 #       MaxConns 5
130 #</Plugin>
132 #<Plugin exec>
133 #       Exec user "/path/to/exec"
134 #       Exec "user:group" "/path/to/exec"
135 #       NotificationExec user "/path/to/exec"
136 #</Plugin>
138 #<Plugin hddtemp>
139 #       Host "127.0.0.1"
140 #       Port 7634
141 #       TranslateDevicename false
142 #</Plugin>
144 #<Plugin interface>
145 #       Interface "eth0"
146 #       IgnoreSelected false
147 #</Plugin>
149 #<Plugin iptables>
150 #       Chain "table" "chain"
151 #</Plugin>
153 #<Plugin irq>
154 #       Irq 7
155 #       Irq 8
156 #       Irq 9
157 #       IgnoreSelected true
158 #</Plugin>
160 #<Plugin libvirt>
161 #       Connection "xen:///"
162 #       RefreshInterval 60
163 #       Domain "name"
164 #       BlockDevice "name:device"
165 #       InterfaceDevice "name:device"
166 #       IgnoreSelected false
167 #       HostnameFormat name
168 #</Plugin>
170 #<Plugin mbmon>
171 #       Host "127.0.0.1"
172 #       Port 411
173 #</Plugin>
175 #<Plugin memcached>
176 #       Host "127.0.0.1"
177 #       Port "11211"
178 #</Plugin>
180 #<Plugin mysql>
181 #       Host "database.serv.er"
182 #       User "db_user"
183 #       Password "secret"
184 #       Database "db_name"
185 #</Plugin>
187 #<Plugin netlink>
188 #       Interface "All"
189 #       VerboseInterface "All"
190 #       QDisc "eth0" "pfifo_fast-1:0"
191 #       Class "ppp0" "htb-1:10"
192 #       Filter "ppp0" "u32-1:0"
193 #       IgnoreSelected false
194 #</Plugin>
196 #<Plugin network>
197 #       Server "ff18::efc0:4a42" "25826"
198 #       Server "239.192.74.66" "25826"
199 #       Listen "ff18::efc0:4a42" "25826"
200 #       Listen "239.192.74.66" "25826"
201 #       TimeToLive "128"
202 #       Forward false
203 #       CacheFlush 1800
204 #</Plugin>
206 #<Plugin nginx>
207 #       URL "http://localhost/status?auto"
208 #       User "www-user"
209 #       Password "secret"
210 #       VerifyPeer false
211 #       VerifyHost false
212 #       CACert "/etc/ssl/ca.crt"
213 #</Plugin>
215 #<Plugin ntpd>
216 #       Host "localhost"
217 #       Port 123
218 #       ReverseLookups false
219 #</Plugin>
221 #<Plugin nut>
222 #       UPS "upsname@hostname:port"
223 #</Plugin>
225 #<Plugin perl>
226 #       IncludeDir "/my/include/path"
227 #       BaseName "Collectd::Plugin"
228 #       EnableDebugger ""
229 #       LoadPlugin "foo"
230 #       LoadPlugin "bar"
231 #</Plugin>
233 #<Plugin ping>
234 #       Host "host.foo.bar"
235 #       Host "host.baz.qux"
236 #       TTL 255
237 #</Plugin>
239 #<Plugin powerdns>
240 #       <Server "server_name">
241 #               Collect "latency"
242 #               Collect "udp-answers" "udp-queries"
243 #               Socket "/var/run/pdns.controlsocket"
244 #       </Server>
245 #       <Recursor "recursor_name">
246 #               Collect "questions"
247 #               Collect "cache-hits" "cache-misses"
248 #               Socket "/var/run/pdns_recursor.controlsocket"
249 #       </Recursor>
250 #       LocalSocket "/opt/collectd/var/run/collectd-powerdns"
251 #</Plugin>
253 #<Plugin processes>
254 #       Process "name"
255 #</Plugin>
257 <Plugin rrdtool>
258         DataDir "/var/lib/collectd/rrd"
259 #       CacheTimeout 120
260 #       CacheFlush 900
262 # The following settings are rather advanced
263 # and should usually not be touched:
264 #       StepSize 10
265 #       HeartBeat 20
266 #       RRARows 1200
267 #       RRATimespan 158112000
268 #       XFF 0.1
269 </Plugin>
271 #<Plugin sensors>
272 #       Sensor "it8712-isa-0290/temperature-temp1"
273 #       Sensor "it8712-isa-0290/fanspeed-fan3"
274 #       Sensor "it8712-isa-0290/voltage-in8"
275 #       IgnoreSelected false
276 #</Plugin>
278 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
279 # comprehensive sample configuration.
280 #<Plugin snmp>
281 #       <Data "powerplus_voltge_input">
282 #               Type "voltage"
283 #               Table false
284 #               Instance "input_line1"
285 #               Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
286 #       </Data>
287 #       <Data "hr_users">
288 #               Type "users"
289 #               Table false
290 #               Instance ""
291 #               Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
292 #       </Data>
293 #       <Data "std_traffic">
294 #               Type "if_octets"
295 #               Table true
296 #               Instance "IF-MIB::ifDescr"
297 #               Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
298 #       </Data>
300 #       <Host "some.switch.mydomain.org">
301 #               Address "192.168.0.2"
302 #               Version 1
303 #               Community "community_string"
304 #               Collect "std_traffic"
305 #               Inverval 120
306 #       </Host>
307 #       <Host "some.server.mydomain.org">
308 #               Address "192.168.0.42"
309 #               Version 2
310 #               Community "another_string"
311 #               Collect "std_traffic" "hr_users"
312 #       </Host>
313 #       <Host "some.ups.mydomain.org">
314 #               Address "192.168.0.3"
315 #               Version 1
316 #               Community "more_communities"
317 #               Collect "powerplus_voltge_input"
318 #               Interval 300
319 #       </Host>
320 #</Plugin>
322 #<Plugin "tail">
323 #       <File "/var/log/exim4/mainlog">
324 #               Instance "exim"
325 #               <Match>
326 #                       Regex "S=([1-9][0-9]*)"
327 #                       DSType "CounterAdd"
328 #                       Type "ipt_bytes"
329 #                       Instance "total"
330 #               </Match>
331 #               <Match>
332 #                       Regex "\\<R=local_user\\>"
333 #                       DSType "CounterInc"
334 #                       Type "email_count"
335 #                       Instance "local_user"
336 #               </Match>
337 #       </File>
338 #</Plugin>
340 #<Plugin tcpconns>
341 #       ListeningPorts false
342 #       LocalPort "25"
343 #       RemotePort "25"
344 #</Plugin>
346 #<Plugin teamspeak2>
347 #       Host "127.0.0.1"
348 #       Port "51234"
349 #       Server "8767"
350 #</Plugin>
352 #<Plugin unixsock>
353 #       SocketFile "/var/run/collectd-unixsock"
354 #       SocketGroup "collectd"
355 #       SocketPerms "0660"
356 #</Plugin>
358 #<Plugin uuid>
359 #       UUIDFile "/etc/uuid"
360 #</Plugin>
362 #<Plugin vmem>
363 #       Verbose false
364 #</Plugin>
366 Include "/etc/collectd/thresholds.conf"