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