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