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