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