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