Merge remote branch 'jeromer/master'
[collectd.git] / src / collectd.conf.in
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global                                                                     #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon.                                            #
11 ##############################################################################
12
13 #Hostname    "localhost"
14 #FQDNLookup   true
15 #BaseDir     "@prefix@/var/lib/@PACKAGE_NAME@"
16 #PIDFile     "@prefix@/var/run/@PACKAGE_NAME@.pid"
17 #PluginDir   "@prefix@/lib/@PACKAGE_NAME@"
18 #TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
19 #Interval     10
20 #Timeout      2
21 #ReadThreads  5
22
23 ##############################################################################
24 # Logging                                                                    #
25 #----------------------------------------------------------------------------#
26 # Plugins which provide logging functions should be loaded first, so log     #
27 # messages generated when loading or configuring other plugins can be        #
28 # accessed.                                                                  #
29 ##############################################################################
30
31 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
32 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
33
34 #<Plugin logfile>
35 #       LogLevel @DEFAULT_LOG_LEVEL@
36 #       File STDOUT
37 #       Timestamp true
38 #       PrintSeverity false
39 #</Plugin>
40
41 #<Plugin syslog>
42 #       LogLevel @DEFAULT_LOG_LEVEL@
43 #</Plugin>
44
45 ##############################################################################
46 # LoadPlugin section                                                         #
47 #----------------------------------------------------------------------------#
48 # Lines beginning with a single `#' belong to plugins which have been built  #
49 # but are disabled by default.                                               #
50 #                                                                            #
51 # Lines begnning with `##' belong to plugins which have not been built due   #
52 # to missing dependencies or because they have been deactivated explicitly.  #
53 ##############################################################################
54
55 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
56 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
57 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
58 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
59 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
60 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
61 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
62 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
63 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
64 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
65 @LOAD_PLUGIN_CSV@LoadPlugin csv
66 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
67 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
68 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
69 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
70 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
71 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
72 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
73 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
74 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
75 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
76 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
77 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
78 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
79 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
80 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
81 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
82 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
83 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
84 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
85 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
86 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
87 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
88 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
89 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
90 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
91 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
92 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
93 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
94 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
95 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
96 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
97 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
98 @LOAD_PLUGIN_NETWORK@LoadPlugin network
99 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
100 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
101 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
102 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
103 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
104 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
105 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
106 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
107 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
108 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
109 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
110 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
111 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
112 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
113 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
114 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
115 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
116 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
117 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
118 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
119 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
120 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
121 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
122 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
123 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
124 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
125 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
126 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
127 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
128 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
129 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
130 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
131 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
132 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
133 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
134 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
135 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
136 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
137 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
138 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
139 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
140 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
141 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
142 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
143
144 ##############################################################################
145 # Plugin configuration                                                       #
146 #----------------------------------------------------------------------------#
147 # In this section configuration stubs for each plugin are provided. A desc-  #
148 # ription of those options is available in the collectd.conf(5) manual page. #
149 ##############################################################################
150
151 #<Plugin apache>
152 #       URL "http://localhost/status?auto"
153 #       User "www-user"
154 #       Password "secret"
155 #       CACert "/etc/ssl/ca.crt"
156 #</Plugin>
157
158 #<Plugin apcups>
159 #       Host "localhost"
160 #       Port "3551"
161 #</Plugin>
162
163 #<Plugin ascent>
164 #       URL "http://localhost/ascent/status/"
165 #       User "www-user"
166 #       Password "secret"
167 #       CACert "/etc/ssl/ca.crt"
168 #</Plugin>
169
170 #<Plugin "bind">
171 #  URL "http://localhost:8053/"
172 #  OpCodes         true
173 #  QTypes          true
174 #
175 #  ServerStats     true
176 #  ZoneMaintStats  true
177 #  ResolverStats   false
178 #  MemoryStats     true
179 #
180 #  <View "_default">
181 #    QTypes        true
182 #    ResolverStats true
183 #    CacheRRSets   true
184 #
185 #    Zone "127.in-addr.arpa/IN"
186 #  </View>
187 #</Plugin>
188
189 #<Plugin csv>
190 #       DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
191 #       StoreRates false
192 #</Plugin>
193
194 #<Plugin curl>
195 #  <Page "stock_quotes">
196 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
197 #    User "foo"
198 #    Password "bar"
199 #    MeasureResponseTime false
200 #    <Match>
201 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
202 #      DSType "GaugeAverage"
203 #      Type "stock_value"
204 #      Instance "AMD"
205 #    </Match>
206 #  </Page>
207 #</Plugin>
208
209 #<Plugin curl_json>
210 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
211 #  <URL "http://localhost:5984/_stats">
212 #    Instance "httpd"
213 #    <Key "httpd/requests/count">
214 #      Type "http_requests"
215 #    </Key>
216 #
217 #    <Key "httpd_request_methods/*/count">
218 #      Type "http_request_methods"
219 #    </Key>
220 #
221 #    <Key "httpd_status_codes/*/count">
222 #      Type "http_response_codes"
223 #    </Key>
224 #  </URL>
225 ## Database status metrics:
226 #  <URL "http://localhost:5984/_all_dbs">
227 #    Instance "dbs"
228 #    <Key "*/doc_count">
229 #      Type "gauge"
230 #    </Key>
231 #    <Key "*/doc_del_count">
232 #      Type "counter"
233 #    </Key>
234 #    <Key "*/disk_size">
235 #      Type "bytes"
236 #    </Key>
237 #  </URL>
238 #</Plugin>
239
240 #<Plugin "curl_xml">
241 #  <URL "http://localhost/stats.xml">
242 #    Host "my_host"
243 #    Instance "some_instance"
244 #    User "collectd"
245 #    Password "thaiNg0I"
246 #    VerifyPeer true
247 #    VerifyHost true
248 #    CACert "/path/to/ca.crt"
249 #
250 #    <XPath "table[@id=\"magic_level\"]/tr">
251 #      Type "magic_level"
252 #      #InstancePrefix "prefix-"
253 #      InstanceFrom "td[1]"
254 #      ValuesFrom "td[2]/span[@class=\"level\"]"
255 #    </XPath>
256 #  </URL>
257 #</Plugin>
258
259 #<Plugin dbi>
260 #       <Query "num_of_customers">
261 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
262 #               <Result>
263 #                       Type "gauge"
264 #                       InstancesFrom "c_key"
265 #                       ValuesFrom "c_value"
266 #               </Result>
267 #       </Query>
268 #       <Database "customers_db">
269 #               Driver "mysql"
270 #               DriverOption "host" "localhost"
271 #               DriverOption "username" "collectd"
272 #               DriverOption "password" "AeXohy0O"
273 #               DriverOption "dbname" "custdb0"
274 #               #SelectDB "custdb0"
275 #               Query "num_of_customers"
276 #               #Query "..."
277 #       </Database>
278 #</Plugin>
279
280 #<Plugin df>
281 #       Device "/dev/hda1"
282 #       Device "192.168.0.2:/mnt/nfs"
283 #       MountPoint "/home"
284 #       FSType "ext3"
285 #       IgnoreSelected false
286 #       ReportByDevice false
287 #       ReportReserved false
288 #       ReportInodes false
289 #</Plugin>
290
291 #<Plugin disk>
292 #       Disk "/^[hs]d[a-f][0-9]?$/"
293 #       IgnoreSelected false
294 #</Plugin>
295
296 #<Plugin dns>
297 #       Interface "eth0"
298 #       IgnoreSource "192.168.0.1"
299 #       SelectNumericQueryTypes true
300 #</Plugin>
301
302 #<Plugin email>
303 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
304 #       SocketGroup "collectd"
305 #       SocketPerms "0770"
306 #       MaxConns 5
307 #</Plugin>
308
309 #<Plugin exec>
310 #       Exec "user:group" "/path/to/exec"
311 #       NotificationExec "user:group" "/path/to/exec"
312 #</Plugin>
313
314 #<Plugin filecount>
315 #       <Directory "/path/to/dir">
316 #               Instance "foodir"
317 #               Name "*.conf"
318 #               MTime "-5m"
319 #               Size "+10k"
320 #               Recursive true
321 #               IncludeHidden false
322 #       </Directory>
323 #</Plugin>
324
325 #<Plugin "gmond">
326 #  MCReceiveFrom "239.2.11.71" "8649"
327 #  <Metric "swap_total">
328 #    Type "swap"
329 #    TypeInstance "total"
330 #    DataSource "value"
331 #  </Metric>
332 #  <Metric "swap_free">
333 #    Type "swap"
334 #    TypeInstance "free"
335 #    DataSource "value"
336 #  </Metric>
337 #</Plugin>
338
339 #<Plugin hddtemp>
340 #  Host "127.0.0.1"
341 #  Port "7634"
342 #
343 #  #----------------------------------------------------------------#
344 #  # `TranslateDevicename' enables backwards compatibility behavior #
345 #  # and is enabled by default. Setting this option to `false' is   #
346 #  # highly recommended.                                            #
347 #  #----------------------------------------------------------------#
348 #  TranslateDevicename false
349 #</Plugin>
350
351 #<Plugin interface>
352 #       Interface "eth0"
353 #       IgnoreSelected false
354 #</Plugin>
355
356 #<Plugin ipmi>
357 #       Sensor "some_sensor"
358 #       Sensor "another_one"
359 #       IgnoreSelected false
360 #       NotifySensorAdd false
361 #       NotifySensorRemove true
362 #       NotifySensorNotPresent false
363 #</Plugin>
364
365 #<Plugin iptables>
366 #       Chain table chain
367 #</Plugin>
368
369 #<Plugin irq>
370 #       Irq 7
371 #       Irq 8
372 #       Irq 9
373 #       IgnoreSelected true
374 #</Plugin>
375
376 #<Plugin "java">
377 #       JVMArg "-verbose:jni"
378 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
379 #
380 #       LoadPlugin "org.collectd.java.Foobar"
381 #       <Plugin "org.collectd.java.Foobar">
382 #         # To be parsed by the plugin
383 #       </Plugin>
384 #</Plugin>
385
386 #<Plugin libvirt>
387 #       Connection "xen:///"
388 #       RefreshInterval 60
389 #       Domain "name"
390 #       BlockDevice "name:device"
391 #       InterfaceDevice "name:device"
392 #       IgnoreSelected false
393 #       HostnameFormat name
394 #       InterfaceFormat name
395 #</Plugin>
396
397 #<Plugin madwifi>
398 #       Interface "wlan0"
399 #       IgnoreSelected false
400 #       Source "SysFS"
401 #       WatchSet "None"
402 #       WatchAdd "node_octets"
403 #       WatchAdd "node_rssi"
404 #       WatchAdd "is_rx_acl"
405 #       WatchAdd "is_scan_active"
406 #</Plugin>
407
408 #<Plugin mbmon>
409 #       Host "127.0.0.1"
410 #       Port "411"
411 #</Plugin>
412
413 #<Plugin memcachec>
414 #       <Page "plugin_instance">
415 #               Server "localhost"
416 #               Key "page_key"
417 #               <Match>
418 #                       Regex "(\\d+) bytes sent"
419 #                       ExcludeRegex "<lines to be excluded>"
420 #                       DSType CounterAdd
421 #                       Type "ipt_octets"
422 #                       Instance "type_instance"
423 #               </Match>
424 #       </Page>
425 #</Plugin>
426
427 #<Plugin memcached>
428 #       Host "127.0.0.1"
429 #       Port "11211"
430 #</Plugin>
431
432 #<Plugin modbus>
433 #       <Data "data_name">
434 #               RegisterBase 1234
435 #               RegisterType float
436 #               Type gauge
437 #               Instance "..."
438 #       </Data>
439 #
440 #       <Host "name">
441 #               Address "addr"
442 #               Port "1234"
443 #               Interval 60
444 #
445 #               <Slave 1>
446 #                       Instance "foobar" # optional
447 #                       Collect "data_name"
448 #               </Slave>
449 #       </Host>
450 #</Plugin>
451
452 #<Plugin mysql>
453 #       <Database db_name>
454 #               Host "database.serv.er"
455 #               User "db_user"
456 #               Password "secret"
457 #               Database "db_name"
458 #               MasterStats true
459 #       </Database>
460 #
461 #       <Database db_name2>
462 #               Host "localhost"
463 #               Socket "/var/run/mysql/mysqld.sock"
464 #               SlaveStats true
465 #               SlaveNotifications true
466 #       </Database>
467 #</Plugin>
468
469 #<Plugin netapp>
470 #       <Host "netapp1.example.com">
471 #               Protocol      "https"
472 #               Address       "10.0.0.1"
473 #               Port          443
474 #               User          "username"
475 #               Password      "aef4Aebe"
476 #               Interval      30
477 #
478 #               <WAFL>
479 #                       Interval 30
480 #                       GetNameCache   true
481 #                       GetDirCache    true
482 #                       GetBufferCache true
483 #                       GetInodeCache  true
484 #               </WAFL>
485 #
486 #               <Disks>
487 #                       Interval 30
488 #                       GetBusy true
489 #               </Disks>
490 #
491 #               <VolumePerf>
492 #                       Interval 30
493 #                       GetIO      "volume0"
494 #                       IgnoreSelectedIO      false
495 #                       GetOps     "volume0"
496 #                       IgnoreSelectedOps     false
497 #                       GetLatency "volume0"
498 #                       IgnoreSelectedLatency false
499 #               </VolumePerf>
500 #
501 #               <VolumeUsage>
502 #                       Interval 30
503 #                       GetCapacity "vol0"
504 #                       GetCapacity "vol1"
505 #                       IgnoreSelectedCapacity false
506 #                       GetSnapshot "vol1"
507 #                       GetSnapshot "vol3"
508 #                       IgnoreSelectedSnapshot false
509 #               </VolumeUsage>
510 #
511 #               <System>
512 #                       Interval 30
513 #                       GetCPULoad     true
514 #                       GetInterfaces  true
515 #                       GetDiskOps     true
516 #                       GetDiskIO      true
517 #               </System>
518 #       </Host>
519 #</Plugin>
520
521 #<Plugin netlink>
522 #       Interface "All"
523 #       VerboseInterface "All"
524 #       QDisc "eth0" "pfifo_fast-1:0"
525 #       Class "ppp0" "htb-1:10"
526 #       Filter "ppp0" "u32-1:0"
527 #       IgnoreSelected false
528 #</Plugin>
529
530 @LOAD_PLUGIN_NETWORK@<Plugin network>
531 #       # client setup:
532 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
533 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
534 #               SecurityLevel Encrypt
535 #               Username "user"
536 #               Password "secret"
537 #               Interface "eth0"
538 @LOAD_PLUGIN_NETWORK@   </Server>
539 #       TimeToLive "128"
540 #
541 #       # server setup:
542 #       Listen "ff18::efc0:4a42" "25826"
543 #       <Listen "239.192.74.66" "25826">
544 #               SecurityLevel Sign
545 #               AuthFile "/etc/collectd/passwd"
546 #               Interface "eth0"
547 #       </Listen>
548 #       MaxPacketSize 1024
549 #
550 #       # proxy setup (client and server as above):
551 #       Forward true
552 #
553 #       # statistics about the network plugin itself
554 #       ReportStats false
555 #
556 #       # "garbage collection"
557 #       CacheFlush 1800
558 @LOAD_PLUGIN_NETWORK@</Plugin>
559
560 #<Plugin nginx>
561 #       URL "http://localhost/status?auto"
562 #       User "www-user"
563 #       Password "secret"
564 #       CACert "/etc/ssl/ca.crt"
565 #</Plugin>
566
567 #<Plugin notify_desktop>
568 #       OkayTimeout 1000
569 #       WarningTimeout 5000
570 #       FailureTimeout 0
571 #</Plugin>
572
573 #<Plugin notify_email>
574 #       SMTPServer "localhost"
575 #       SMTPPort 25
576 #       SMTPUser "my-username"
577 #       SMTPPassword "my-password"
578 #       From "collectd@main0server.com"
579 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
580 #       Subject "Aaaaaa!! %s on %s!!!!!"
581 #       Recipient "email1@domain1.net"
582 #       Recipient "email2@domain2.com"
583 #</Plugin>
584
585 #<Plugin ntpd>
586 #       Host "localhost"
587 #       Port 123
588 #       ReverseLookups false
589 #</Plugin>
590
591 #<Plugin nut>
592 #       UPS "upsname@hostname:port"
593 #</Plugin>
594
595 #<Plugin olsrd>
596 #       Host "127.0.0.1"
597 #       Port "2006"
598 #       CollectLinks "Summary"
599 #       CollectRoutes "Summary"
600 #       CollectTopology "Summary"
601 #</Plugin>
602
603 #<Plugin onewire>
604 #       Device "-s localhost:4304"
605 #       Sensor "F10FCA000800"
606 #       IgnoreSelected false
607 #</Plugin>
608
609 #<Plugin openvpn>
610 #       StatusFile "/etc/openvpn/openvpn-status.log"
611 #       ImprovedNamingSchema false
612 #       CollectCompression true
613 #       CollectIndividualUsers true
614 #       CollectUserCount false
615 #</Plugin>
616
617 #<Plugin oracle>
618 #  <Query "out_of_stock">
619 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
620 #    <Result>
621 #      Type "gauge"
622 #      InstancesFrom "category"
623 #      ValuesFrom "value"
624 #    </Result>
625 #  </Query>
626 #  <Database "product_information">
627 #    ConnectID "db01"
628 #    Username "oracle"
629 #    Password "secret"
630 #    Query "out_of_stock"
631 #  </Database>
632 #</Plugin>
633
634 #<Plugin perl>
635 #       IncludeDir "/my/include/path"
636 #       BaseName "Collectd::Plugins"
637 #       EnableDebugger ""
638 #       LoadPlugin Monitorus
639 #       LoadPlugin OpenVZ
640 #
641 #       <Plugin foo>
642 #               Foo "Bar"
643 #               Qux "Baz"
644 #       </Plugin>
645 #</Plugin>
646
647 #<Plugin pinba>
648 #       Address "::0"
649 #       Port "30002"
650 #       <View "name">
651 #               Host "host name"
652 #               Server "server name"
653 #               Script "script name"
654 #       </View>
655 #</Plugin>
656
657 #<Plugin ping>
658 #       Host "host.foo.bar"
659 #       Interval 1.0
660 #       Timeout 0.9
661 #       TTL 255
662 #       SourceAddress "1.2.3.4"
663 #       Device "eth0"
664 #       MaxMissed -1
665 #</Plugin>
666
667 #<Plugin postgresql>
668 #       <Query magic>
669 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
670 #               Param hostname
671 #               <Result>
672 #                       Type gauge
673 #                       InstancePrefix "magic"
674 #                       ValuesFrom magic
675 #               </Result>
676 #       </Query>
677 #       <Query rt36_tickets>
678 #               Statement "SELECT COUNT(type) AS count, type \
679 #                                 FROM (SELECT CASE \
680 #                                              WHEN resolved = 'epoch' THEN 'open' \
681 #                                              ELSE 'resolved' END AS type \
682 #                                              FROM tickets) type \
683 #                                 GROUP BY type;"
684 #               <Result>
685 #                       Type counter
686 #                       InstancePrefix "rt36_tickets"
687 #                       InstancesFrom "type"
688 #                       ValuesFrom "count"
689 #               </Result>
690 #       </Query>
691 #       <Database foo>
692 #               Host "hostname"
693 #               Port "5432"
694 #               User "username"
695 #               Password "secret"
696 #               SSLMode "prefer"
697 #               KRBSrvName "kerberos_service_name"
698 #               Query magic
699 #       </Database>
700 #       <Database bar>
701 #               Interval 60
702 #               Service "service_name"
703 #               Query backend # predefined
704 #               Query rt36_tickets
705 #       </Database>
706 #</Plugin>
707
708 #<Plugin powerdns>
709 #  <Server "server_name">
710 #    Collect "latency"
711 #    Collect "udp-answers" "udp-queries"
712 #    Socket "/var/run/pdns.controlsocket"
713 #  </Server>
714 #  <Recursor "recursor_name">
715 #    Collect "questions"
716 #    Collect "cache-hits" "cache-misses"
717 #    Socket "/var/run/pdns_recursor.controlsocket"
718 #  </Recursor>
719 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
720 #</Plugin>
721
722 #<Plugin processes>
723 #       Process "name"
724 #</Plugin>
725
726 #<Plugin protocols>
727 #       Value "/^Tcp:/"
728 #       IgnoreSelected false
729 #</Plugin>
730
731 #<Plugin python>
732 #       ModulePath "/path/to/your/python/modules"
733 #       LogTraces true
734 #       Interactive true
735 #       Import "spam"
736 #
737 #       <Module spam>
738 #               spam "wonderful" "lovely"
739 #       </Module>
740 #</Plugin>
741
742 #<Plugin routeros>
743 #       <Router>
744 #               Host "router.example.com"
745 #               Port "8728"
746 #               User "admin"
747 #               Password "dozaiTh4"
748 #               CollectInterface true
749 #               CollectRegistrationTable true
750 #               CollectCPULoad true
751 #               CollectMemory true
752 #               CollectDF true
753 #               CollectDisk true
754 #       </Router>
755 #</Plugin>
756
757 #<Plugin rrdcached>
758 #       DaemonAddress "unix:/tmp/rrdcached.sock"
759 #       DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
760 #       CreateFiles true
761 #       CollectStatistics true
762 #</Plugin>
763
764 #<Plugin rrdtool>
765 #       DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
766 #       CacheTimeout 120
767 #       CacheFlush   900
768 #</Plugin>
769
770 #<Plugin sensors>
771 #       Sensor "it8712-isa-0290/temperature-temp1"
772 #       Sensor "it8712-isa-0290/fanspeed-fan3"
773 #       Sensor "it8712-isa-0290/voltage-in8"
774 #       IgnoreSelected false
775 #</Plugin>
776
777 #<Plugin snmp>
778 #   <Data "powerplus_voltge_input">
779 #       Type "voltage"
780 #       Table false
781 #       Instance "input_line1"
782 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
783 #   </Data>
784 #   <Data "hr_users">
785 #       Type "users"
786 #       Table false
787 #       Instance ""
788 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
789 #   </Data>
790 #   <Data "std_traffic">
791 #       Type "if_octets"
792 #       Table true
793 #       Instance "IF-MIB::ifDescr"
794 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
795 #   </Data>
796 #
797 #   <Host "some.switch.mydomain.org">
798 #       Address "192.168.0.2"
799 #       Version 1
800 #       Community "community_string"
801 #       Collect "std_traffic"
802 #       Interval 120
803 #   </Host>
804 #   <Host "some.server.mydomain.org">
805 #       Address "192.168.0.42"
806 #       Version 2
807 #       Community "another_string"
808 #       Collect "std_traffic" "hr_users"
809 #   </Host>
810 #   <Host "some.ups.mydomain.org">
811 #       Address "192.168.0.3"
812 #       Version 1
813 #       Community "more_communities"
814 #       Collect "powerplus_voltge_input"
815 #       Interval 300
816 #   </Host>
817 #</Plugin>
818
819 #<Plugin "table">
820 #       <Table "/proc/slabinfo">
821 #               Instance "slabinfo"
822 #               Separator " "
823 #               <Result>
824 #                       Type gauge
825 #                       InstancePrefix "active_objs"
826 #                       InstancesFrom 0
827 #                       ValuesFrom 1
828 #               </Result>
829 #               <Result>
830 #                       Type gauge
831 #                       InstancePrefix "objperslab"
832 #                       InstancesFrom 0
833 #                       ValuesFrom 4
834 #               </Result>
835 #       </Table>
836 #</Plugin>
837
838 #<Plugin "tail">
839 #  <File "/var/log/exim4/mainlog">
840 #    Instance "exim"
841 #    <Match>
842 #      Regex "S=([1-9][0-9]*)"
843 #      DSType "CounterAdd"
844 #      Type "ipt_bytes"
845 #      Instance "total"
846 #    </Match>
847 #    <Match>
848 #      Regex "\\<R=local_user\\>"
849 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
850 #      DSType "CounterInc"
851 #      Type "counter"
852 #      Instance "local_user"
853 #    </Match>
854 #  </File>
855 #</Plugin>
856
857 #<Plugin tcpconns>
858 #       ListeningPorts false
859 #       LocalPort "25"
860 #       RemotePort "25"
861 #</Plugin>
862
863 #<Plugin teamspeak2>
864 #       Host "127.0.0.1"
865 #       Port "51234"
866 #       Server "8767"
867 #</Plugin>
868
869 #<Plugin ted>
870 #       Device "/dev/ttyUSB0"
871 #       Retries 0
872 #</Plugin>
873
874 #<Plugin thermal>
875 #       ForceUseProcfs false
876 #       Device "THRM"
877 #       IgnoreSelected false
878 #</Plugin>
879
880 #<Plugin tokyotyrant>
881 #       Host "localhost"
882 #       Port "1978"
883 #</Plugin>
884
885 #<Plugin unixsock>
886 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
887 #       SocketGroup "collectd"
888 #       SocketPerms "0660"
889 #</Plugin>
890
891 #<Plugin uuid>
892 #       UUIDFile "/etc/uuid"
893 #</Plugin>
894
895 #<Plugin varnish>
896 #   This tag support an argument if you want to
897 #   monitor the local instance just use </Instance>
898 #   If you prefer defining another instance you can do
899 #   so by using <Instance "myinstance">
900 #   <Instance>
901 #      CollectCache true
902 #      CollectBackend true
903 #      CollectConnections true
904 #      CollectSHM true
905 #      CollectESI false
906 #      CollectFetch false
907 #      CollectHCB false
908 #      CollectSMA false
909 #      CollectSMS false
910 #      CollectSM false
911 #      CollectTotals false
912 #      CollectWorkers false
913 #   </Instance>
914 #</Plugin>
915
916 #<Plugin vmem>
917 #       Verbose false
918 #</Plugin>
919
920 #<Plugin write_http>
921 #       <URL "http://example.com/collectd-post">
922 #               User "collectd"
923 #               Password "weCh3ik0"
924 #               VerifyPeer true
925 #               VerifyHost true
926 #               CACert "/etc/ssl/ca.crt"
927 #               Format "Command"
928 #               StoreRates false
929 #       </URL>
930 #</Plugin>
931
932 ##############################################################################
933 # Filter configuration                                                       #
934 #----------------------------------------------------------------------------#
935 # The following configures collectd's filtering mechanism. Before changing   #
936 # anything in this section, please read the `FILTER CONFIGURATION' section   #
937 # in the collectd.conf(5) manual page.                                       #
938 ##############################################################################
939
940 # Load required matches:
941 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
942 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
943 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
944 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
945 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
946
947 # Load required targets:
948 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
949 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
950 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
951 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
952
953 #----------------------------------------------------------------------------#
954 # The following block demonstrates the default behavior if no filtering is   #
955 # configured at all: All values will be sent to all available write plugins. #
956 #----------------------------------------------------------------------------#
957
958 #<Chain "PostCache">
959 #  Target "write"
960 #</Chain>