Merge pull request #847 from mihu/bind_zone_fix
[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 #               ModbusRegisterType holding
631 #               Type gauge
632 #               Instance "..."
633 #       </Data>
634 #
635 #       <Host "name">
636 #               Address "addr"
637 #               Port "1234"
638 #               Interval 60
639 #
640 #               <Slave 1>
641 #                       Instance "foobar" # optional
642 #                       Collect "data_name"
643 #               </Slave>
644 #       </Host>
645 #</Plugin>
646
647 #<Plugin mysql>
648 #       <Database db_name>
649 #               Host "database.serv.er"
650 #               User "db_user"
651 #               Password "secret"
652 #               Database "db_name"
653 #               MasterStats true
654 #               ConnectTimeout 10
655 #               InnodbStats true
656 #       </Database>
657 #
658 #       <Database db_name2>
659 #               Alias "squeeze"
660 #               Host "localhost"
661 #               Socket "/var/run/mysql/mysqld.sock"
662 #               SlaveStats true
663 #               SlaveNotifications true
664 #       </Database>
665 #</Plugin>
666
667 #<Plugin netapp>
668 #       <Host "netapp1.example.com">
669 #               Protocol      "https"
670 #               Address       "10.0.0.1"
671 #               Port          443
672 #               User          "username"
673 #               Password      "aef4Aebe"
674 #               Interval      30
675 #
676 #               <WAFL>
677 #                       Interval 30
678 #                       GetNameCache   true
679 #                       GetDirCache    true
680 #                       GetBufferCache true
681 #                       GetInodeCache  true
682 #               </WAFL>
683 #
684 #               <Disks>
685 #                       Interval 30
686 #                       GetBusy true
687 #               </Disks>
688 #
689 #               <VolumePerf>
690 #                       Interval 30
691 #                       GetIO      "volume0"
692 #                       IgnoreSelectedIO      false
693 #                       GetOps     "volume0"
694 #                       IgnoreSelectedOps     false
695 #                       GetLatency "volume0"
696 #                       IgnoreSelectedLatency false
697 #               </VolumePerf>
698 #
699 #               <VolumeUsage>
700 #                       Interval 30
701 #                       GetCapacity "vol0"
702 #                       GetCapacity "vol1"
703 #                       IgnoreSelectedCapacity false
704 #                       GetSnapshot "vol1"
705 #                       GetSnapshot "vol3"
706 #                       IgnoreSelectedSnapshot false
707 #               </VolumeUsage>
708 #
709 #               <System>
710 #                       Interval 30
711 #                       GetCPULoad     true
712 #                       GetInterfaces  true
713 #                       GetDiskOps     true
714 #                       GetDiskIO      true
715 #               </System>
716 #       </Host>
717 #</Plugin>
718
719 #<Plugin netlink>
720 #       Interface "All"
721 #       VerboseInterface "All"
722 #       QDisc "eth0" "pfifo_fast-1:0"
723 #       Class "ppp0" "htb-1:10"
724 #       Filter "ppp0" "u32-1:0"
725 #       IgnoreSelected false
726 #</Plugin>
727
728 @LOAD_PLUGIN_NETWORK@<Plugin network>
729 #       # client setup:
730 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
731 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
732 #               SecurityLevel Encrypt
733 #               Username "user"
734 #               Password "secret"
735 #               Interface "eth0"
736 #               ResolveInterval 14400
737 @LOAD_PLUGIN_NETWORK@   </Server>
738 #       TimeToLive "128"
739 #
740 #       # server setup:
741 #       Listen "ff18::efc0:4a42" "25826"
742 #       <Listen "239.192.74.66" "25826">
743 #               SecurityLevel Sign
744 #               AuthFile "/etc/collectd/passwd"
745 #               Interface "eth0"
746 #       </Listen>
747 #       MaxPacketSize 1452
748 #
749 #       # proxy setup (client and server as above):
750 #       Forward true
751 #
752 #       # statistics about the network plugin itself
753 #       ReportStats false
754 #
755 #       # "garbage collection"
756 #       CacheFlush 1800
757 @LOAD_PLUGIN_NETWORK@</Plugin>
758
759 #<Plugin nginx>
760 #       URL "http://localhost/status?auto"
761 #       User "www-user"
762 #       Password "secret"
763 #       CACert "/etc/ssl/ca.crt"
764 #</Plugin>
765
766 #<Plugin notify_desktop>
767 #       OkayTimeout 1000
768 #       WarningTimeout 5000
769 #       FailureTimeout 0
770 #</Plugin>
771
772 #<Plugin notify_email>
773 #       SMTPServer "localhost"
774 #       SMTPPort 25
775 #       SMTPUser "my-username"
776 #       SMTPPassword "my-password"
777 #       From "collectd@main0server.com"
778 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
779 #       Subject "Aaaaaa!! %s on %s!!!!!"
780 #       Recipient "email1@domain1.net"
781 #       Recipient "email2@domain2.com"
782 #</Plugin>
783
784 #<Plugin ntpd>
785 #       Host "localhost"
786 #       Port 123
787 #       ReverseLookups false
788 #       IncludeUnitID true
789 #</Plugin>
790
791 #<Plugin nut>
792 #       UPS "upsname@hostname:port"
793 #</Plugin>
794
795 #<Plugin olsrd>
796 #       Host "127.0.0.1"
797 #       Port "2006"
798 #       CollectLinks "Summary"
799 #       CollectRoutes "Summary"
800 #       CollectTopology "Summary"
801 #</Plugin>
802
803 #<Plugin onewire>
804 #       Device "-s localhost:4304"
805 #       Sensor "F10FCA000800"
806 #       IgnoreSelected false
807 #</Plugin>
808
809 #<Plugin openldap>
810 #  <Instance "localhost">
811 #    URL "ldap://localhost:389"
812 #    StartTLS false
813 #    VerifyHost true
814 #    CACert "/path/to/ca.crt"
815 #    Timeout -1
816 #    Version 3
817 #  </Instance>
818 #</Plugin>
819
820 #<Plugin openvpn>
821 #       StatusFile "/etc/openvpn/openvpn-status.log"
822 #       ImprovedNamingSchema false
823 #       CollectCompression true
824 #       CollectIndividualUsers true
825 #       CollectUserCount false
826 #</Plugin>
827
828 #<Plugin oracle>
829 #  <Query "out_of_stock">
830 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
831 #    <Result>
832 #      Type "gauge"
833 #      InstancesFrom "category"
834 #      ValuesFrom "value"
835 #    </Result>
836 #  </Query>
837 #  <Database "product_information">
838 #    ConnectID "db01"
839 #    Username "oracle"
840 #    Password "secret"
841 #    Query "out_of_stock"
842 #  </Database>
843 #</Plugin>
844
845 #<Plugin perl>
846 #       IncludeDir "/my/include/path"
847 #       BaseName "Collectd::Plugins"
848 #       EnableDebugger ""
849 #       LoadPlugin Monitorus
850 #       LoadPlugin OpenVZ
851 #
852 #       <Plugin foo>
853 #               Foo "Bar"
854 #               Qux "Baz"
855 #       </Plugin>
856 #</Plugin>
857
858 #<Plugin pinba>
859 #       Address "::0"
860 #       Port "30002"
861 #       <View "name">
862 #               Host "host name"
863 #               Server "server name"
864 #               Script "script name"
865 #       </View>
866 #</Plugin>
867
868 #<Plugin ping>
869 #       Host "host.foo.bar"
870 #       Interval 1.0
871 #       Timeout 0.9
872 #       TTL 255
873 #       SourceAddress "1.2.3.4"
874 #       Device "eth0"
875 #       MaxMissed -1
876 #</Plugin>
877
878 #<Plugin postgresql>
879 #       <Query magic>
880 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
881 #               Param hostname
882 #               <Result>
883 #                       Type gauge
884 #                       InstancePrefix "magic"
885 #                       ValuesFrom magic
886 #               </Result>
887 #       </Query>
888 #       <Query rt36_tickets>
889 #               Statement "SELECT COUNT(type) AS count, type \
890 #                                 FROM (SELECT CASE \
891 #                                              WHEN resolved = 'epoch' THEN 'open' \
892 #                                              ELSE 'resolved' END AS type \
893 #                                              FROM tickets) type \
894 #                                 GROUP BY type;"
895 #               <Result>
896 #                       Type counter
897 #                       InstancePrefix "rt36_tickets"
898 #                       InstancesFrom "type"
899 #                       ValuesFrom "count"
900 #               </Result>
901 #       </Query>
902 #       <Writer sqlstore>
903 #               # See contrib/postgresql/collectd_insert.sql for details
904 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
905 #               StoreRates true
906 #       </Writer>
907 #       <Database foo>
908 #               Host "hostname"
909 #               Port "5432"
910 #               User "username"
911 #               Password "secret"
912 #               SSLMode "prefer"
913 #               KRBSrvName "kerberos_service_name"
914 #               Query magic
915 #       </Database>
916 #       <Database bar>
917 #               Interval 60
918 #               Service "service_name"
919 #               Query backend # predefined
920 #               Query rt36_tickets
921 #       </Database>
922 #       <Database qux>
923 #               Service "collectd_store"
924 #               Writer sqlstore
925 #               # see collectd.conf(5) for details
926 #               CommitInterval 30
927 #       </Database>
928 #</Plugin>
929
930 #<Plugin powerdns>
931 #  <Server "server_name">
932 #    Collect "latency"
933 #    Collect "udp-answers" "udp-queries"
934 #    Socket "/var/run/pdns.controlsocket"
935 #  </Server>
936 #  <Recursor "recursor_name">
937 #    Collect "questions"
938 #    Collect "cache-hits" "cache-misses"
939 #    Socket "/var/run/pdns_recursor.controlsocket"
940 #  </Recursor>
941 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
942 #</Plugin>
943
944 #<Plugin processes>
945 #       Process "name"
946 #</Plugin>
947
948 #<Plugin protocols>
949 #       Value "/^Tcp:/"
950 #       IgnoreSelected false
951 #</Plugin>
952
953 #<Plugin python>
954 #       ModulePath "/path/to/your/python/modules"
955 #       LogTraces true
956 #       Interactive true
957 #       Import "spam"
958 #
959 #       <Module spam>
960 #               spam "wonderful" "lovely"
961 #       </Module>
962 #</Plugin>
963
964 #<Plugin redis>
965 #   <Node example>
966 #      Host "redis.example.com"
967 #      Port "6379"
968 #      Timeout 2000
969 #   </Node>
970 #</Plugin>
971
972 #<Plugin routeros>
973 #       <Router>
974 #               Host "router.example.com"
975 #               Port "8728"
976 #               User "admin"
977 #               Password "dozaiTh4"
978 #               CollectInterface true
979 #               CollectRegistrationTable true
980 #               CollectCPULoad true
981 #               CollectMemory true
982 #               CollectDF true
983 #               CollectDisk true
984 #       </Router>
985 #</Plugin>
986
987 #<Plugin rrdcached>
988 #       DaemonAddress "unix:/tmp/rrdcached.sock"
989 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
990 #       CreateFiles true
991 #       CreateFilesAsync false
992 #       CollectStatistics true
993 #</Plugin>
994
995 #<Plugin rrdtool>
996 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
997 #       CreateFilesAsync false
998 #       CacheTimeout 120
999 #       CacheFlush   900
1000 #       WritesPerSecond 50
1001 #</Plugin>
1002
1003 #<Plugin sensors>
1004 #       SensorConfigFile "/etc/sensors.conf"
1005 #       Sensor "it8712-isa-0290/temperature-temp1"
1006 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1007 #       Sensor "it8712-isa-0290/voltage-in8"
1008 #       IgnoreSelected false
1009 #</Plugin>
1010
1011 #<Plugin sigrok>
1012 #  LogLevel 3
1013 #  <Device "AC Voltage">
1014 #    Driver "fluke-dmm"
1015 #    MinimumInterval 10
1016 #    Conn "/dev/ttyUSB2"
1017 #  </Device>
1018 #  <Device "Sound Level">
1019 #    Driver "cem-dt-885x"
1020 #    Conn "/dev/ttyUSB1"
1021 #  </Device>
1022 #</Plugin>
1023
1024 #<Plugin smart>
1025 #  Disk "/^[hs]d[a-f][0-9]?$/"
1026 #  IgnoreSelected false
1027 #</Plugin>
1028
1029 #<Plugin snmp>
1030 #   <Data "powerplus_voltge_input">
1031 #       Type "voltage"
1032 #       Table false
1033 #       Instance "input_line1"
1034 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1035 #   </Data>
1036 #   <Data "hr_users">
1037 #       Type "users"
1038 #       Table false
1039 #       Instance ""
1040 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1041 #   </Data>
1042 #   <Data "std_traffic">
1043 #       Type "if_octets"
1044 #       Table true
1045 #       Instance "IF-MIB::ifDescr"
1046 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1047 #   </Data>
1048 #
1049 #   <Host "some.switch.mydomain.org">
1050 #       Address "192.168.0.2"
1051 #       Version 1
1052 #       Community "community_string"
1053 #       Collect "std_traffic"
1054 #       Interval 120
1055 #   </Host>
1056 #   <Host "some.server.mydomain.org">
1057 #       Address "192.168.0.42"
1058 #       Version 2
1059 #       Community "another_string"
1060 #       Collect "std_traffic" "hr_users"
1061 #   </Host>
1062 #   <Host "some.ups.mydomain.org">
1063 #       Address "192.168.0.3"
1064 #       Version 1
1065 #       Community "more_communities"
1066 #       Collect "powerplus_voltge_input"
1067 #       Interval 300
1068 #   </Host>
1069 #</Plugin>
1070
1071 #<Plugin statsd>
1072 #  Host "::"
1073 #  Port "8125"
1074 #  DeleteCounters false
1075 #  DeleteTimers   false
1076 #  DeleteGauges   false
1077 #  DeleteSets     false
1078 #  TimerPercentile 90.0
1079 #  TimerPercentile 95.0
1080 #  TimerPercentile 99.0
1081 #  TimerLower     false
1082 #  TimerUpper     false
1083 #  TimerSum       false
1084 #  TimerCount     false
1085 #</Plugin>
1086
1087 #<Plugin swap>
1088 #       ReportByDevice false
1089 #       ReportBytes true
1090 #       ValuesAbsolute true
1091 #       ValuesPercentage false
1092 #</Plugin>
1093
1094 #<Plugin table>
1095 #       <Table "/proc/slabinfo">
1096 #               Instance "slabinfo"
1097 #               Separator " "
1098 #               <Result>
1099 #                       Type gauge
1100 #                       InstancePrefix "active_objs"
1101 #                       InstancesFrom 0
1102 #                       ValuesFrom 1
1103 #               </Result>
1104 #               <Result>
1105 #                       Type gauge
1106 #                       InstancePrefix "objperslab"
1107 #                       InstancesFrom 0
1108 #                       ValuesFrom 4
1109 #               </Result>
1110 #       </Table>
1111 #</Plugin>
1112
1113 #<Plugin tail>
1114 #  <File "/var/log/exim4/mainlog">
1115 #    Instance "exim"
1116 #    Interval 60
1117 #    <Match>
1118 #      Regex "S=([1-9][0-9]*)"
1119 #      DSType "CounterAdd"
1120 #      Type "ipt_bytes"
1121 #      Instance "total"
1122 #    </Match>
1123 #    <Match>
1124 #      Regex "\\<R=local_user\\>"
1125 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1126 #      DSType "CounterInc"
1127 #      Type "counter"
1128 #      Instance "local_user"
1129 #    </Match>
1130 #  </File>
1131 #</Plugin>
1132
1133 #<Plugin tail_csv>
1134 #   <Metric "dropped">
1135 #       Type "percent"
1136 #       Instance "dropped"
1137 #       ValueFrom 1
1138 #   </Metric>
1139 #   <Metric "mbps">
1140 #       Type "bytes"
1141 #       Instance "wire-realtime"
1142 #       ValueFrom 2
1143 #   </Metric>
1144 #   <Metric "alerts">
1145 #       Type "alerts_per_second"
1146 #       ValueFrom 3
1147 #   </Metric>
1148 #   <Metric "kpps">
1149 #       Type "kpackets_wire_per_sec.realtime"
1150 #       ValueFrom 4
1151 #   </Metric>
1152 #   <File "/var/log/snort/snort.stats">
1153 #       Instance "snort-eth0"
1154 #       Interval 600
1155 #       Collect "dropped" "mbps" "alerts" "kpps"
1156 #       TimeFrom 0
1157 #   </File>
1158 #</Plugin>
1159
1160 #<Plugin tcpconns>
1161 #       ListeningPorts false
1162 #       AllPortsSummary false
1163 #       LocalPort "25"
1164 #       RemotePort "25"
1165 #</Plugin>
1166
1167 #<Plugin teamspeak2>
1168 #       Host "127.0.0.1"
1169 #       Port "51234"
1170 #       Server "8767"
1171 #</Plugin>
1172
1173 #<Plugin ted>
1174 #       Device "/dev/ttyUSB0"
1175 #       Retries 0
1176 #</Plugin>
1177
1178 #<Plugin thermal>
1179 #       ForceUseProcfs false
1180 #       Device "THRM"
1181 #       IgnoreSelected false
1182 #</Plugin>
1183
1184 #<Plugin tokyotyrant>
1185 #       Host "localhost"
1186 #       Port "1978"
1187 #</Plugin>
1188
1189 #<Plugin unixsock>
1190 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1191 #       SocketGroup "collectd"
1192 #       SocketPerms "0660"
1193 #       DeleteSocket false
1194 #</Plugin>
1195
1196 #<Plugin uuid>
1197 #       UUIDFile "/etc/uuid"
1198 #</Plugin>
1199
1200 #<Plugin mic>
1201 #   ShowCPU true
1202 #   ShowCPUCores true
1203 #   ShowMemory true
1204 #   ShowTemperatures true
1205 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1206 ##  then inverted with a IgnoreSelectedTemperature.
1207 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1208 #   Temperature vddg
1209 #   IgnoreSelectedTemperature true
1210 #   ShowPower true
1211 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1212 ##  then inverted with a IgnoreSelectedTemperature.
1213 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1214 #   Power total1
1215 #   IgnoreSelectedPower true
1216 #</Plugin>
1217
1218 #<Plugin varnish>
1219 #   This tag support an argument if you want to
1220 #   monitor the local instance just use </Instance>
1221 #   If you prefer defining another instance you can do
1222 #   so by using <Instance "myinstance">
1223 #   <Instance>
1224 #      CollectBackend true
1225 #      CollectBan false           # Varnish 3 and above
1226 #      CollectCache true
1227 #      CollectConnections true
1228 #      CollectDirectorDNS false   # Varnish 3 only
1229 #      CollectESI false
1230 #      CollectFetch false
1231 #      CollectHCB false
1232 #      CollectObjects false
1233 #      CollectPurge false         # Varnish 2 only
1234 #      CollectSession false
1235 #      CollectSHM true
1236 #      CollectSMA false           # Varnish 2 only
1237 #      CollectSMS false
1238 #      CollectSM false            # Varnish 2 only
1239 #      CollectStruct false
1240 #      CollectTotals false
1241 #      CollectUptime false        # Varnish 3 and above
1242 #      CollectVCL false
1243 #      CollectVSM false           # Varnish 4 only
1244 #      CollectWorkers false
1245 #   </Instance>
1246 #</Plugin>
1247
1248 #<Plugin virt>
1249 #       Connection "xen:///"
1250 #       RefreshInterval 60
1251 #       Domain "name"
1252 #       BlockDevice "name:device"
1253 #       InterfaceDevice "name:device"
1254 #       IgnoreSelected false
1255 #       HostnameFormat name
1256 #       InterfaceFormat name
1257 #       PluginInstanceFormat name
1258 #</Plugin>
1259
1260 #<Plugin vmem>
1261 #       Verbose false
1262 #</Plugin>
1263
1264 #<Plugin write_graphite>
1265 #  <Node "example">
1266 #    Host "localhost"
1267 #    Port "2003"
1268 #    Protocol "tcp"
1269 #    LogSendErrors true
1270 #    Prefix "collectd"
1271 #    Postfix "collectd"
1272 #    StoreRates true
1273 #    AlwaysAppendDS false
1274 #    EscapeCharacter "_"
1275 #  </Node>
1276 #</Plugin>
1277
1278 #<Plugin write_http>
1279 #       <URL "http://example.com/collectd-post">
1280 #               User "collectd"
1281 #               Password "weCh3ik0"
1282 #               VerifyPeer true
1283 #               VerifyHost true
1284 #               CACert "/etc/ssl/ca.crt"
1285 #               CAPath "/etc/ssl/certs/"
1286 #               ClientKey "/etc/ssl/client.pem"
1287 #               ClientCert "/etc/ssl/client.crt"
1288 #               ClientKeyPass "secret"
1289 #               SSLVersion "TLSv1"
1290 #               Format "Command"
1291 #               StoreRates false
1292 #               BufferSize 4096
1293 #       </URL>
1294 #</Plugin>
1295
1296 #<Plugin write_kafka>
1297 #  Property "metadata.broker.list" "localhost:9092"
1298 #  <Topic "collectd">
1299 #    Format JSON
1300 #  </Topic>
1301 #</Plugin>
1302
1303 #<Plugin write_mongodb>
1304 #       <Node "example">
1305 #               Host "localhost"
1306 #               Port "27017"
1307 #               Timeout 1000
1308 #               StoreRates false
1309 #               Database "auth_db"
1310 #               User "auth_user"
1311 #               Password "auth_passwd"
1312 #       </Node>
1313 #</Plugin>
1314
1315 #<Plugin write_redis>
1316 #       <Node "example">
1317 #               Host "localhost"
1318 #               Port "6379"
1319 #               Timeout 1000
1320 #       </Node>
1321 #</Plugin>
1322
1323 #<Plugin write_riemann>
1324 #       <Node "example">
1325 #               Host "localhost"
1326 #               Port 5555
1327 #               Protocol UDP
1328 #               Batch false
1329 #               BatchMaxSize 8192
1330 #               StoreRates true
1331 #               AlwaysAppendDS false
1332 #               TTLFactor 2.0
1333 #               Notifications true
1334 #               CheckThresholds false
1335 #               EventServicePrefix ""
1336 #       </Node>
1337 #       Tag "foobar"
1338 #       Attribute "foo" "bar"
1339 #</Plugin>
1340
1341 #<Plugin write_tsdb>
1342 #       <Node>
1343 #               Host "localhost"
1344 #               Port "4242"
1345 #               HostTags "status=production"
1346 #               StoreRates false
1347 #               AlwaysAppendDS false
1348 #       </Node>
1349 #</Plugin>
1350
1351 #<Plugin zookeeper>
1352 #    Host "localhost"
1353 #    Port "2181"
1354 #</Plugin>
1355
1356 ##############################################################################
1357 # Filter configuration                                                       #
1358 #----------------------------------------------------------------------------#
1359 # The following configures collectd's filtering mechanism. Before changing   #
1360 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1361 # in the collectd.conf(5) manual page.                                       #
1362 ##############################################################################
1363
1364 # Load required matches:
1365 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1366 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1367 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1368 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1369 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1370
1371 # Load required targets:
1372 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1373 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1374 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1375 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1376 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1377
1378 #----------------------------------------------------------------------------#
1379 # The following block demonstrates the default behavior if no filtering is   #
1380 # configured at all: All values will be sent to all available write plugins. #
1381 #----------------------------------------------------------------------------#
1382
1383 #<Chain "PostCache">
1384 #  Target "write"
1385 #</Chain>
1386
1387 ##############################################################################
1388 # Threshold configuration                                                    #
1389 #----------------------------------------------------------------------------#
1390 # The following outlines how to configure collectd's threshold checking      #
1391 # plugin. The plugin and possible configuration options are documented in    #
1392 # the collectd-threshold(5) manual page.                                     #
1393 ##############################################################################
1394
1395 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1396 #<Plugin threshold>
1397 #  <Type "foo">
1398 #    WarningMin    0.00
1399 #    WarningMax 1000.00
1400 #    FailureMin    0.00
1401 #    FailureMax 1200.00
1402 #    Invert false
1403 #    Instance "bar"
1404 #  </Type>
1405 #
1406 #  <Plugin "interface">
1407 #    Instance "eth0"
1408 #    <Type "if_octets">
1409 #      FailureMax 10000000
1410 #      DataSource "rx"
1411 #    </Type>
1412 #  </Plugin>
1413 #
1414 #  <Host "hostname">
1415 #    <Type "cpu">
1416 #      Instance "idle"
1417 #      FailureMin 10
1418 #    </Type>
1419 #
1420 #    <Plugin "memory">
1421 #      <Type "memory">
1422 #        Instance "cached"
1423 #        WarningMin 100000000
1424 #      </Type>
1425 #    </Plugin>
1426 #
1427 #    <Type "load">
1428 #       DataSource "midterm"
1429 #       FailureMax 4
1430 #       Hits 3
1431 #       Hysteresis 3
1432 #    </Type>
1433 #  </Host>
1434 #</Plugin>