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