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