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