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