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