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