Add a plugin for monitoring zookeeper
[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     "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile     "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir   "@libdir@/@PACKAGE_NAME@"
18 #TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the   #
29 # plugin name.                                                               #
30 # Disabled by default.                                                       #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block:               #
37 #   <LoadPlugin foo>                                                         #
38 #       Interval 60                                                          #
39 #   </LoadPlugin>                                                            #
40 #----------------------------------------------------------------------------#
41 #Interval     10
42
43 #MaxReadInterval 86400
44 #Timeout         2
45 #ReadThreads     5
46 #WriteThreads    5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow   800000
52
53 ##############################################################################
54 # Logging                                                                    #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log     #
57 # messages generated when loading or configuring other plugins can be        #
58 # accessed.                                                                  #
59 ##############################################################################
60
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
64
65 #<Plugin logfile>
66 #       LogLevel @DEFAULT_LOG_LEVEL@
67 #       File STDOUT
68 #       Timestamp true
69 #       PrintSeverity false
70 #</Plugin>
71
72 #<Plugin log_logstash>
73 #       LogLevel @DEFAULT_LOG_LEVEL@
74 #       File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
75 #</Plugin>
76
77 #<Plugin syslog>
78 #       LogLevel @DEFAULT_LOG_LEVEL@
79 #</Plugin>
80
81 ##############################################################################
82 # LoadPlugin section                                                         #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built  #
85 # but are disabled by default.                                               #
86 #                                                                            #
87 # Lines begnning with `##' belong to plugins which have not been built due   #
88 # to missing dependencies or because they have been deactivated explicitly.  #
89 ##############################################################################
90
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
102 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
103 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
104 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
105 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
106 @LOAD_PLUGIN_CSV@LoadPlugin csv
107 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
108 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
109 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
110 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
111 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
112 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
113 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
114 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
115 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
116 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
117 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
118 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
119 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
120 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
121 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
122 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
123 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
124 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
125 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
126 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
127 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
128 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
129 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
130 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
131 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
132 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
133 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
134 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
135 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
136 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
137 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
138 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
139 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
140 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
141 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
142 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
143 @LOAD_PLUGIN_NETWORK@LoadPlugin network
144 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
145 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
146 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
147 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
148 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
149 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
150 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
151 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
152 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
153 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
154 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
155 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
156 #@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
157 #@BUILD_PLUGIN_PERL_TRUE@  Globals true
158 #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
159 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
160 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
161 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
162 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
163 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
164 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
165 #@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
166 #@BUILD_PLUGIN_PYTHON_TRUE@  Globals true
167 #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
168 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
169 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
170 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
171 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
172 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
173 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
174 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
175 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
176 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
177 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
178 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
179 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
180 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
181 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
182 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
183 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
184 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
185 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
186 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
187 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
188 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
189 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
190 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
191 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
192 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
193 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
194 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
195 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
196 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
197 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
198 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
199 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
200 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
201 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
202 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
203 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
204 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
205 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
206 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
207 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
208
209 ##############################################################################
210 # Plugin configuration                                                       #
211 #----------------------------------------------------------------------------#
212 # In this section configuration stubs for each plugin are provided. A desc-  #
213 # ription of those options is available in the collectd.conf(5) manual page. #
214 ##############################################################################
215
216 #<Plugin aggregation>
217 #  <Aggregation>
218 #    #Host "unspecified"
219 #    Plugin "cpu"
220 #    #PluginInstance "unspecified"
221 #    Type "cpu"
222 #    #TypeInstance "unspecified"
223 #
224 #    GroupBy "Host"
225 #    GroupBy "TypeInstance"
226 #
227 #    CalculateNum false
228 #    CalculateSum false
229 #    CalculateAverage true
230 #    CalculateMinimum false
231 #    CalculateMaximum false
232 #    CalculateStddev false
233 #  </Aggregation>
234 #</Plugin>
235
236 #<Plugin amqp>
237 #  <Publish "name">
238 #    Host "localhost"
239 #    Port "5672"
240 #    VHost "/"
241 #    User "guest"
242 #    Password "guest"
243 #    Exchange "amq.fanout"
244 #    RoutingKey "collectd"
245 #    Persistent false
246 #    StoreRates false
247 #  </Publish>
248 #</Plugin>
249
250 #<Plugin apache>
251 #  <Instance "local">
252 #    URL "http://localhost/status?auto"
253 #    User "www-user"
254 #    Password "secret"
255 #    CACert "/etc/ssl/ca.crt"
256 #  </Instance>
257 #</Plugin>
258
259 #<Plugin apcups>
260 #       Host "localhost"
261 #       Port "3551"
262 #       ReportSeconds true
263 #</Plugin>
264
265 #<Plugin aquaero>
266 #       Device ""
267 #</Plugin>
268
269 #<Plugin ascent>
270 #       URL "http://localhost/ascent/status/"
271 #       User "www-user"
272 #       Password "secret"
273 #       CACert "/etc/ssl/ca.crt"
274 #</Plugin>
275
276 #<Plugin "barometer">
277 #   Device            "/dev/i2c-0";
278 #   Oversampling      512
279 #   PressureOffset    0.0
280 #   TemperatureOffset 0.0
281 #   Normalization     2
282 #   Altitude          238.0
283 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
284 #</Plugin>
285
286 #<Plugin "battery">
287 #  ValuesPercentage false
288 #  ReportDegraded
289 #</Plugin>
290
291 #<Plugin "bind">
292 #  URL "http://localhost:8053/"
293 #  ParseTime       false
294 #  OpCodes         true
295 #  QTypes          true
296 #
297 #  ServerStats     true
298 #  ZoneMaintStats  true
299 #  ResolverStats   false
300 #  MemoryStats     true
301 #
302 #  <View "_default">
303 #    QTypes        true
304 #    ResolverStats true
305 #    CacheRRSets   true
306 #
307 #    Zone "127.in-addr.arpa/IN"
308 #  </View>
309 #</Plugin>
310
311 #<Plugin cgroups>
312 #  CGroup "libvirt"
313 #  IgnoreSelected false
314 #</Plugin>
315
316 #<Plugin cpu>
317 #  ReportByCpu true
318 #  ReportByState true
319 #  ValuesPercentage false
320 #</Plugin>
321 #
322 #<Plugin csv>
323 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
324 #       StoreRates false
325 #</Plugin>
326
327 #<Plugin curl>
328 #  <Page "stock_quotes">
329 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
330 #    User "foo"
331 #    Password "bar"
332 #    Digest false
333 #    VerifyPeer true
334 #    VerifyHost true
335 #    CACert "/path/to/ca.crt"
336 #    Header "X-Custom-Header: foobar"
337 #    Post "foo=bar"
338 #
339 #    MeasureResponseTime false
340 #    MeasureResponseCode false
341 #    <Match>
342 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
343 #      DSType "GaugeAverage"
344 #      Type "stock_value"
345 #      Instance "AMD"
346 #    </Match>
347 #  </Page>
348 #</Plugin>
349
350 #<Plugin curl_json>
351 #  <URL "http://localhost:80/test.json">
352 #    Instance "test_http_json"
353 #    <Key "testArray/0">
354 #      Type "gauge"
355 #      # Expect: 1
356 #    </Key>
357 #    <Key "testArray/1">
358 #      Type "gauge"
359 #      # Expect: 2
360 #    </Key>
361 #    <Key "testArrayInbetween/0/blarg">
362 #      Type "gauge"
363 #      # Expect: 3
364 #    </Key>
365 #    <Key "testArrayInbetween/1/blub">
366 #      Type "gauge"
367 #      # Expect: 4
368 #    </Key>
369 #    <Key "testDirectHit">
370 #      Type "gauge"
371 #      # Expect: 5
372 #    </Key>
373 #    <Key "testSubLevelHit/oneMoreLevel">
374 #      Type "gauge"
375 #      # Expect: 6
376 #    </Key>
377 #  </URL>
378 # put this as test.json on your webserver, the above config demonstraces
379 # how to match them.
380 # {
381 #  "testArray":[1,2],
382 #  "testArrayInbetween":[{"blarg":3},{"blub":4}],
383 #  "testDirectHit":5,
384 #  "testSubLevelHit":{"oneMoreLevel":6}
385 # }
386 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
387 #  <URL "http://localhost:5984/_stats">
388 #    Instance "httpd"
389 #    <Key "httpd/requests/count">
390 #      Type "http_requests"
391 #    </Key>
392 #
393 #    <Key "httpd_request_methods/*/count">
394 #      Type "http_request_methods"
395 #    </Key>
396 #
397 #    <Key "httpd_status_codes/*/count">
398 #      Type "http_response_codes"
399 #    </Key>
400 #  </URL>
401 ## Database status metrics:
402 #  <URL "http://localhost:5984/_all_dbs">
403 #    Instance "dbs"
404 #    <Key "*/doc_count">
405 #      Type "gauge"
406 #    </Key>
407 #    <Key "*/doc_del_count">
408 #      Type "counter"
409 #    </Key>
410 #    <Key "*/disk_size">
411 #      Type "bytes"
412 #    </Key>
413 #  </URL>
414 #</Plugin>
415
416 #<Plugin curl_xml>
417 #  <URL "http://localhost/stats.xml">
418 #    Host "my_host"
419 #    Instance "some_instance"
420 #    User "collectd"
421 #    Password "thaiNg0I"
422 #    Digest false
423 #    VerifyPeer true
424 #    VerifyHost true
425 #    CACert "/path/to/ca.crt"
426 #    Header "X-Custom-Header: foobar"
427 #    Post "foo=bar"
428 #
429 #    <XPath "table[@id=\"magic_level\"]/tr">
430 #      Type "magic_level"
431 #      #InstancePrefix "prefix-"
432 #      InstanceFrom "td[1]"
433 #      ValuesFrom "td[2]/span[@class=\"level\"]"
434 #    </XPath>
435 #  </URL>
436 #</Plugin>
437
438 #<Plugin dbi>
439 #       <Query "num_of_customers">
440 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
441 #               <Result>
442 #                       Type "gauge"
443 #                       InstancesFrom "c_key"
444 #                       ValuesFrom "c_value"
445 #               </Result>
446 #       </Query>
447 #       <Database "customers_db">
448 #               Driver "mysql"
449 #               DriverOption "host" "localhost"
450 #               DriverOption "username" "collectd"
451 #               DriverOption "password" "AeXohy0O"
452 #               DriverOption "dbname" "custdb0"
453 #               #SelectDB "custdb0"
454 #               Query "num_of_customers"
455 #               #Query "..."
456 #               #Host "..."
457 #       </Database>
458 #</Plugin>
459
460 #<Plugin df>
461 #       Device "/dev/hda1"
462 #       Device "192.168.0.2:/mnt/nfs"
463 #       MountPoint "/home"
464 #       FSType "ext3"
465 #       IgnoreSelected false
466 #       ReportByDevice false
467 #       ReportReserved false
468 #       ReportInodes false
469 #       ValuesAbsolute true
470 #       ValuesPercentage false
471 #</Plugin>
472
473 #<Plugin disk>
474 #       Disk "/^[hs]d[a-f][0-9]?$/"
475 #       IgnoreSelected false
476 #       UseBSDName false
477 #       UdevNameAttr "DEVNAME"
478 #</Plugin>
479
480 #<Plugin dns>
481 #       Interface "eth0"
482 #       IgnoreSource "192.168.0.1"
483 #       SelectNumericQueryTypes true
484 #</Plugin>
485
486 #<Plugin email>
487 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
488 #       SocketGroup "collectd"
489 #       SocketPerms "0770"
490 #       MaxConns 5
491 #</Plugin>
492
493 #<Plugin ethstat>
494 #       Interface "eth0"
495 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
496 #       Map "multicast" "if_multicast"
497 #       MappedOnly false
498 #</Plugin>
499
500 #<Plugin exec>
501 #       Exec "user:group" "/path/to/exec"
502 #       NotificationExec "user:group" "/path/to/exec"
503 #</Plugin>
504
505 #<Plugin filecount>
506 #       <Directory "/path/to/dir">
507 #               Instance "foodir"
508 #               Name "*.conf"
509 #               MTime "-5m"
510 #               Size "+10k"
511 #               Recursive true
512 #               IncludeHidden false
513 #       </Directory>
514 #</Plugin>
515
516 #<Plugin gmond>
517 #  MCReceiveFrom "239.2.11.71" "8649"
518 #  <Metric "swap_total">
519 #    Type "swap"
520 #    TypeInstance "total"
521 #    DataSource "value"
522 #  </Metric>
523 #  <Metric "swap_free">
524 #    Type "swap"
525 #    TypeInstance "free"
526 #    DataSource "value"
527 #  </Metric>
528 #</Plugin>
529
530 #<Plugin hddtemp>
531 #  Host "127.0.0.1"
532 #  Port "7634"
533 #</Plugin>
534
535 #<Plugin interface>
536 #       Interface "eth0"
537 #       IgnoreSelected false
538 #</Plugin>
539
540 #<Plugin ipmi>
541 #       Sensor "some_sensor"
542 #       Sensor "another_one"
543 #       IgnoreSelected false
544 #       NotifySensorAdd false
545 #       NotifySensorRemove true
546 #       NotifySensorNotPresent false
547 #</Plugin>
548
549 #<Plugin iptables>
550 #       Chain table chain
551 #</Plugin>
552
553 #<Plugin irq>
554 #       Irq 7
555 #       Irq 8
556 #       Irq 9
557 #       IgnoreSelected true
558 #</Plugin>
559
560 #<Plugin java>
561 #       JVMArg "-verbose:jni"
562 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
563 #
564 #       LoadPlugin "org.collectd.java.Foobar"
565 #       <Plugin "org.collectd.java.Foobar">
566 #         # To be parsed by the plugin
567 #       </Plugin>
568 #</Plugin>
569
570 #<Plugin load>
571 #        ReportRelative true
572 #</Plugin>
573
574 #<Plugin lpar>
575 #       CpuPoolStats   false
576 #       ReportBySerial false
577 #</Plugin>
578
579 #<Plugin madwifi>
580 #       Interface "wlan0"
581 #       IgnoreSelected false
582 #       Source "SysFS"
583 #       WatchSet "None"
584 #       WatchAdd "node_octets"
585 #       WatchAdd "node_rssi"
586 #       WatchAdd "is_rx_acl"
587 #       WatchAdd "is_scan_active"
588 #</Plugin>
589
590 #<Plugin mbmon>
591 #       Host "127.0.0.1"
592 #       Port "411"
593 #</Plugin>
594
595 #<Plugin md>
596 #       Device "/dev/md0"
597 #       IgnoreSelected false
598 #</Plugin>
599
600 #<Plugin memcachec>
601 #       <Page "plugin_instance">
602 #               Server "localhost"
603 #               Key "page_key"
604 #               <Match>
605 #                       Regex "(\\d+) bytes sent"
606 #                       ExcludeRegex "<lines to be excluded>"
607 #                       DSType CounterAdd
608 #                       Type "ipt_octets"
609 #                       Instance "type_instance"
610 #               </Match>
611 #       </Page>
612 #</Plugin>
613
614 #<Plugin memcached>
615 #       <Instance "local">
616 #               Host "127.0.0.1"
617 #               Port "11211"
618 #       </Instance>
619 #</Plugin>
620
621 #<Plugin memory>
622 #       ValuesAbsolute true
623 #       ValuesPercentage false
624 #</Plugin>
625
626 #<Plugin modbus>
627 #       <Data "data_name">
628 #               RegisterBase 1234
629 #               RegisterType float
630 #               Type gauge
631 #               Instance "..."
632 #       </Data>
633 #
634 #       <Host "name">
635 #               Address "addr"
636 #               Port "1234"
637 #               Interval 60
638 #
639 #               <Slave 1>
640 #                       Instance "foobar" # optional
641 #                       Collect "data_name"
642 #               </Slave>
643 #       </Host>
644 #</Plugin>
645
646 #<Plugin mysql>
647 #       <Database db_name>
648 #               Host "database.serv.er"
649 #               User "db_user"
650 #               Password "secret"
651 #               Database "db_name"
652 #               MasterStats true
653 #               ConnectTimeout 10
654 #               InnodbStats true
655 #       </Database>
656 #
657 #       <Database db_name2>
658 #               Alias "squeeze"
659 #               Host "localhost"
660 #               Socket "/var/run/mysql/mysqld.sock"
661 #               SlaveStats true
662 #               SlaveNotifications true
663 #       </Database>
664 #</Plugin>
665
666 #<Plugin netapp>
667 #       <Host "netapp1.example.com">
668 #               Protocol      "https"
669 #               Address       "10.0.0.1"
670 #               Port          443
671 #               User          "username"
672 #               Password      "aef4Aebe"
673 #               Interval      30
674 #
675 #               <WAFL>
676 #                       Interval 30
677 #                       GetNameCache   true
678 #                       GetDirCache    true
679 #                       GetBufferCache true
680 #                       GetInodeCache  true
681 #               </WAFL>
682 #
683 #               <Disks>
684 #                       Interval 30
685 #                       GetBusy true
686 #               </Disks>
687 #
688 #               <VolumePerf>
689 #                       Interval 30
690 #                       GetIO      "volume0"
691 #                       IgnoreSelectedIO      false
692 #                       GetOps     "volume0"
693 #                       IgnoreSelectedOps     false
694 #                       GetLatency "volume0"
695 #                       IgnoreSelectedLatency false
696 #               </VolumePerf>
697 #
698 #               <VolumeUsage>
699 #                       Interval 30
700 #                       GetCapacity "vol0"
701 #                       GetCapacity "vol1"
702 #                       IgnoreSelectedCapacity false
703 #                       GetSnapshot "vol1"
704 #                       GetSnapshot "vol3"
705 #                       IgnoreSelectedSnapshot false
706 #               </VolumeUsage>
707 #
708 #               <System>
709 #                       Interval 30
710 #                       GetCPULoad     true
711 #                       GetInterfaces  true
712 #                       GetDiskOps     true
713 #                       GetDiskIO      true
714 #               </System>
715 #       </Host>
716 #</Plugin>
717
718 #<Plugin netlink>
719 #       Interface "All"
720 #       VerboseInterface "All"
721 #       QDisc "eth0" "pfifo_fast-1:0"
722 #       Class "ppp0" "htb-1:10"
723 #       Filter "ppp0" "u32-1:0"
724 #       IgnoreSelected false
725 #</Plugin>
726
727 @LOAD_PLUGIN_NETWORK@<Plugin network>
728 #       # client setup:
729 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
730 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
731 #               SecurityLevel Encrypt
732 #               Username "user"
733 #               Password "secret"
734 #               Interface "eth0"
735 #               ResolveInterval 14400
736 @LOAD_PLUGIN_NETWORK@   </Server>
737 #       TimeToLive "128"
738 #
739 #       # server setup:
740 #       Listen "ff18::efc0:4a42" "25826"
741 #       <Listen "239.192.74.66" "25826">
742 #               SecurityLevel Sign
743 #               AuthFile "/etc/collectd/passwd"
744 #               Interface "eth0"
745 #       </Listen>
746 #       MaxPacketSize 1452
747 #
748 #       # proxy setup (client and server as above):
749 #       Forward true
750 #
751 #       # statistics about the network plugin itself
752 #       ReportStats false
753 #
754 #       # "garbage collection"
755 #       CacheFlush 1800
756 @LOAD_PLUGIN_NETWORK@</Plugin>
757
758 #<Plugin nginx>
759 #       URL "http://localhost/status?auto"
760 #       User "www-user"
761 #       Password "secret"
762 #       CACert "/etc/ssl/ca.crt"
763 #</Plugin>
764
765 #<Plugin notify_desktop>
766 #       OkayTimeout 1000
767 #       WarningTimeout 5000
768 #       FailureTimeout 0
769 #</Plugin>
770
771 #<Plugin notify_email>
772 #       SMTPServer "localhost"
773 #       SMTPPort 25
774 #       SMTPUser "my-username"
775 #       SMTPPassword "my-password"
776 #       From "collectd@main0server.com"
777 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
778 #       Subject "Aaaaaa!! %s on %s!!!!!"
779 #       Recipient "email1@domain1.net"
780 #       Recipient "email2@domain2.com"
781 #</Plugin>
782
783 #<Plugin ntpd>
784 #       Host "localhost"
785 #       Port 123
786 #       ReverseLookups false
787 #       IncludeUnitID true
788 #</Plugin>
789
790 #<Plugin nut>
791 #       UPS "upsname@hostname:port"
792 #</Plugin>
793
794 #<Plugin olsrd>
795 #       Host "127.0.0.1"
796 #       Port "2006"
797 #       CollectLinks "Summary"
798 #       CollectRoutes "Summary"
799 #       CollectTopology "Summary"
800 #</Plugin>
801
802 #<Plugin onewire>
803 #       Device "-s localhost:4304"
804 #       Sensor "F10FCA000800"
805 #       IgnoreSelected false
806 #</Plugin>
807
808 #<Plugin openldap>
809 #  <Instance "localhost">
810 #    URL "ldap://localhost:389"
811 #    StartTLS false
812 #    VerifyHost true
813 #    CACert "/path/to/ca.crt"
814 #    Timeout -1
815 #    Version 3
816 #  </Instance>
817 #</Plugin>
818
819 #<Plugin openvpn>
820 #       StatusFile "/etc/openvpn/openvpn-status.log"
821 #       ImprovedNamingSchema false
822 #       CollectCompression true
823 #       CollectIndividualUsers true
824 #       CollectUserCount false
825 #</Plugin>
826
827 #<Plugin oracle>
828 #  <Query "out_of_stock">
829 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
830 #    <Result>
831 #      Type "gauge"
832 #      InstancesFrom "category"
833 #      ValuesFrom "value"
834 #    </Result>
835 #  </Query>
836 #  <Database "product_information">
837 #    ConnectID "db01"
838 #    Username "oracle"
839 #    Password "secret"
840 #    Query "out_of_stock"
841 #  </Database>
842 #</Plugin>
843
844 #<Plugin perl>
845 #       IncludeDir "/my/include/path"
846 #       BaseName "Collectd::Plugins"
847 #       EnableDebugger ""
848 #       LoadPlugin Monitorus
849 #       LoadPlugin OpenVZ
850 #
851 #       <Plugin foo>
852 #               Foo "Bar"
853 #               Qux "Baz"
854 #       </Plugin>
855 #</Plugin>
856
857 #<Plugin pinba>
858 #       Address "::0"
859 #       Port "30002"
860 #       <View "name">
861 #               Host "host name"
862 #               Server "server name"
863 #               Script "script name"
864 #       </View>
865 #</Plugin>
866
867 #<Plugin ping>
868 #       Host "host.foo.bar"
869 #       Interval 1.0
870 #       Timeout 0.9
871 #       TTL 255
872 #       SourceAddress "1.2.3.4"
873 #       Device "eth0"
874 #       MaxMissed -1
875 #</Plugin>
876
877 #<Plugin postgresql>
878 #       <Query magic>
879 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
880 #               Param hostname
881 #               <Result>
882 #                       Type gauge
883 #                       InstancePrefix "magic"
884 #                       ValuesFrom magic
885 #               </Result>
886 #       </Query>
887 #       <Query rt36_tickets>
888 #               Statement "SELECT COUNT(type) AS count, type \
889 #                                 FROM (SELECT CASE \
890 #                                              WHEN resolved = 'epoch' THEN 'open' \
891 #                                              ELSE 'resolved' END AS type \
892 #                                              FROM tickets) type \
893 #                                 GROUP BY type;"
894 #               <Result>
895 #                       Type counter
896 #                       InstancePrefix "rt36_tickets"
897 #                       InstancesFrom "type"
898 #                       ValuesFrom "count"
899 #               </Result>
900 #       </Query>
901 #       <Writer sqlstore>
902 #               # See contrib/postgresql/collectd_insert.sql for details
903 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
904 #               StoreRates true
905 #       </Writer>
906 #       <Database foo>
907 #               Host "hostname"
908 #               Port "5432"
909 #               User "username"
910 #               Password "secret"
911 #               SSLMode "prefer"
912 #               KRBSrvName "kerberos_service_name"
913 #               Query magic
914 #       </Database>
915 #       <Database bar>
916 #               Interval 60
917 #               Service "service_name"
918 #               Query backend # predefined
919 #               Query rt36_tickets
920 #       </Database>
921 #       <Database qux>
922 #               Service "collectd_store"
923 #               Writer sqlstore
924 #               # see collectd.conf(5) for details
925 #               CommitInterval 30
926 #       </Database>
927 #</Plugin>
928
929 #<Plugin powerdns>
930 #  <Server "server_name">
931 #    Collect "latency"
932 #    Collect "udp-answers" "udp-queries"
933 #    Socket "/var/run/pdns.controlsocket"
934 #  </Server>
935 #  <Recursor "recursor_name">
936 #    Collect "questions"
937 #    Collect "cache-hits" "cache-misses"
938 #    Socket "/var/run/pdns_recursor.controlsocket"
939 #  </Recursor>
940 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
941 #</Plugin>
942
943 #<Plugin processes>
944 #       Process "name"
945 #</Plugin>
946
947 #<Plugin protocols>
948 #       Value "/^Tcp:/"
949 #       IgnoreSelected false
950 #</Plugin>
951
952 #<Plugin python>
953 #       ModulePath "/path/to/your/python/modules"
954 #       LogTraces true
955 #       Interactive true
956 #       Import "spam"
957 #
958 #       <Module spam>
959 #               spam "wonderful" "lovely"
960 #       </Module>
961 #</Plugin>
962
963 #<Plugin redis>
964 #   <Node example>
965 #      Host "redis.example.com"
966 #      Port "6379"
967 #      Timeout 2000
968 #   </Node>
969 #</Plugin>
970
971 #<Plugin routeros>
972 #       <Router>
973 #               Host "router.example.com"
974 #               Port "8728"
975 #               User "admin"
976 #               Password "dozaiTh4"
977 #               CollectInterface true
978 #               CollectRegistrationTable true
979 #               CollectCPULoad true
980 #               CollectMemory true
981 #               CollectDF true
982 #               CollectDisk true
983 #       </Router>
984 #</Plugin>
985
986 #<Plugin rrdcached>
987 #       DaemonAddress "unix:/tmp/rrdcached.sock"
988 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
989 #       CreateFiles true
990 #       CreateFilesAsync false
991 #       CollectStatistics true
992 #</Plugin>
993
994 #<Plugin rrdtool>
995 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
996 #       CreateFilesAsync false
997 #       CacheTimeout 120
998 #       CacheFlush   900
999 #       WritesPerSecond 50
1000 #</Plugin>
1001
1002 #<Plugin sensors>
1003 #       SensorConfigFile "/etc/sensors.conf"
1004 #       Sensor "it8712-isa-0290/temperature-temp1"
1005 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1006 #       Sensor "it8712-isa-0290/voltage-in8"
1007 #       IgnoreSelected false
1008 #</Plugin>
1009
1010 #<Plugin sigrok>
1011 #  LogLevel 3
1012 #  <Device "AC Voltage">
1013 #    Driver "fluke-dmm"
1014 #    MinimumInterval 10
1015 #    Conn "/dev/ttyUSB2"
1016 #  </Device>
1017 #  <Device "Sound Level">
1018 #    Driver "cem-dt-885x"
1019 #    Conn "/dev/ttyUSB1"
1020 #  </Device>
1021 #</Plugin>
1022
1023 #<Plugin smart>
1024 #  Disk "/^[hs]d[a-f][0-9]?$/"
1025 #  IgnoreSelected false
1026 #</Plugin>
1027
1028 #<Plugin snmp>
1029 #   <Data "powerplus_voltge_input">
1030 #       Type "voltage"
1031 #       Table false
1032 #       Instance "input_line1"
1033 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1034 #   </Data>
1035 #   <Data "hr_users">
1036 #       Type "users"
1037 #       Table false
1038 #       Instance ""
1039 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1040 #   </Data>
1041 #   <Data "std_traffic">
1042 #       Type "if_octets"
1043 #       Table true
1044 #       Instance "IF-MIB::ifDescr"
1045 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1046 #   </Data>
1047 #
1048 #   <Host "some.switch.mydomain.org">
1049 #       Address "192.168.0.2"
1050 #       Version 1
1051 #       Community "community_string"
1052 #       Collect "std_traffic"
1053 #       Interval 120
1054 #   </Host>
1055 #   <Host "some.server.mydomain.org">
1056 #       Address "192.168.0.42"
1057 #       Version 2
1058 #       Community "another_string"
1059 #       Collect "std_traffic" "hr_users"
1060 #   </Host>
1061 #   <Host "some.ups.mydomain.org">
1062 #       Address "192.168.0.3"
1063 #       Version 1
1064 #       Community "more_communities"
1065 #       Collect "powerplus_voltge_input"
1066 #       Interval 300
1067 #   </Host>
1068 #</Plugin>
1069
1070 #<Plugin statsd>
1071 #  Host "::"
1072 #  Port "8125"
1073 #  DeleteCounters false
1074 #  DeleteTimers   false
1075 #  DeleteGauges   false
1076 #  DeleteSets     false
1077 #  TimerPercentile 90.0
1078 #  TimerPercentile 95.0
1079 #  TimerPercentile 99.0
1080 #  TimerLower     false
1081 #  TimerUpper     false
1082 #  TimerSum       false
1083 #  TimerCount     false
1084 #</Plugin>
1085
1086 #<Plugin swap>
1087 #       ReportByDevice false
1088 #       ReportBytes true
1089 #       ValuesAbsolute true
1090 #       ValuesPercentage false
1091 #</Plugin>
1092
1093 #<Plugin table>
1094 #       <Table "/proc/slabinfo">
1095 #               Instance "slabinfo"
1096 #               Separator " "
1097 #               <Result>
1098 #                       Type gauge
1099 #                       InstancePrefix "active_objs"
1100 #                       InstancesFrom 0
1101 #                       ValuesFrom 1
1102 #               </Result>
1103 #               <Result>
1104 #                       Type gauge
1105 #                       InstancePrefix "objperslab"
1106 #                       InstancesFrom 0
1107 #                       ValuesFrom 4
1108 #               </Result>
1109 #       </Table>
1110 #</Plugin>
1111
1112 #<Plugin tail>
1113 #  <File "/var/log/exim4/mainlog">
1114 #    Instance "exim"
1115 #    Interval 60
1116 #    <Match>
1117 #      Regex "S=([1-9][0-9]*)"
1118 #      DSType "CounterAdd"
1119 #      Type "ipt_bytes"
1120 #      Instance "total"
1121 #    </Match>
1122 #    <Match>
1123 #      Regex "\\<R=local_user\\>"
1124 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1125 #      DSType "CounterInc"
1126 #      Type "counter"
1127 #      Instance "local_user"
1128 #    </Match>
1129 #  </File>
1130 #</Plugin>
1131
1132 #<Plugin tail_csv>
1133 #   <Metric "dropped">
1134 #       Type "percent"
1135 #       Instance "dropped"
1136 #       ValueFrom 1
1137 #   </Metric>
1138 #   <Metric "mbps">
1139 #       Type "bytes"
1140 #       Instance "wire-realtime"
1141 #       ValueFrom 2
1142 #   </Metric>
1143 #   <Metric "alerts">
1144 #       Type "alerts_per_second"
1145 #       ValueFrom 3
1146 #   </Metric>
1147 #   <Metric "kpps">
1148 #       Type "kpackets_wire_per_sec.realtime"
1149 #       ValueFrom 4
1150 #   </Metric>
1151 #   <File "/var/log/snort/snort.stats">
1152 #       Instance "snort-eth0"
1153 #       Interval 600
1154 #       Collect "dropped" "mbps" "alerts" "kpps"
1155 #       TimeFrom 0
1156 #   </File>
1157 #</Plugin>
1158
1159 #<Plugin tcpconns>
1160 #       ListeningPorts false
1161 #       AllPortsSummary false
1162 #       LocalPort "25"
1163 #       RemotePort "25"
1164 #</Plugin>
1165
1166 #<Plugin teamspeak2>
1167 #       Host "127.0.0.1"
1168 #       Port "51234"
1169 #       Server "8767"
1170 #</Plugin>
1171
1172 #<Plugin ted>
1173 #       Device "/dev/ttyUSB0"
1174 #       Retries 0
1175 #</Plugin>
1176
1177 #<Plugin thermal>
1178 #       ForceUseProcfs false
1179 #       Device "THRM"
1180 #       IgnoreSelected false
1181 #</Plugin>
1182
1183 #<Plugin tokyotyrant>
1184 #       Host "localhost"
1185 #       Port "1978"
1186 #</Plugin>
1187
1188 #<Plugin unixsock>
1189 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1190 #       SocketGroup "collectd"
1191 #       SocketPerms "0660"
1192 #       DeleteSocket false
1193 #</Plugin>
1194
1195 #<Plugin uuid>
1196 #       UUIDFile "/etc/uuid"
1197 #</Plugin>
1198
1199 #<Plugin mic>
1200 #   ShowCPU true
1201 #   ShowCPUCores true
1202 #   ShowMemory true
1203 #   ShowTemperatures true
1204 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1205 ##  then inverted with a IgnoreSelectedTemperature.
1206 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1207 #   Temperature vddg
1208 #   IgnoreSelectedTemperature true
1209 #   ShowPower true
1210 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1211 ##  then inverted with a IgnoreSelectedTemperature.
1212 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1213 #   Power total1
1214 #   IgnoreSelectedPower true
1215 #</Plugin>
1216
1217 #<Plugin varnish>
1218 #   This tag support an argument if you want to
1219 #   monitor the local instance just use </Instance>
1220 #   If you prefer defining another instance you can do
1221 #   so by using <Instance "myinstance">
1222 #   <Instance>
1223 #      CollectBackend true
1224 #      CollectBan false           # Varnish 3 and above
1225 #      CollectCache true
1226 #      CollectConnections true
1227 #      CollectDirectorDNS false   # Varnish 3 only
1228 #      CollectESI false
1229 #      CollectFetch false
1230 #      CollectHCB false
1231 #      CollectObjects false
1232 #      CollectPurge false         # Varnish 2 only
1233 #      CollectSession false
1234 #      CollectSHM true
1235 #      CollectSMA false           # Varnish 2 only
1236 #      CollectSMS false
1237 #      CollectSM false            # Varnish 2 only
1238 #      CollectStruct false
1239 #      CollectTotals false
1240 #      CollectUptime false        # Varnish 3 and above
1241 #      CollectVCL false
1242 #      CollectVSM false           # Varnish 4 only
1243 #      CollectWorkers false
1244 #   </Instance>
1245 #</Plugin>
1246
1247 #<Plugin virt>
1248 #       Connection "xen:///"
1249 #       RefreshInterval 60
1250 #       Domain "name"
1251 #       BlockDevice "name:device"
1252 #       InterfaceDevice "name:device"
1253 #       IgnoreSelected false
1254 #       HostnameFormat name
1255 #       InterfaceFormat name
1256 #       PluginInstanceFormat name
1257 #</Plugin>
1258
1259 #<Plugin vmem>
1260 #       Verbose false
1261 #</Plugin>
1262
1263 #<Plugin write_graphite>
1264 #  <Node "example">
1265 #    Host "localhost"
1266 #    Port "2003"
1267 #    Protocol "tcp"
1268 #    LogSendErrors true
1269 #    Prefix "collectd"
1270 #    Postfix "collectd"
1271 #    StoreRates true
1272 #    AlwaysAppendDS false
1273 #    EscapeCharacter "_"
1274 #  </Node>
1275 #</Plugin>
1276
1277 #<Plugin write_http>
1278 #       <URL "http://example.com/collectd-post">
1279 #               User "collectd"
1280 #               Password "weCh3ik0"
1281 #               VerifyPeer true
1282 #               VerifyHost true
1283 #               CACert "/etc/ssl/ca.crt"
1284 #               CAPath "/etc/ssl/certs/"
1285 #               ClientKey "/etc/ssl/client.pem"
1286 #               ClientCert "/etc/ssl/client.crt"
1287 #               ClientKeyPass "secret"
1288 #               SSLVersion "TLSv1"
1289 #               Format "Command"
1290 #               StoreRates false
1291 #               BufferSize 4096
1292 #       </URL>
1293 #</Plugin>
1294
1295 #<Plugin write_kafka>
1296 #  Property "metadata.broker.list" "localhost:9092"
1297 #  <Topic "collectd">
1298 #    Format JSON
1299 #  </Topic>
1300 #</Plugin>
1301
1302 #<Plugin write_mongodb>
1303 #       <Node "example">
1304 #               Host "localhost"
1305 #               Port "27017"
1306 #               Timeout 1000
1307 #               StoreRates false
1308 #               Database "auth_db"
1309 #               User "auth_user"
1310 #               Password "auth_passwd"
1311 #       </Node>
1312 #</Plugin>
1313
1314 #<Plugin write_redis>
1315 #       <Node "example">
1316 #               Host "localhost"
1317 #               Port "6379"
1318 #               Timeout 1000
1319 #       </Node>
1320 #</Plugin>
1321
1322 #<Plugin write_riemann>
1323 #       <Node "example">
1324 #               Host "localhost"
1325 #               Port 5555
1326 #               Protocol UDP
1327 #               StoreRates true
1328 #               AlwaysAppendDS false
1329 #               TTLFactor 2.0
1330 #               EventServicePrefix ""
1331 #       </Node>
1332 #       Tag "foobar"
1333 #       Attribute "foo" "bar"
1334 #</Plugin>
1335
1336 #<Plugin write_tsdb>
1337 #       <Node>
1338 #               Host "localhost"
1339 #               Port "4242"
1340 #               HostTags "status=production"
1341 #               StoreRates false
1342 #               AlwaysAppendDS false
1343 #       </Node>
1344 #</Plugin>
1345
1346 #<Plugin zookeeper>
1347 #    Host "localhost"
1348 #    Port "2181"
1349 #</Plugin>
1350
1351 ##############################################################################
1352 # Filter configuration                                                       #
1353 #----------------------------------------------------------------------------#
1354 # The following configures collectd's filtering mechanism. Before changing   #
1355 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1356 # in the collectd.conf(5) manual page.                                       #
1357 ##############################################################################
1358
1359 # Load required matches:
1360 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1361 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1362 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1363 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1364 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1365
1366 # Load required targets:
1367 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1368 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1369 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1370 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1371 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1372
1373 #----------------------------------------------------------------------------#
1374 # The following block demonstrates the default behavior if no filtering is   #
1375 # configured at all: All values will be sent to all available write plugins. #
1376 #----------------------------------------------------------------------------#
1377
1378 #<Chain "PostCache">
1379 #  Target "write"
1380 #</Chain>
1381
1382 ##############################################################################
1383 # Threshold configuration                                                    #
1384 #----------------------------------------------------------------------------#
1385 # The following outlines how to configure collectd's threshold checking      #
1386 # plugin. The plugin and possible configuration options are documented in    #
1387 # the collectd-threshold(5) manual page.                                     #
1388 ##############################################################################
1389
1390 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1391 #<Plugin threshold>
1392 #  <Type "foo">
1393 #    WarningMin    0.00
1394 #    WarningMax 1000.00
1395 #    FailureMin    0.00
1396 #    FailureMax 1200.00
1397 #    Invert false
1398 #    Instance "bar"
1399 #  </Type>
1400 #
1401 #  <Plugin "interface">
1402 #    Instance "eth0"
1403 #    <Type "if_octets">
1404 #      FailureMax 10000000
1405 #      DataSource "rx"
1406 #    </Type>
1407 #  </Plugin>
1408 #
1409 #  <Host "hostname">
1410 #    <Type "cpu">
1411 #      Instance "idle"
1412 #      FailureMin 10
1413 #    </Type>
1414 #
1415 #    <Plugin "memory">
1416 #      <Type "memory">
1417 #        Instance "cached"
1418 #        WarningMin 100000000
1419 #      </Type>
1420 #    </Plugin>
1421 #
1422 #    <Type "load">
1423 #       DataSource "midterm"
1424 #       FailureMax 4
1425 #       Hits 3
1426 #       Hysteresis 3
1427 #    </Type>
1428 #  </Host>
1429 #</Plugin>