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