Use ignorelist_t and fix leaks
[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 beginning 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_AMQP1_TRUE@LoadPlugin amqp1
94 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
95 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
96 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
97 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
98 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
99 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
100 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
101 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
102 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
103 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
104 #@BUILD_PLUGIN_CHRONY_TRUE@LoadPlugin chrony
105 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
106 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
107 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
108 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
109 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
110 @LOAD_PLUGIN_CSV@LoadPlugin csv
111 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
112 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
113 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
114 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
115 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
116 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
117 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
118 #@BUILD_PLUGIN_DPDKEVENTS_TRUE@LoadPlugin dpdkevents
119 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
120 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
121 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
122 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
123 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
124 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
125 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
126 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
127 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
128 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
129 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
130 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
131 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
132 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
133 #@BUILD_PLUGIN_INTEL_PMU_TRUE@LoadPlugin intel_pmu
134 #@BUILD_PLUGIN_INTEL_RDT_TRUE@LoadPlugin intel_rdt
135 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
136 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
137 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
138 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
139 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
140 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
141 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
142 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
143 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
144 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
145 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
146 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
147 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
148 #@BUILD_PLUGIN_MCELOG_TRUE@LoadPlugin mcelog
149 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
150 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
151 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
152 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
153 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
154 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
155 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
156 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
157 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
158 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
159 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
160 @LOAD_PLUGIN_NETWORK@LoadPlugin network
161 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
162 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
163 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
164 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
165 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
166 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
167 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
168 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
169 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
170 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
171 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
172 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
173 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
174 #@BUILD_PLUGIN_OVS_EVENTS_TRUE@LoadPlugin ovs_events
175 #@BUILD_PLUGIN_OVS_STATS_TRUE@LoadPlugin ovs_stats
176 #@BUILD_PLUGIN_PCIE_ERRORS_TRUE@LoadPlugin pcie_errors
177 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
178 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
179 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
180 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
181 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
182 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
183 #@BUILD_PLUGIN_PROCEVENT_TRUE@LoadPlugin procevent
184 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
185 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
186 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
187 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
188 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
189 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
190 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
191 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
192 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
193 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
194 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
195 #@BUILD_PLUGIN_SNMP_AGENT_TRUE@LoadPlugin snmp_agent
196 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
197 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
198 #@BUILD_PLUGIN_SYSEVENT_TRUE@LoadPlugin sysevent
199 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
200 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
201 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
202 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
203 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
204 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
205 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
206 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
207 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
208 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
209 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
210 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
211 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
212 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
213 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
214 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
215 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
216 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
217 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
218 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
219 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
220 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
221 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
222 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
223 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
224 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
225 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
226 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
227 #@BUILD_PLUGIN_WRITE_STACKDRIVER_TRUE@LoadPlugin write_stackdriver
228 #@BUILD_PLUGIN_WRITE_SYSLOG_TRUE@LoadPlugin write_syslog
229 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
230 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
231 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
232 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
233 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
234 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
235
236 ##############################################################################
237 # Plugin configuration                                                       #
238 #----------------------------------------------------------------------------#
239 # In this section configuration stubs for each plugin are provided. A desc-  #
240 # ription of those options is available in the collectd.conf(5) manual page. #
241 ##############################################################################
242
243 #<Plugin aggregation>
244 #  <Aggregation>
245 #    #Host "unspecified"
246 #    Plugin "cpu"
247 #    #PluginInstance "unspecified"
248 #    Type "cpu"
249 #    #TypeInstance "unspecified"
250 #
251 #    GroupBy "Host"
252 #    GroupBy "TypeInstance"
253 #
254 #    CalculateNum false
255 #    CalculateSum false
256 #    CalculateAverage true
257 #    CalculateMinimum false
258 #    CalculateMaximum false
259 #    CalculateStddev false
260 #  </Aggregation>
261 #</Plugin>
262
263 #<Plugin amqp>
264 #  <Publish "name">
265 #    Host "localhost"
266 #    Port "5672"
267 #    VHost "/"
268 #    User "guest"
269 #    Password "guest"
270 #    Exchange "amq.fanout"
271 #    RoutingKey "collectd"
272 #    Persistent false
273 #    StoreRates false
274 #    ConnectionRetryDelay 0
275 #  </Publish>
276 #</Plugin>
277
278 #<Plugin amqp1>
279 #  <Transport "name">
280 #    Host "localhost"
281 #    Port "5672"
282 #    User "guest"
283 #    Password "guest"
284 #    Address "collectd"
285 #    RetryDelay 1
286 #    <Instance "log">
287 #        Format JSON
288 #        PreSettle false
289 #    </Instance>
290 #    <Instance "notify">
291 #        Format JSON
292 #        PreSettle true
293 #    </Instance>
294 #    <Instance "telemetry">
295 #        Format JSON
296 #        PreSettle false
297 #    </Instance>
298 #  </Transport>
299 #</Plugin>
300
301 #<Plugin apache>
302 #  <Instance "local">
303 #    URL "http://localhost/status?auto"
304 #    User "www-user"
305 #    Password "secret"
306 #    CACert "/etc/ssl/ca.crt"
307 #  </Instance>
308 #</Plugin>
309
310 #<Plugin apcups>
311 #       Host "localhost"
312 #       Port "3551"
313 #       ReportSeconds true
314 #       PersistentConnection true
315 #</Plugin>
316
317 #<Plugin aquaero>
318 #       Device ""
319 #</Plugin>
320
321 #<Plugin ascent>
322 #       URL "http://localhost/ascent/status/"
323 #       User "www-user"
324 #       Password "secret"
325 #       CACert "/etc/ssl/ca.crt"
326 #</Plugin>
327
328 #<Plugin "barometer">
329 #   Device            "/dev/i2c-0";
330 #   Oversampling      512
331 #   PressureOffset    0.0
332 #   TemperatureOffset 0.0
333 #   Normalization     2
334 #   Altitude          238.0
335 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
336 #</Plugin>
337
338 #<Plugin "battery">
339 #  ValuesPercentage false
340 #  ReportDegraded false
341 #  QueryStateFS false
342 #</Plugin>
343
344 #<Plugin "bind">
345 #  URL "http://localhost:8053/"
346 #  ParseTime       false
347 #  OpCodes         true
348 #  QTypes          true
349 #
350 #  ServerStats     true
351 #  ZoneMaintStats  true
352 #  ResolverStats   false
353 #  MemoryStats     true
354 #
355 #  <View "_default">
356 #    QTypes        true
357 #    ResolverStats true
358 #    CacheRRSets   true
359 #
360 #    Zone "127.in-addr.arpa/IN"
361 #  </View>
362 #</Plugin>
363
364 #<Plugin ceph>
365 #  LongRunAvgLatency false
366 #  ConvertSpecialMetricTypes true
367 #  <Daemon "osd.0">
368 #    SocketPath "/var/run/ceph/ceph-osd.0.asok"
369 #  </Daemon>
370 #  <Daemon "osd.1">
371 #    SocketPath "/var/run/ceph/ceph-osd.1.asok"
372 #  </Daemon>
373 #  <Daemon "mon.a">
374 #    SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
375 #  </Daemon>
376 #  <Daemon "mds.a">
377 #    SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
378 #  </Daemon>
379 #</Plugin>
380
381 #<Plugin chrony>
382 #       Host    "localhost"
383 #       Port    "323"
384 #       Timeout "2"
385 #</Plugin>
386
387 #<Plugin cgroups>
388 #  CGroup "libvirt"
389 #  IgnoreSelected false
390 #</Plugin>
391
392 #<Plugin cpu>
393 #  ReportByCpu true
394 #  ReportByState true
395 #  ValuesPercentage false
396 #  ReportNumCpu false
397 #  ReportGuestState false
398 #  SubtractGuestState true
399 #</Plugin>
400 #
401 #<Plugin csv>
402 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
403 #       StoreRates false
404 #</Plugin>
405
406 #<Plugin curl>
407 #  <Page "stock_quotes">
408 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
409 #    AddressFamily "any"
410 #    User "foo"
411 #    Password "bar"
412 #    Digest false
413 #    VerifyPeer true
414 #    VerifyHost true
415 #    CACert "/path/to/ca.crt"
416 #    Header "X-Custom-Header: foobar"
417 #    Post "foo=bar"
418 #
419 #    MeasureResponseTime false
420 #    MeasureResponseCode false
421 #    <Match>
422 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
423 #      DSType "GaugeAverage"
424 #      Type "stock_value"
425 #      Instance "AMD"
426 #    </Match>
427 #  </Page>
428 #</Plugin>
429
430 #<Plugin curl_json>
431 #  <URL "http://localhost:80/test.json">
432 #    AddressFamily "any"
433 #    Instance "test_http_json"
434 #    <Key "testArray/0">
435 #      Type "gauge"
436 #      # Expect: 1
437 #    </Key>
438 #    <Key "testArray/1">
439 #      Type "gauge"
440 #      # Expect: 2
441 #    </Key>
442 #    <Key "testArrayInbetween/0/blarg">
443 #      Type "gauge"
444 #      # Expect: 3
445 #    </Key>
446 #    <Key "testArrayInbetween/1/blub">
447 #      Type "gauge"
448 #      # Expect: 4
449 #    </Key>
450 #    <Key "testDirectHit">
451 #      Type "gauge"
452 #      # Expect: 5
453 #    </Key>
454 #    <Key "testSubLevelHit/oneMoreLevel">
455 #      Type "gauge"
456 #      # Expect: 6
457 #    </Key>
458 #  </URL>
459 # put this as test.json on your webserver, the above config demonstraces
460 # how to match them.
461 # {
462 #  "testArray":[1,2],
463 #  "testArrayInbetween":[{"blarg":3},{"blub":4}],
464 #  "testDirectHit":5,
465 #  "testSubLevelHit":{"oneMoreLevel":6}
466 # }
467 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
468 #  <URL "http://localhost:5984/_stats">
469 #    AddressFamily "ipv4"
470 #    Instance "httpd"
471 #    <Key "httpd/requests/count">
472 #      Type "http_requests"
473 #    </Key>
474 #
475 #    <Key "httpd_request_methods/*/count">
476 #      Type "http_request_methods"
477 #    </Key>
478 #
479 #    <Key "httpd_status_codes/*/count">
480 #      Type "http_response_codes"
481 #    </Key>
482 #  </URL>
483 ## Database status metrics:
484 #  <URL "http://localhost:5984/_all_dbs">
485 #    AddressFamily "ipv6"
486 #    Instance "dbs"
487 #    <Key "*/doc_count">
488 #      Type "gauge"
489 #    </Key>
490 #    <Key "*/doc_del_count">
491 #      Type "counter"
492 #    </Key>
493 #    <Key "*/disk_size">
494 #      Type "bytes"
495 #    </Key>
496 #  </URL>
497 #</Plugin>
498
499 #<Plugin curl_xml>
500 #  <URL "http://localhost/stats.xml">
501 #    AddressFamily "any"
502 #    Host "my_host"
503 #    #Plugin "stats"
504 #    Instance "some_instance"
505 #    User "collectd"
506 #    Password "thaiNg0I"
507 #    Digest false
508 #    VerifyPeer true
509 #    VerifyHost true
510 #    CACert "/path/to/ca.crt"
511 #    Header "X-Custom-Header: foobar"
512 #    Post "foo=bar"
513 #
514 #    <XPath "table[@id=\"magic_level\"]/tr">
515 #      Type "magic_level"
516 #      #InstancePrefix "prefix-"
517 #      InstanceFrom "td[1]"
518 #      #PluginInstanceFrom "td[1]"
519 #      ValuesFrom "td[2]/span[@class=\"level\"]"
520 #    </XPath>
521 #  </URL>
522 #</Plugin>
523
524 #<Plugin dbi>
525 #       <Query "num_of_customers">
526 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
527 #               <Result>
528 #                       Type "gauge"
529 #                       InstancesFrom "c_key"
530 #                       ValuesFrom "c_value"
531 #               </Result>
532 #       </Query>
533 #       <Database "customers_db">
534 #               #Plugin "mycompany"
535 #               Driver "mysql"
536 #               DriverOption "host" "localhost"
537 #               DriverOption "username" "collectd"
538 #               DriverOption "password" "AeXohy0O"
539 #               DriverOption "dbname" "custdb0"
540 #               #SelectDB "custdb0"
541 #               Query "num_of_customers"
542 #               #Query "..."
543 #               #Host "..."
544 #       </Database>
545 #</Plugin>
546
547 #<Plugin df>
548 #       Device "/dev/hda1"
549 #       Device "192.168.0.2:/mnt/nfs"
550 #       MountPoint "/home"
551 #       FSType "ext3"
552 #       IgnoreSelected false
553 #       ReportByDevice false
554 #       ReportInodes false
555 #       ValuesAbsolute true
556 #       ValuesPercentage false
557 #</Plugin>
558
559 #<Plugin disk>
560 #       Disk "/^[hs]d[a-f][0-9]?$/"
561 #       IgnoreSelected false
562 #       UseBSDName false
563 #       UdevNameAttr "DEVNAME"
564 #</Plugin>
565
566 #<Plugin dns>
567 #       Interface "eth0"
568 #       IgnoreSource "192.168.0.1"
569 #       SelectNumericQueryTypes true
570 #</Plugin>
571
572 #<Plugin "dpdkevents">
573 #  <EAL>
574 #    Coremask "0x1"
575 #    MemoryChannels "4"
576 #    FilePrefix "rte"
577 #  </EAL>
578 #  <Event "link_status">
579 #    SendEventsOnUpdate true
580 #    EnabledPortMask 0xffff
581 #    PortName "interface1"
582 #    PortName "interface2"
583 #    SendNotification false
584 #  </Event>
585 #  <Event "keep_alive">
586 #    SendEventsOnUpdate true
587 #    LCoreMask "0xf"
588 #    KeepAliveShmName "/dpdk_keepalive_shm_name"
589 #    SendNotification false
590 #  </Event>
591 #</Plugin>
592
593 #<Plugin dpdkstat>
594 #  <EAL>
595 #    Coremask "0x2"
596 #    MemoryChannels "4"
597 #    FilePrefix "rte"
598 #    LogLevel "7"
599 #    RteDriverLibPath "/usr/lib/dpdk-pmd"
600 #  </EAL>
601 #  SharedMemObj "dpdk_collectd_stats_0"
602 #  EnabledPortMask 0xffff
603 #  PortName "interface1"
604 #  PortName "interface2"
605 #</Plugin>
606
607 #<Plugin email>
608 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
609 #       SocketGroup "collectd"
610 #       SocketPerms "0770"
611 #       MaxConns 5
612 #</Plugin>
613
614 #<Plugin ethstat>
615 #       Interface "eth0"
616 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
617 #       Map "multicast" "if_multicast"
618 #       MappedOnly false
619 #</Plugin>
620
621 #<Plugin exec>
622 #       Exec "user:group" "/path/to/exec"
623 #       NotificationExec "user:group" "/path/to/exec"
624 #</Plugin>
625
626 #<Plugin fhcount>
627 #       ValuesAbsolute true
628 #       ValuesPercentage false
629 #</Plugin>
630
631 #<Plugin filecount>
632 #       <Directory "/path/to/dir">
633 #               #Plugin "foo"
634 #               Instance "foodir"
635 #               Name "*.conf"
636 #               MTime "-5m"
637 #               Size "+10k"
638 #               Recursive true
639 #               IncludeHidden false
640 #               RegularOnly true
641 #               #FilesSizeType "bytes"
642 #               #FilesCountType "files"
643 #               #TypeInstance "instance"
644 #       </Directory>
645 #</Plugin>
646
647 #<Plugin gmond>
648 #  MCReceiveFrom "239.2.11.71" "8649"
649 #  <Metric "swap_total">
650 #    Type "swap"
651 #    TypeInstance "total"
652 #    DataSource "value"
653 #  </Metric>
654 #  <Metric "swap_free">
655 #    Type "swap"
656 #    TypeInstance "free"
657 #    DataSource "value"
658 #  </Metric>
659 #</Plugin>
660
661 #<Plugin gps>
662 #  Host "127.0.0.1"
663 #  Port "2947"
664 #  Timeout 0.015
665 #  PauseConnect 5
666 #</Plugin>
667
668 #<Plugin gpu_nvidia>
669 #   GPUIndex 0
670 #   GPUIndex 2
671 #   IgnoreSelected false
672 #</Plugin>
673
674 #<Plugin grpc>
675 #       <Server "example.com" "50051">
676 #               EnableSSL true
677 #               SSLCACertificateFile "/path/to/root.pem"
678 #               SSLCertificateFile "/path/to/server.pem"
679 #               SSLCertificateKeyFile "/path/to/server.key"
680 #       </Server>
681 #       <Listen "0.0.0.0" "50051">
682 #               EnableSSL true
683 #               SSLCACertificateFile "/path/to/root.pem"
684 #               SSLCertificateFile "/path/to/client.pem"
685 #               SSLCertificateKeyFile "/path/to/client.key"
686 #               VerifyPeer true
687 #       </Listen>
688 #</Plugin>
689
690 #<Plugin hddtemp>
691 #  Host "127.0.0.1"
692 #  Port "7634"
693 #</Plugin>
694
695 #<Plugin hugepages>
696 #    ReportPerNodeHP  true
697 #    ReportRootHP     true
698 #    ValuesPages      true
699 #    ValuesBytes      false
700 #    ValuesPercentage false
701 #</Plugin>
702
703 #<Plugin intel_pmu>
704 #    ReportHardwareCacheEvents true
705 #    ReportKernelPMUEvents true
706 #    ReportSoftwareEvents true
707 #    EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
708 #    HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
709 #    Cores "[0-3]"
710 #</Plugin>
711
712 #<Plugin "intel_rdt">
713 #  Cores "0-2"
714 #  Processes "sshd"
715 #</Plugin>
716
717 #<Plugin interface>
718 #       Interface "eth0"
719 #       IgnoreSelected false
720 #       ReportInactive true
721 #       UniqueName false
722 #</Plugin>
723
724 #<Plugin ipmi>
725 #       <Instance "local">
726 #               Sensor "some_sensor"
727 #               Sensor "another_one"
728 #               IgnoreSelected false
729 #               NotifySensorAdd false
730 #               NotifySensorRemove true
731 #               NotifySensorNotPresent false
732 #               NotifyIPMIConnectionState false
733 #               SELEnabled false
734 #               SELSensor "some_sensor"
735 #               SELSensor "another_one"
736 #               SELIgnoreSelected false
737 #               SELClearEvent false
738 #       </Instance>
739 #       <Instance "remote">
740 #               Host "server.example.com"
741 #               Address  "1.2.3.4"
742 #               Username "user"
743 #               Password "secret"
744 #               #AuthType "md5"
745 #               Sensor "some_sensor"
746 #               Sensor "another_one"
747 #               IgnoreSelected false
748 #               NotifySensorAdd false
749 #               NotifySensorRemove true
750 #               NotifySensorNotPresent false
751 #               NotifyIPMIConnectionState false
752 #               SELEnabled false
753 #               SELSensor "some_sensor"
754 #               SELSensor "another_one"
755 #               SELIgnoreSelected false
756 #               SELClearEvent false
757 #       </Instance>
758 #</Plugin>
759
760 #<Plugin iptables>
761 #       Chain table chain
762 #       Chain6 table chain
763 #</Plugin>
764
765 #<Plugin irq>
766 #       Irq 7
767 #       Irq 8
768 #       Irq 9
769 #       IgnoreSelected true
770 #</Plugin>
771
772 #<Plugin java>
773 #       JVMArg "-verbose:jni"
774 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
775 #
776 #       LoadPlugin "org.collectd.java.Foobar"
777 #       <Plugin "org.collectd.java.Foobar">
778 #         # To be parsed by the plugin
779 #       </Plugin>
780 #</Plugin>
781
782 #<Plugin load>
783 #        ReportRelative true
784 #</Plugin>
785
786 #<Plugin lpar>
787 #       CpuPoolStats   false
788 #       ReportBySerial false
789 #</Plugin>
790
791 #<Plugin lua>
792 #       BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
793 #       Script "script1.lua"
794 #       Script "script2.lua"
795 #</Plugin>
796
797 #<Plugin madwifi>
798 #       Interface "wlan0"
799 #       IgnoreSelected false
800 #       Source "SysFS"
801 #       WatchSet "None"
802 #       WatchAdd "node_octets"
803 #       WatchAdd "node_rssi"
804 #       WatchAdd "is_rx_acl"
805 #       WatchAdd "is_scan_active"
806 #</Plugin>
807
808 #<Plugin mbmon>
809 #       Host "127.0.0.1"
810 #       Port "411"
811 #</Plugin>
812
813 #<Plugin mcelog>
814 #  <Memory>
815 #    McelogClientSocket "/var/run/mcelog-client"
816 #    PersistentNotification false
817 #  </Memory>
818 #  McelogLogfile "/var/log/mcelog"
819 #</Plugin>
820
821 #<Plugin md>
822 #       Device "/dev/md0"
823 #       IgnoreSelected false
824 #</Plugin>
825
826 #<Plugin memcachec>
827 #       <Page "plugin_instance">
828 #               Server "localhost"
829 #               Key "page_key"
830 #               <Match>
831 #                       Regex "(\\d+) bytes sent"
832 #                       ExcludeRegex "<lines to be excluded>"
833 #                       DSType CounterAdd
834 #                       Type "ipt_octets"
835 #                       Instance "type_instance"
836 #               </Match>
837 #       </Page>
838 #</Plugin>
839
840 #<Plugin memcached>
841 #       <Instance "local">
842 #               #Host "memcache.example.com"
843 #               Address "127.0.0.1"
844 #               Port "11211"
845 #       </Instance>
846 #</Plugin>
847
848 #<Plugin memory>
849 #       ValuesAbsolute true
850 #       ValuesPercentage false
851 #</Plugin>
852
853 #<Plugin modbus>
854 #       <Data "data_name">
855 #               RegisterBase 1234
856 #               RegisterCmd ReadHolding
857 #               RegisterType float
858 #               Type gauge
859 #               Instance "..."
860 #               #Scale 1.0
861 #               #Shift 0.0
862 #       </Data>
863 #
864 #       <Host "name">
865 #               Address "addr"
866 #               Port "1234"
867 #               Interval 60
868 #
869 #               <Slave 1>
870 #                       Instance "foobar" # optional
871 #                       Collect "data_name"
872 #               </Slave>
873 #       </Host>
874 #</Plugin>
875
876 #<Plugin mqtt>
877 #       <Publish "name">
878 #               Host "localhost"
879 #               Port 1883
880 #               ClientId "localhost"
881 #               User "user"
882 #               Password "secret"
883 #               QoS 0
884 #               Prefix "collectd"
885 #               StoreRates true
886 #               Retain false
887 #               CACert "/etc/ssl/ca.crt"
888 #               CertificateFile "/etc/ssl/client.crt"
889 #               CertificateKeyFile "/etc/ssl/client.pem"
890 #               TLSProtocol "tlsv1.2"
891 #               CipherSuite "ciphers"
892 #       </Publish>
893 #       <Subscribe "name">
894 #               Host "localhost"
895 #               Port 1883
896 #               ClientId "localhost"
897 #               User "user"
898 #               Password "secret"
899 #               QoS 2
900 #               Topic "collectd/#"
901 #               CleanSession true
902 #               CACert "/etc/ssl/ca.crt"
903 #               CertificateFile "/etc/ssl/client.crt"
904 #               CertificateKeyFile "/etc/ssl/client.pem"
905 #               TLSProtocol "tlsv1.2"
906 #               CipherSuite "ciphers"
907 #       </Subscribe>
908 #</Plugin>
909
910 #<Plugin mysql>
911 #       <Database db_name>
912 #               Host "database.serv.er"
913 #               User "db_user"
914 #               Password "secret"
915 #               Database "db_name"
916 #               SSLKey "/path/to/key.pem"
917 #               SSLCert "/path/to/cert.pem"
918 #               SSLCA "/path/to/ca.pem"
919 #               SSLCAPath "/path/to/cas/"
920 #               SSLCipher "DHE-RSA-AES256-SHA"
921 #               MasterStats true
922 #               ConnectTimeout 10
923 #               InnodbStats true
924 #       </Database>
925 #
926 #       <Database db_name2>
927 #               Alias "squeeze"
928 #               Host "localhost"
929 #               Socket "/var/run/mysql/mysqld.sock"
930 #               SlaveStats true
931 #               SlaveNotifications true
932 #       </Database>
933 #       <Database galera>
934 #               Alias "galera"
935 #               Host "localhost"
936 #               Socket "/var/run/mysql/mysqld.sock"
937 #               WsrepStats true
938 #       </Database>
939 #</Plugin>
940
941 #<Plugin netapp>
942 #       <Host "netapp1.example.com">
943 #               Protocol      "https"
944 #               Address       "10.0.0.1"
945 #               Port          443
946 #               User          "username"
947 #               Password      "aef4Aebe"
948 #               Interval      30
949 #
950 #               <WAFL>
951 #                       Interval 30
952 #                       GetNameCache   true
953 #                       GetDirCache    true
954 #                       GetBufferCache true
955 #                       GetInodeCache  true
956 #               </WAFL>
957 #
958 #               <Disks>
959 #                       Interval 30
960 #                       GetBusy true
961 #               </Disks>
962 #
963 #               <VolumePerf>
964 #                       Interval 30
965 #                       GetIO      "volume0"
966 #                       IgnoreSelectedIO      false
967 #                       GetOps     "volume0"
968 #                       IgnoreSelectedOps     false
969 #                       GetLatency "volume0"
970 #                       IgnoreSelectedLatency false
971 #               </VolumePerf>
972 #
973 #               <VolumeUsage>
974 #                       Interval 30
975 #                       GetCapacity "vol0"
976 #                       GetCapacity "vol1"
977 #                       IgnoreSelectedCapacity false
978 #                       GetSnapshot "vol1"
979 #                       GetSnapshot "vol3"
980 #                       IgnoreSelectedSnapshot false
981 #               </VolumeUsage>
982 #
983 #               <System>
984 #                       Interval 30
985 #                       GetCPULoad     true
986 #                       GetInterfaces  true
987 #                       GetDiskOps     true
988 #                       GetDiskIO      true
989 #               </System>
990 #       </Host>
991 #</Plugin>
992
993 #<Plugin netlink>
994 #       Interface "All"
995 #       VerboseInterface "All"
996 #       QDisc "eth0" "pfifo_fast-1:0"
997 #       Class "ppp0" "htb-1:10"
998 #       Filter "ppp0" "u32-1:0"
999 #       IgnoreSelected false
1000 #</Plugin>
1001
1002 @LOAD_PLUGIN_NETWORK@<Plugin network>
1003 #       # client setup:
1004 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
1005 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
1006 #               SecurityLevel Encrypt
1007 #               Username "user"
1008 #               Password "secret"
1009 #               Interface "eth0"
1010 #               ResolveInterval 14400
1011 @LOAD_PLUGIN_NETWORK@   </Server>
1012 #       TimeToLive 128
1013 #
1014 #       # server setup:
1015 #       Listen "ff18::efc0:4a42" "25826"
1016 #       <Listen "239.192.74.66" "25826">
1017 #               SecurityLevel Sign
1018 #               AuthFile "/etc/collectd/passwd"
1019 #               Interface "eth0"
1020 #       </Listen>
1021 #       MaxPacketSize 1452
1022 #
1023 #       # proxy setup (client and server as above):
1024 #       Forward true
1025 #
1026 #       # statistics about the network plugin itself
1027 #       ReportStats false
1028 #
1029 #       # "garbage collection"
1030 #       CacheFlush 1800
1031 @LOAD_PLUGIN_NETWORK@</Plugin>
1032
1033 #<Plugin nfs>
1034 #       ReportV2 false
1035 #       #ReportV3 false
1036 #       #ReportV4 false
1037 #</Plugin>
1038
1039 #<Plugin nginx>
1040 #       URL "http://localhost/status?auto"
1041 #       User "www-user"
1042 #       Password "secret"
1043 #       CACert "/etc/ssl/ca.crt"
1044 #</Plugin>
1045
1046 #<Plugin notify_desktop>
1047 #       OkayTimeout 1000
1048 #       WarningTimeout 5000
1049 #       FailureTimeout 0
1050 #</Plugin>
1051
1052 #<Plugin notify_email>
1053 #       SMTPServer "localhost"
1054 #       SMTPPort 25
1055 #       SMTPUser "my-username"
1056 #       SMTPPassword "my-password"
1057 #       From "collectd@main0server.com"
1058 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1059 #       Subject "Aaaaaa!! %s on %s!!!!!"
1060 #       Recipient "email1@domain1.net"
1061 #       Recipient "email2@domain2.com"
1062 #</Plugin>
1063
1064 #<Plugin notify_nagios>
1065 #       CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1066 #</Plugin>
1067
1068 #<Plugin ntpd>
1069 #       Host "localhost"
1070 #       Port 123
1071 #       ReverseLookups false
1072 #       IncludeUnitID true
1073 #</Plugin>
1074
1075 #<Plugin nut>
1076 #       UPS "upsname@hostname:port"
1077 #       ForceSSL true
1078 #       VerifyPeer true
1079 #       CAPath "/path/to/folder"
1080 #       #ConnectTimeout 5000
1081 #</Plugin>
1082
1083 #<Plugin olsrd>
1084 #       Host "127.0.0.1"
1085 #       Port "2006"
1086 #       CollectLinks "Summary"
1087 #       CollectRoutes "Summary"
1088 #       CollectTopology "Summary"
1089 #</Plugin>
1090
1091 #<Plugin onewire>
1092 #       Device "-s localhost:4304"
1093 #       Sensor "F10FCA000800"
1094 #       IgnoreSelected false
1095 #</Plugin>
1096
1097 #<Plugin openldap>
1098 #  <Instance "localhost">
1099 #    URL "ldap://localhost:389"
1100 #    StartTLS false
1101 #    VerifyHost true
1102 #    CACert "/path/to/ca.crt"
1103 #    Timeout -1
1104 #    Version 3
1105 #  </Instance>
1106 #</Plugin>
1107
1108 #<Plugin openvpn>
1109 #       StatusFile "/etc/openvpn/openvpn-status.log"
1110 #       ImprovedNamingSchema false
1111 #       CollectCompression true
1112 #       CollectIndividualUsers true
1113 #       CollectUserCount false
1114 #</Plugin>
1115
1116 #<Plugin oracle>
1117 #  <Query "out_of_stock">
1118 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1119 #    <Result>
1120 #      Type "gauge"
1121 #      InstancesFrom "category"
1122 #      ValuesFrom "value"
1123 #    </Result>
1124 #  </Query>
1125 #  <Database "product_information">
1126 #    #Plugin "warehouse"
1127 #    ConnectID "db01"
1128 #    Username "oracle"
1129 #    Password "secret"
1130 #    Query "out_of_stock"
1131 #  </Database>
1132 #</Plugin>
1133
1134 #<Plugin ovs_events>
1135 #  Port "6640"
1136 #  Address "127.0.0.1"
1137 #  Socket "/var/run/openvswitch/db.sock"
1138 #  Interfaces "br0" "veth0"
1139 #  SendNotification true
1140 #  DispatchValues false
1141 #</Plugin>
1142
1143 #<Plugin ovs_stats>
1144 #  Port "6640"
1145 #  Address "127.0.0.1"
1146 #  Socket "/var/run/openvswitch/db.sock"
1147 #  Bridges "br0" "br_ext"
1148 #</Plugin>
1149
1150 #<Plugin pcie_errors>
1151 #  Source "sysfs"
1152 #  ReportMasked false
1153 #  PersistentNotifications false
1154 #</Plugin>
1155
1156 #<Plugin perl>
1157 #       IncludeDir "/my/include/path"
1158 #       BaseName "Collectd::Plugins"
1159 #       EnableDebugger ""
1160 #       LoadPlugin Monitorus
1161 #       LoadPlugin OpenVZ
1162 #
1163 #       <Plugin foo>
1164 #               Foo "Bar"
1165 #               Qux "Baz"
1166 #       </Plugin>
1167 #</Plugin>
1168
1169 #<Plugin pinba>
1170 #       Address "::0"
1171 #       Port "30002"
1172 #       <View "name">
1173 #               Host "host name"
1174 #               Server "server name"
1175 #               Script "script name"
1176 #       </View>
1177 #</Plugin>
1178
1179 #<Plugin ping>
1180 #       Host "host.foo.bar"
1181 #       Interval 1.0
1182 #       Timeout 0.9
1183 #       TTL 255
1184 #       SourceAddress "1.2.3.4"
1185 #       AddressFamily "any"
1186 #       Device "eth0"
1187 #       MaxMissed -1
1188 #</Plugin>
1189
1190 #<Plugin postgresql>
1191 #       <Query magic>
1192 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
1193 #               Param hostname
1194 #               <Result>
1195 #                       Type gauge
1196 #                       InstancePrefix "magic"
1197 #                       ValuesFrom magic
1198 #               </Result>
1199 #       </Query>
1200 #       <Query rt36_tickets>
1201 #               Statement "SELECT COUNT(type) AS count, type \
1202 #                                 FROM (SELECT CASE \
1203 #                                              WHEN resolved = 'epoch' THEN 'open' \
1204 #                                              ELSE 'resolved' END AS type \
1205 #                                              FROM tickets) type \
1206 #                                 GROUP BY type;"
1207 #               <Result>
1208 #                       Type counter
1209 #                       InstancePrefix "rt36_tickets"
1210 #                       InstancesFrom "type"
1211 #                       ValuesFrom "count"
1212 #               </Result>
1213 #       </Query>
1214 #       <Writer sqlstore>
1215 #               # See contrib/postgresql/collectd_insert.sql for details
1216 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1217 #               StoreRates true
1218 #       </Writer>
1219 #       <Database foo>
1220 #               #Plugin "kingdom"
1221 #               Host "hostname"
1222 #               Port "5432"
1223 #               User "username"
1224 #               Password "secret"
1225 #               SSLMode "prefer"
1226 #               KRBSrvName "kerberos_service_name"
1227 #               Query magic
1228 #       </Database>
1229 #       <Database bar>
1230 #               Interval 60
1231 #               Service "service_name"
1232 #               Query backends # predefined
1233 #               Query rt36_tickets
1234 #       </Database>
1235 #       <Database qux>
1236 #               Service "collectd_store"
1237 #               Writer sqlstore
1238 #               # see collectd.conf(5) for details
1239 #               CommitInterval 30
1240 #       </Database>
1241 #</Plugin>
1242
1243 #<Plugin powerdns>
1244 #  <Server "server_name">
1245 #    Collect "latency"
1246 #    Collect "udp-answers" "udp-queries"
1247 #    Socket "/var/run/pdns.controlsocket"
1248 #  </Server>
1249 #  <Recursor "recursor_name">
1250 #    Collect "questions"
1251 #    Collect "cache-hits" "cache-misses"
1252 #    Socket "/var/run/pdns_recursor.controlsocket"
1253 #  </Recursor>
1254 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1255 #</Plugin>
1256
1257 #<Plugin processes>
1258 #       CollectFileDescriptor true
1259 #       CollectContextSwitch true
1260 #       CollectMemoryMaps true
1261 #       CollectDelayAccounting false
1262 #       Process "name"
1263 #       ProcessMatch "name" "regex"
1264 #       <Process "collectd">
1265 #               CollectFileDescriptor false
1266 #               CollectContextSwitch false
1267 #               CollectDelayAccounting true
1268 #       </Process>
1269 #       <ProcessMatch "name" "regex">
1270 #               CollectFileDescriptor false
1271 #               CollectContextSwitch true
1272 #       </Process>
1273 #</Plugin>
1274
1275 #<Plugin "procevent">
1276 #  BufferLength 10
1277 #  RegexProcess "/^ovs.*$/" 
1278 #  Process tuned
1279 #</Plugin>
1280
1281 #<Plugin protocols>
1282 #       Value "/^Tcp:/"
1283 #       IgnoreSelected false
1284 #</Plugin>
1285
1286 #<Plugin python>
1287 #       ModulePath "/path/to/your/python/modules"
1288 #       LogTraces true
1289 #       Interactive true
1290 #       Import "spam"
1291 #
1292 #       <Module spam>
1293 #               spam "wonderful" "lovely"
1294 #       </Module>
1295 #</Plugin>
1296
1297 #<Plugin redis>
1298 #   <Node example>
1299 #      Host "redis.example.com"
1300 #      Port "6379"
1301 #      #Socket "/var/run/redis/redis.sock"
1302 #      Timeout 2000
1303 #      <Query "LLEN myqueue">
1304 #        #Database 0
1305 #        Type "queue_length"
1306 #        Instance "myqueue"
1307 #      <Query>
1308 #   </Node>
1309 #</Plugin>
1310
1311 #<Plugin routeros>
1312 #       <Router>
1313 #               Host "router.example.com"
1314 #               Port "8728"
1315 #               User "admin"
1316 #               Password "dozaiTh4"
1317 #               CollectInterface true
1318 #               CollectRegistrationTable true
1319 #               CollectCPULoad true
1320 #               CollectMemory true
1321 #               CollectDF true
1322 #               CollectDisk true
1323 #               CollectHealth true
1324 #       </Router>
1325 #</Plugin>
1326
1327 #<Plugin rrdcached>
1328 #       DaemonAddress "unix:/tmp/rrdcached.sock"
1329 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1330 #       CreateFiles true
1331 #       CreateFilesAsync false
1332 #       CollectStatistics true
1333 #</Plugin>
1334
1335 #<Plugin rrdtool>
1336 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1337 #       CreateFilesAsync false
1338 #       CacheTimeout 120
1339 #       CacheFlush   900
1340 #       WritesPerSecond 50
1341 #</Plugin>
1342
1343 #<Plugin sensors>
1344 #       SensorConfigFile "/etc/sensors.conf"
1345 #       Sensor "it8712-isa-0290/temperature-temp1"
1346 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1347 #       Sensor "it8712-isa-0290/voltage-in8"
1348 #       IgnoreSelected false
1349 #</Plugin>
1350
1351 #<Plugin sigrok>
1352 #  LogLevel 3
1353 #  <Device "AC Voltage">
1354 #    Driver "fluke-dmm"
1355 #    MinimumInterval 10
1356 #    Conn "/dev/ttyUSB2"
1357 #  </Device>
1358 #  <Device "Sound Level">
1359 #    Driver "cem-dt-885x"
1360 #    Conn "/dev/ttyUSB1"
1361 #  </Device>
1362 #</Plugin>
1363
1364 #<Plugin smart>
1365 #  Disk "/^[hs]d[a-f][0-9]?$/"
1366 #  IgnoreSelected false
1367 #</Plugin>
1368
1369 #<Plugin snmp>
1370 #   <Data "powerplus_voltge_input">
1371 #       Table false
1372 #       Type "voltage"
1373 #       TypeInstance "input_line1"
1374 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1375 #   </Data>
1376 #   <Data "hr_users">
1377 #       Table false
1378 #       Type "users"
1379 #       TypeInstance ""
1380 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1381 #   </Data>
1382 #   <Data "std_traffic">
1383 #       Table true
1384 #       Type "if_octets"
1385 #       TypeInstanceOID "IF-MIB::ifDescr"
1386 #       #TypeInstancePrefix "port"
1387 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1388 #       #FilterOID "IF-MIB::ifOperStatus"
1389 #       #FilterValues "1", "2"
1390 #   </Data>
1391 #   <Data "interface_traffic">
1392 #       Table true
1393 #       Type "if_octets"
1394 #       Plugin "interface"
1395 #       PluginInstanceOID "IF-MIB::ifDescr"
1396 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1397 #   </Data>
1398 #
1399 #   <Host "some.switch.mydomain.org">
1400 #       Address "192.168.0.2"
1401 #       Version 1
1402 #       Community "community_string"
1403 #       Collect "std_traffic"
1404 #       Interval 120
1405 #       Timeout 10
1406 #       Retries 1
1407 #   </Host>
1408 #   <Host "some.server.mydomain.org">
1409 #       Address "192.168.0.42"
1410 #       Version 2
1411 #       Community "another_string"
1412 #       Collect "std_traffic" "hr_users"
1413 #   </Host>
1414 #   <Host "some.ups.mydomain.org">
1415 #       Address "192.168.0.3"
1416 #       Version 1
1417 #       Community "more_communities"
1418 #       Collect "powerplus_voltge_input"
1419 #       Interval 300
1420 #       Timeout 5
1421 #       Retries 5
1422 #   </Host>
1423 #</Plugin>
1424
1425 #<Plugin snmp_agent>
1426 #  <Data "memAvailReal">
1427 #    Plugin "memory"
1428 #    Type "memory"
1429 #    TypeInstance "free"
1430 #    OIDs "1.3.6.1.4.1.2021.4.6.0"
1431 #  </Data>
1432 #  <Table "ifTable">
1433 #    IndexOID "IF-MIB::ifIndex"
1434 #    SizeOID "IF-MIB::ifNumber"
1435 #    <Data "ifDescr">
1436 #      <IndexKey>
1437 #        Source "PluginInstance"
1438 #      </IndexKey>
1439 #      Plugin "interface"
1440 #      OIDs "IF-MIB::ifDescr"
1441 #    </Data>
1442 #    <Data "ifOctets">
1443 #      Plugin "interface"
1444 #      Type "if_octets"
1445 #      TypeInstance ""
1446 #      OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1447 #    </Data>
1448 #  </Table>
1449 #</Plugin>
1450
1451 #<Plugin statsd>
1452 #  Host "::"
1453 #  Port "8125"
1454 #  DeleteCounters false
1455 #  DeleteTimers   false
1456 #  DeleteGauges   false
1457 #  DeleteSets     false
1458 #  CounterSum     false
1459 #  TimerPercentile 90.0
1460 #  TimerPercentile 95.0
1461 #  TimerPercentile 99.0
1462 #  TimerLower     false
1463 #  TimerUpper     false
1464 #  TimerSum       false
1465 #  TimerCount     false
1466 #</Plugin>
1467
1468 #<Plugin swap>
1469 #       ReportByDevice false
1470 #       ReportBytes true
1471 #       ValuesAbsolute true
1472 #       ValuesPercentage false
1473 #       ReportIO true
1474 #</Plugin>
1475
1476 #<Plugin sysevent>
1477 #       Listen "127.0.0.1" "6666"
1478 #       BufferSize 1024
1479 #       BufferLength 10
1480 #       RegexFilter "regex"
1481 #</Plugin>
1482
1483 #<Plugin table>
1484 #       <Table "/proc/slabinfo">
1485 #               #Plugin "table"
1486 #               Instance "slabinfo"
1487 #               Separator " "
1488 #               <Result>
1489 #                       Type gauge
1490 #                       InstancePrefix "active_objs"
1491 #                       InstancesFrom 0
1492 #                       ValuesFrom 1
1493 #               </Result>
1494 #               <Result>
1495 #                       Type gauge
1496 #                       InstancePrefix "objperslab"
1497 #                       InstancesFrom 0
1498 #                       ValuesFrom 4
1499 #               </Result>
1500 #       </Table>
1501 #</Plugin>
1502
1503 #<Plugin tail>
1504 #  <File "/var/log/exim4/mainlog">
1505 #    Instance "exim"
1506 #    Interval 60
1507 #    <Match>
1508 #      Regex "S=([1-9][0-9]*)"
1509 #      DSType "CounterAdd"
1510 #      Type "ipt_bytes"
1511 #      Instance "total"
1512 #    </Match>
1513 #    <Match>
1514 #      Regex "\\<R=local_user\\>"
1515 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1516 #      DSType "CounterInc"
1517 #      Type "counter"
1518 #      Instance "local_user"
1519 #    </Match>
1520 #  </File>
1521 #  <File "/var/log/nginx/apache-time.log">
1522 #    #Use the following log format in nginx:
1523 #    #log_format response_time '[$host] "$upstream_response_time" ...'
1524 #    Instance "apache"
1525 #    <Match>
1526 #      Regex "^\\S+ \"([0-9.]+)\""
1527 #      <DSType Distribution>
1528 #        Percentile 80    # -> latency-foo-80
1529 #        Percentile 95    # -> latency-foo-95
1530 #        Percentile 99    # -> latency-foo-99
1531 #        Bucket 0   0.1   # -> bucket-latency-foo-0_0.1
1532 #        Bucket 0.1 0.2   # -> bucket-latency-foo-0.1_0.2
1533 #        Bucket 0.2 0.5   # -> bucket-latency-foo-0.2_0.5
1534 #        Bucket 0.5 1.0   # -> bucket-latency-foo-0.5_1
1535 #        Bucket 1.0 2.0   # -> bucket-latency-foo-1_2
1536 #        Bucket 2.0 0     # -> bucket-latency-foo-2_inf
1537 #        #BucketType "bucket"
1538 #      </DSType>
1539 #      Type "latency"
1540 #      Instance "foo"
1541 #    </Match>
1542 #  </File>
1543 #</Plugin>
1544
1545 #<Plugin tail_csv>
1546 #   <Metric "dropped">
1547 #       Type "percent"
1548 #       Instance "dropped"
1549 #       ValueFrom 1
1550 #   </Metric>
1551 #   <Metric "mbps">
1552 #       Type "bytes"
1553 #       Instance "wire-realtime"
1554 #       ValueFrom 2
1555 #   </Metric>
1556 #   <Metric "alerts">
1557 #       Type "alerts_per_second"
1558 #       ValueFrom 3
1559 #   </Metric>
1560 #   <Metric "kpps">
1561 #       Type "kpackets_wire_per_sec.realtime"
1562 #       ValueFrom 4
1563 #   </Metric>
1564 #   <File "/var/log/snort/snort.stats">
1565 #       Instance "snort-eth0"
1566 #       Interval 600
1567 #       Collect "dropped" "mbps" "alerts" "kpps"
1568 #       TimeFrom 0
1569 #   </File>
1570 #</Plugin>
1571
1572 #<Plugin tcpconns>
1573 #       ListeningPorts false
1574 #       AllPortsSummary false
1575 #       LocalPort "25"
1576 #       RemotePort "25"
1577 #</Plugin>
1578
1579 #<Plugin teamspeak2>
1580 #       Host "127.0.0.1"
1581 #       Port "51234"
1582 #       Server "8767"
1583 #</Plugin>
1584
1585 #<Plugin ted>
1586 #       Device "/dev/ttyUSB0"
1587 #       Retries 0
1588 #</Plugin>
1589
1590 #<Plugin thermal>
1591 #       ForceUseProcfs false
1592 #       Device "THRM"
1593 #       IgnoreSelected false
1594 #</Plugin>
1595
1596 #<Plugin tokyotyrant>
1597 #       Host "localhost"
1598 #       Port "1978"
1599 #</Plugin>
1600
1601 #<Plugin turbostat>
1602 ##      None of the following option should be set manually
1603 ##      This plugin automatically detect most optimal options
1604 ##      Only set values here if:
1605 ##      - The module asks you to
1606 ##      - You want to disable the collection of some data
1607 ##      - Your (Intel) CPU is not supported (yet) by the module
1608 ##      - The module generates a lot of errors 'MSR offset 0x... read failed'
1609 ##      In the last two cases, please open a bug request
1610 #
1611 #       TCCActivationTemp "100"
1612 #       CoreCstates "392"
1613 #       PackageCstates "396"
1614 #       SystemManagementInterrupt true
1615 #       DigitalTemperatureSensor true
1616 #       PackageThermalManagement true
1617 #       RunningAveragePowerLimit "7"
1618 #</Plugin>
1619
1620 #<Plugin unixsock>
1621 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1622 #       SocketGroup "collectd"
1623 #       SocketPerms "0660"
1624 #       DeleteSocket false
1625 #</Plugin>
1626
1627 #<Plugin uuid>
1628 #       UUIDFile "/etc/uuid"
1629 #</Plugin>
1630
1631 #<Plugin mic>
1632 #   ShowCPU true
1633 #   ShowCPUCores true
1634 #   ShowMemory true
1635 #   ShowTemperatures true
1636 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1637 ##  then inverted with a IgnoreSelectedTemperature.
1638 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1639 #   Temperature vddg
1640 #   IgnoreSelectedTemperature true
1641 #   ShowPower true
1642 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1643 ##  then inverted with a IgnoreSelectedTemperature.
1644 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1645 #   Power total1
1646 #   IgnoreSelectedPower true
1647 #</Plugin>
1648
1649 #<Plugin varnish>
1650 #   This tag support an argument if you want to
1651 #   monitor the local instance just use </Instance>
1652 #   If you prefer defining another instance you can do
1653 #   so by using <Instance "myinstance">
1654 #   <Instance>
1655 #      CollectBackend true
1656 #      CollectBan false           # Varnish 3 and above
1657 #      CollectCache true
1658 #      CollectConnections true
1659 #      CollectDirectorDNS false   # Varnish 3 only
1660 #      CollectESI false
1661 #      CollectFetch false
1662 #      CollectHCB false
1663 #      CollectObjects false
1664 #      CollectPurge false         # Varnish 2 only
1665 #      CollectSession false
1666 #      CollectSHM true
1667 #      CollectSMA false           # Varnish 2 & 4 only
1668 #      CollectSMS false
1669 #      CollectSM false            # Varnish 2 only
1670 #      CollectStruct false
1671 #      CollectTotals false
1672 #      CollectUptime false        # Varnish 3 and above
1673 #      CollectVCL false
1674 #      CollectVSM false           # Varnish 4 only
1675 #      CollectWorkers false
1676 #      CollectLock false          # Varnish 4 only
1677 #      CollectMempool false       # Varnish 4 only
1678 #      CollectManagement false    # Varnish 4 only
1679 #      CollectSMF false           # Varnish 4 only
1680 #      CollectVBE false           # Varnish 4 only
1681 #      CollectMSE false           # Varnish-Plus 4 only
1682 #   </Instance>
1683 #</Plugin>
1684
1685 #<Plugin virt>
1686 #       Connection "xen:///"
1687 #       RefreshInterval 60
1688 #       Domain "name"
1689 #       ReportBlockDevices true
1690 #       ReportNetworkInterfaces true
1691 #       BlockDevice "name:device"
1692 #       BlockDeviceFormat target
1693 #       BlockDeviceFormatBasename false
1694 #       InterfaceDevice "name:device"
1695 #       IgnoreSelected false
1696 #       HostnameFormat name
1697 #       HostnameMetadataXPath "/instance/name/text()"
1698 #       HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1699 #       InterfaceFormat name
1700 #       PluginInstanceFormat name
1701 #       Instances 1
1702 #       ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpu vcpupin disk_physical disk_allocation disk_capacity memory"
1703 #       PersistentNotification false
1704 #</Plugin>
1705
1706 #<Plugin vmem>
1707 #       Verbose false
1708 #</Plugin>
1709
1710 #<Plugin write_graphite>
1711 #  <Node "example">
1712 #    Host "localhost"
1713 #    Port "2003"
1714 #    Protocol "tcp"
1715 #    ReconnectInterval 0
1716 #    LogSendErrors true
1717 #    Prefix "collectd"
1718 #    Postfix "collectd"
1719 #    StoreRates true
1720 #    AlwaysAppendDS false
1721 #    EscapeCharacter "_"
1722 #    SeparateInstances false
1723 #    PreserveSeparator false
1724 #    DropDuplicateFields false
1725 #    ReverseHost false
1726 #  </Node>
1727 #</Plugin>
1728
1729 #<Plugin write_http>
1730 #       <Node "example">
1731 #               URL "http://example.com/collectd-post"
1732 #               User "collectd"
1733 #               Password "weCh3ik0"
1734 #               VerifyPeer true
1735 #               VerifyHost true
1736 #               CACert "/etc/ssl/ca.crt"
1737 #               CAPath "/etc/ssl/certs/"
1738 #               ClientKey "/etc/ssl/client.pem"
1739 #               ClientCert "/etc/ssl/client.crt"
1740 #               ClientKeyPass "secret"
1741 #               Header "X-Custom-Header: custom_value"
1742 #               SSLVersion "TLSv1"
1743 #               Format "Command"
1744 #               Prefix "collectd"  # metric prefix, only available for KAIROSDB format
1745 #               Attribute "key" "value"     # only available for KAIROSDB format
1746 #               TTL 0   # data ttl, only available for KAIROSDB format
1747 #               Metrics true
1748 #               Notifications false
1749 #               StoreRates false
1750 #               BufferSize 4096
1751 #               LowSpeedLimit 0
1752 #               Timeout 0
1753 #       </Node>
1754 #</Plugin>
1755
1756 #<Plugin write_kafka>
1757 #  Property "metadata.broker.list" "localhost:9092"
1758 #  <Topic "collectd">
1759 #    Format JSON
1760 #  </Topic>
1761 #</Plugin>
1762
1763 #<Plugin write_mongodb>
1764 #       <Node "example">
1765 #               Host "localhost"
1766 #               Port "27017"
1767 #               Timeout 1000
1768 #               StoreRates false
1769 #               Database "auth_db"
1770 #               User "auth_user"
1771 #               Password "auth_passwd"
1772 #       </Node>
1773 #</Plugin>
1774
1775 #<Plugin write_prometheus>
1776 #       Port "9103"
1777 #</Plugin>
1778
1779 #<Plugin write_redis>
1780 #       <Node "example">
1781 #               Host "localhost"
1782 #               Port "6379"
1783 #               Timeout 1000
1784 #               Prefix "collectd/"
1785 #       </Node>
1786 #</Plugin>
1787
1788 #<Plugin write_riemann>
1789 #       <Node "example">
1790 #               Host "localhost"
1791 #               Port 5555
1792 #               Protocol TCP
1793 #               Batch true
1794 #               BatchMaxSize 8192
1795 #               StoreRates true
1796 #               AlwaysAppendDS false
1797 #               TTLFactor 2.0
1798 #               Notifications true
1799 #               CheckThresholds false
1800 #               EventServicePrefix ""
1801 #       </Node>
1802 #       Tag "foobar"
1803 #       Attribute "foo" "bar"
1804 #</Plugin>
1805
1806 #<Plugin write_sensu>
1807 #       <Node "example">
1808 #               Host "localhost"
1809 #               Port 3030
1810 #               StoreRates true
1811 #               AlwaysAppendDS false
1812 #               Notifications true
1813 #               Metrics true
1814 #               EventServicePrefix ""
1815 #               MetricHandler "influx"
1816 #               MetricHandler "default"
1817 #               NotificationHandler "flapjack"
1818 #               NotificationHandler "howling_monkey"
1819 #       </Node>
1820 #       Tag "foobar"
1821 #       Attribute "foo" "bar"
1822 #</Plugin>
1823
1824 #<Plugin write_stackdriver>
1825 #  Project "stackdriver-account"
1826 #  CredentialFile "/path/to/gcp-project-id-12345.json"
1827 #  Email "123456789012@developer.gserviceaccount.com"
1828 #  <Resource "global">
1829 #    Label "project_id" "gcp-project-id"
1830 #  </Resource>
1831 #  Url "https://monitoring.googleapis.com/v3"
1832 #</Plugin>
1833
1834 #<Plugin write_syslog>
1835 #       <Node>
1836 #               Host "localhost"
1837 #               Port "44514"
1838 #               Prefix "collectd"
1839 #               MessageFormat "human"
1840 #               HostTags ""
1841 #               StoreRates false
1842 #               AlwaysAppendDS false
1843 #       </Node>
1844 #</Plugin>
1845
1846 #<Plugin write_tsdb>
1847 #       <Node>
1848 #               Host "localhost"
1849 #               Port "4242"
1850 #               HostTags "status=production"
1851 #               StoreRates false
1852 #               AlwaysAppendDS false
1853 #       </Node>
1854 #</Plugin>
1855
1856 #<Plugin zookeeper>
1857 #    Host "localhost"
1858 #    Port "2181"
1859 #</Plugin>
1860
1861 ##############################################################################
1862 # Filter configuration                                                       #
1863 #----------------------------------------------------------------------------#
1864 # The following configures collectd's filtering mechanism. Before changing   #
1865 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1866 # in the collectd.conf(5) manual page.                                       #
1867 ##############################################################################
1868
1869 # Load required matches:
1870 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1871 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1872 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1873 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1874 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1875
1876 # Load required targets:
1877 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1878 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1879 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1880 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1881 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1882
1883 #----------------------------------------------------------------------------#
1884 # The following block demonstrates the default behavior if no filtering is   #
1885 # configured at all: All values will be sent to all available write plugins. #
1886 #----------------------------------------------------------------------------#
1887
1888 #<Chain "PostCache">
1889 #  Target "write"
1890 #</Chain>
1891
1892 ##############################################################################
1893 # Threshold configuration                                                    #
1894 #----------------------------------------------------------------------------#
1895 # The following outlines how to configure collectd's threshold checking      #
1896 # plugin. The plugin and possible configuration options are documented in    #
1897 # the collectd-threshold(5) manual page.                                     #
1898 ##############################################################################
1899
1900 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1901 #<Plugin threshold>
1902 #  <Type "foo">
1903 #    WarningMin    0.00
1904 #    WarningMax 1000.00
1905 #    FailureMin    0.00
1906 #    FailureMax 1200.00
1907 #    Invert false
1908 #    Instance "bar"
1909 #  </Type>
1910 #
1911 #  <Plugin "interface">
1912 #    Instance "eth0"
1913 #    <Type "if_octets">
1914 #      FailureMax 10000000
1915 #      DataSource "rx"
1916 #    </Type>
1917 #  </Plugin>
1918 #
1919 #  <Host "hostname">
1920 #    <Type "cpu">
1921 #      Instance "idle"
1922 #      FailureMin 10
1923 #    </Type>
1924 #
1925 #    <Plugin "memory">
1926 #      <Type "memory">
1927 #        Instance "cached"
1928 #        WarningMin 100000000
1929 #      </Type>
1930 #    </Plugin>
1931 #
1932 #    <Type "load">
1933 #       DataSource "midterm"
1934 #       FailureMax 4
1935 #       Hits 3
1936 #       Hysteresis 3
1937 #    </Type>
1938 #  </Host>
1939 #</Plugin>