Merge branch 'collectd-5.5'
[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 begnning 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_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
103 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
104 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
105 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
106 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
107 @LOAD_PLUGIN_CSV@LoadPlugin csv
108 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
109 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
110 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
111 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
112 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
113 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
114 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
115 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
116 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
117 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
118 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
119 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
120 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
121 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
122 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
123 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
124 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
125 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
126 #@BUILD_PLUGIN_IPC_TRUE@@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
127 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
128 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
129 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
130 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
131 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
132 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
133 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
134 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
135 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
136 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
137 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
138 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
139 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
140 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
141 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
142 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
143 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
144 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
145 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
146 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
147 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
148 @LOAD_PLUGIN_NETWORK@LoadPlugin network
149 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
150 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
151 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
152 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
153 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
154 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
155 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
156 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
157 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
158 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
159 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
160 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
161 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
162 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
163 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
164 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
165 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
166 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
167 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
168 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
169 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
170 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
171 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
172 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
173 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
174 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
175 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
176 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
177 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
178 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
179 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
180 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
181 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
182 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
183 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
184 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
185 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
186 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
187 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
188 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
189 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
190 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
191 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
192 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
193 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
194 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
195 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
196 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
197 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
198 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
199 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
200 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
201 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
202 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
203 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
204 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
205 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
206 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
207 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
208 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
209 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
210 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
211 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
212
213 ##############################################################################
214 # Plugin configuration                                                       #
215 #----------------------------------------------------------------------------#
216 # In this section configuration stubs for each plugin are provided. A desc-  #
217 # ription of those options is available in the collectd.conf(5) manual page. #
218 ##############################################################################
219
220 #<Plugin aggregation>
221 #  <Aggregation>
222 #    #Host "unspecified"
223 #    Plugin "cpu"
224 #    #PluginInstance "unspecified"
225 #    Type "cpu"
226 #    #TypeInstance "unspecified"
227 #
228 #    GroupBy "Host"
229 #    GroupBy "TypeInstance"
230 #
231 #    CalculateNum false
232 #    CalculateSum false
233 #    CalculateAverage true
234 #    CalculateMinimum false
235 #    CalculateMaximum false
236 #    CalculateStddev false
237 #  </Aggregation>
238 #</Plugin>
239
240 #<Plugin amqp>
241 #  <Publish "name">
242 #    Host "localhost"
243 #    Port "5672"
244 #    VHost "/"
245 #    User "guest"
246 #    Password "guest"
247 #    Exchange "amq.fanout"
248 #    RoutingKey "collectd"
249 #    Persistent false
250 #    StoreRates false
251 #    ConnectionRetryDelay 0
252 #  </Publish>
253 #</Plugin>
254
255 #<Plugin apache>
256 #  <Instance "local">
257 #    URL "http://localhost/status?auto"
258 #    User "www-user"
259 #    Password "secret"
260 #    CACert "/etc/ssl/ca.crt"
261 #  </Instance>
262 #</Plugin>
263
264 #<Plugin apcups>
265 #       Host "localhost"
266 #       Port "3551"
267 #       ReportSeconds true
268 #       PersistentConnection true
269 #</Plugin>
270
271 #<Plugin aquaero>
272 #       Device ""
273 #</Plugin>
274
275 #<Plugin ascent>
276 #       URL "http://localhost/ascent/status/"
277 #       User "www-user"
278 #       Password "secret"
279 #       CACert "/etc/ssl/ca.crt"
280 #</Plugin>
281
282 #<Plugin "barometer">
283 #   Device            "/dev/i2c-0";
284 #   Oversampling      512
285 #   PressureOffset    0.0
286 #   TemperatureOffset 0.0
287 #   Normalization     2
288 #   Altitude          238.0
289 #   TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
290 #</Plugin>
291
292 #<Plugin "battery">
293 #  ValuesPercentage false
294 #  ReportDegraded
295 #</Plugin>
296
297 #<Plugin "bind">
298 #  URL "http://localhost:8053/"
299 #  ParseTime       false
300 #  OpCodes         true
301 #  QTypes          true
302 #
303 #  ServerStats     true
304 #  ZoneMaintStats  true
305 #  ResolverStats   false
306 #  MemoryStats     true
307 #
308 #  <View "_default">
309 #    QTypes        true
310 #    ResolverStats true
311 #    CacheRRSets   true
312 #
313 #    Zone "127.in-addr.arpa/IN"
314 #  </View>
315 #</Plugin>
316
317 #<Plugin ceph>
318 #  LongRunAvgLatency false
319 #  ConvertSpecialMetricTypes true
320 #  <Daemon "osd.0">
321 #    SocketPath "/var/run/ceph/ceph-osd.0.asok"
322 #  </Daemon>
323 #  <Daemon "osd.1">
324 #    SocketPath "/var/run/ceph/ceph-osd.1.asok"
325 #  </Daemon>
326 #  <Daemon "mon.a">
327 #    SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
328 #  </Daemon>
329 #  <Daemon "mds.a">
330 #    SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
331 #  </Daemon>
332 #</Plugin>
333
334 #<Plugin cgroups>
335 #  CGroup "libvirt"
336 #  IgnoreSelected false
337 #</Plugin>
338
339 #<Plugin cpu>
340 #  ReportByCpu true
341 #  ReportByState true
342 #  ValuesPercentage false
343 #</Plugin>
344 #
345 #<Plugin csv>
346 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
347 #       StoreRates false
348 #</Plugin>
349
350 #<Plugin curl>
351 #  <Page "stock_quotes">
352 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
353 #    User "foo"
354 #    Password "bar"
355 #    Digest false
356 #    VerifyPeer true
357 #    VerifyHost true
358 #    CACert "/path/to/ca.crt"
359 #    Header "X-Custom-Header: foobar"
360 #    Post "foo=bar"
361 #
362 #    MeasureResponseTime false
363 #    MeasureResponseCode false
364 #    <Match>
365 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
366 #      DSType "GaugeAverage"
367 #      Type "stock_value"
368 #      Instance "AMD"
369 #    </Match>
370 #  </Page>
371 #</Plugin>
372
373 #<Plugin curl_json>
374 #  <URL "http://localhost:80/test.json">
375 #    Instance "test_http_json"
376 #    <Key "testArray/0">
377 #      Type "gauge"
378 #      # Expect: 1
379 #    </Key>
380 #    <Key "testArray/1">
381 #      Type "gauge"
382 #      # Expect: 2
383 #    </Key>
384 #    <Key "testArrayInbetween/0/blarg">
385 #      Type "gauge"
386 #      # Expect: 3
387 #    </Key>
388 #    <Key "testArrayInbetween/1/blub">
389 #      Type "gauge"
390 #      # Expect: 4
391 #    </Key>
392 #    <Key "testDirectHit">
393 #      Type "gauge"
394 #      # Expect: 5
395 #    </Key>
396 #    <Key "testSubLevelHit/oneMoreLevel">
397 #      Type "gauge"
398 #      # Expect: 6
399 #    </Key>
400 #  </URL>
401 # put this as test.json on your webserver, the above config demonstraces
402 # how to match them.
403 # {
404 #  "testArray":[1,2],
405 #  "testArrayInbetween":[{"blarg":3},{"blub":4}],
406 #  "testDirectHit":5,
407 #  "testSubLevelHit":{"oneMoreLevel":6}
408 # }
409 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
410 #  <URL "http://localhost:5984/_stats">
411 #    Instance "httpd"
412 #    <Key "httpd/requests/count">
413 #      Type "http_requests"
414 #    </Key>
415 #
416 #    <Key "httpd_request_methods/*/count">
417 #      Type "http_request_methods"
418 #    </Key>
419 #
420 #    <Key "httpd_status_codes/*/count">
421 #      Type "http_response_codes"
422 #    </Key>
423 #  </URL>
424 ## Database status metrics:
425 #  <URL "http://localhost:5984/_all_dbs">
426 #    Instance "dbs"
427 #    <Key "*/doc_count">
428 #      Type "gauge"
429 #    </Key>
430 #    <Key "*/doc_del_count">
431 #      Type "counter"
432 #    </Key>
433 #    <Key "*/disk_size">
434 #      Type "bytes"
435 #    </Key>
436 #  </URL>
437 #</Plugin>
438
439 #<Plugin curl_xml>
440 #  <URL "http://localhost/stats.xml">
441 #    Host "my_host"
442 #    Instance "some_instance"
443 #    User "collectd"
444 #    Password "thaiNg0I"
445 #    Digest false
446 #    VerifyPeer true
447 #    VerifyHost true
448 #    CACert "/path/to/ca.crt"
449 #    Header "X-Custom-Header: foobar"
450 #    Post "foo=bar"
451 #
452 #    <XPath "table[@id=\"magic_level\"]/tr">
453 #      Type "magic_level"
454 #      #InstancePrefix "prefix-"
455 #      InstanceFrom "td[1]"
456 #      ValuesFrom "td[2]/span[@class=\"level\"]"
457 #    </XPath>
458 #  </URL>
459 #</Plugin>
460
461 #<Plugin dbi>
462 #       <Query "num_of_customers">
463 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
464 #               <Result>
465 #                       Type "gauge"
466 #                       InstancesFrom "c_key"
467 #                       ValuesFrom "c_value"
468 #               </Result>
469 #       </Query>
470 #       <Database "customers_db">
471 #               Driver "mysql"
472 #               DriverOption "host" "localhost"
473 #               DriverOption "username" "collectd"
474 #               DriverOption "password" "AeXohy0O"
475 #               DriverOption "dbname" "custdb0"
476 #               #SelectDB "custdb0"
477 #               Query "num_of_customers"
478 #               #Query "..."
479 #               #Host "..."
480 #       </Database>
481 #</Plugin>
482
483 #<Plugin df>
484 #       Device "/dev/hda1"
485 #       Device "192.168.0.2:/mnt/nfs"
486 #       MountPoint "/home"
487 #       FSType "ext3"
488 #       IgnoreSelected false
489 #       ReportByDevice false
490 #       ReportReserved false
491 #       ReportInodes false
492 #       ValuesAbsolute true
493 #       ValuesPercentage false
494 #</Plugin>
495
496 #<Plugin disk>
497 #       Disk "/^[hs]d[a-f][0-9]?$/"
498 #       IgnoreSelected false
499 #       UseBSDName false
500 #       UdevNameAttr "DEVNAME"
501 #</Plugin>
502
503 #<Plugin dns>
504 #       Interface "eth0"
505 #       IgnoreSource "192.168.0.1"
506 #       SelectNumericQueryTypes true
507 #</Plugin>
508
509 #<Plugin email>
510 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
511 #       SocketGroup "collectd"
512 #       SocketPerms "0770"
513 #       MaxConns 5
514 #</Plugin>
515
516 #<Plugin ethstat>
517 #       Interface "eth0"
518 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
519 #       Map "multicast" "if_multicast"
520 #       MappedOnly false
521 #</Plugin>
522
523 #<Plugin exec>
524 #       Exec "user:group" "/path/to/exec"
525 #       NotificationExec "user:group" "/path/to/exec"
526 #</Plugin>
527
528 #<Plugin fhcount>
529 #       ValuesAbsolute true
530 #       ValuesPercentage false
531 #</Plugin>
532
533 #<Plugin filecount>
534 #       <Directory "/path/to/dir">
535 #               Instance "foodir"
536 #               Name "*.conf"
537 #               MTime "-5m"
538 #               Size "+10k"
539 #               Recursive true
540 #               IncludeHidden false
541 #       </Directory>
542 #</Plugin>
543
544 #<Plugin gmond>
545 #  MCReceiveFrom "239.2.11.71" "8649"
546 #  <Metric "swap_total">
547 #    Type "swap"
548 #    TypeInstance "total"
549 #    DataSource "value"
550 #  </Metric>
551 #  <Metric "swap_free">
552 #    Type "swap"
553 #    TypeInstance "free"
554 #    DataSource "value"
555 #  </Metric>
556 #</Plugin>
557
558 #<Plugin hddtemp>
559 #  Host "127.0.0.1"
560 #  Port "7634"
561 #</Plugin>
562
563 #<Plugin interface>
564 #       Interface "eth0"
565 #       IgnoreSelected false
566 #</Plugin>
567
568 #<Plugin ipmi>
569 #       Sensor "some_sensor"
570 #       Sensor "another_one"
571 #       IgnoreSelected false
572 #       NotifySensorAdd false
573 #       NotifySensorRemove true
574 #       NotifySensorNotPresent false
575 #</Plugin>
576
577 #<Plugin iptables>
578 #       Chain table chain
579 #</Plugin>
580
581 #<Plugin irq>
582 #       Irq 7
583 #       Irq 8
584 #       Irq 9
585 #       IgnoreSelected true
586 #</Plugin>
587
588 #<Plugin java>
589 #       JVMArg "-verbose:jni"
590 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
591 #
592 #       LoadPlugin "org.collectd.java.Foobar"
593 #       <Plugin "org.collectd.java.Foobar">
594 #         # To be parsed by the plugin
595 #       </Plugin>
596 #</Plugin>
597
598 #<Plugin load>
599 #        ReportRelative true
600 #</Plugin>
601
602 #<Plugin lpar>
603 #       CpuPoolStats   false
604 #       ReportBySerial false
605 #</Plugin>
606
607 #<Plugin madwifi>
608 #       Interface "wlan0"
609 #       IgnoreSelected false
610 #       Source "SysFS"
611 #       WatchSet "None"
612 #       WatchAdd "node_octets"
613 #       WatchAdd "node_rssi"
614 #       WatchAdd "is_rx_acl"
615 #       WatchAdd "is_scan_active"
616 #</Plugin>
617
618 #<Plugin mbmon>
619 #       Host "127.0.0.1"
620 #       Port "411"
621 #</Plugin>
622
623 #<Plugin md>
624 #       Device "/dev/md0"
625 #       IgnoreSelected false
626 #</Plugin>
627
628 #<Plugin memcachec>
629 #       <Page "plugin_instance">
630 #               Server "localhost"
631 #               Key "page_key"
632 #               <Match>
633 #                       Regex "(\\d+) bytes sent"
634 #                       ExcludeRegex "<lines to be excluded>"
635 #                       DSType CounterAdd
636 #                       Type "ipt_octets"
637 #                       Instance "type_instance"
638 #               </Match>
639 #       </Page>
640 #</Plugin>
641
642 #<Plugin memcached>
643 #       <Instance "local">
644 #               Host "127.0.0.1"
645 #               Port "11211"
646 #       </Instance>
647 #</Plugin>
648
649 #<Plugin memory>
650 #       ValuesAbsolute true
651 #       ValuesPercentage false
652 #</Plugin>
653
654 #<Plugin modbus>
655 #       <Data "data_name">
656 #               RegisterBase 1234
657 #               RegisterCmd ReadHolding
658 #               RegisterType float
659 #               Type gauge
660 #               Instance "..."
661 #       </Data>
662 #
663 #       <Host "name">
664 #               Address "addr"
665 #               Port "1234"
666 #               Interval 60
667 #
668 #               <Slave 1>
669 #                       Instance "foobar" # optional
670 #                       Collect "data_name"
671 #               </Slave>
672 #       </Host>
673 #</Plugin>
674
675 #<Plugin mqtt>
676 #       <Publish "name">
677 #               Host "localhost"
678 #               Port 1883
679 #               ClientId "localhost"
680 #               User "user"
681 #               Password "secret"
682 #               QoS 0
683 #               Prefix "collectd"
684 #               StoreRates true
685 #               Retain false
686 #       </Publish>
687 #       <Subscribe "name">
688 #               Host "localhost"
689 #               Port 1883
690 #               ClientId "localhost"
691 #               User "user"
692 #               Password "secret"
693 #               QoS 2
694 #               Topic "collectd/#"
695 #               CleanSession true
696 #       </Subscribe>
697 #</Plugin>
698
699 #<Plugin mysql>
700 #       <Database db_name>
701 #               Host "database.serv.er"
702 #               User "db_user"
703 #               Password "secret"
704 #               Database "db_name"
705 #               MasterStats true
706 #               ConnectTimeout 10
707 #               InnodbStats true
708 #       </Database>
709 #
710 #       <Database db_name2>
711 #               Alias "squeeze"
712 #               Host "localhost"
713 #               Socket "/var/run/mysql/mysqld.sock"
714 #               SlaveStats true
715 #               SlaveNotifications true
716 #       </Database>
717 #</Plugin>
718
719 #<Plugin netapp>
720 #       <Host "netapp1.example.com">
721 #               Protocol      "https"
722 #               Address       "10.0.0.1"
723 #               Port          443
724 #               User          "username"
725 #               Password      "aef4Aebe"
726 #               Interval      30
727 #
728 #               <WAFL>
729 #                       Interval 30
730 #                       GetNameCache   true
731 #                       GetDirCache    true
732 #                       GetBufferCache true
733 #                       GetInodeCache  true
734 #               </WAFL>
735 #
736 #               <Disks>
737 #                       Interval 30
738 #                       GetBusy true
739 #               </Disks>
740 #
741 #               <VolumePerf>
742 #                       Interval 30
743 #                       GetIO      "volume0"
744 #                       IgnoreSelectedIO      false
745 #                       GetOps     "volume0"
746 #                       IgnoreSelectedOps     false
747 #                       GetLatency "volume0"
748 #                       IgnoreSelectedLatency false
749 #               </VolumePerf>
750 #
751 #               <VolumeUsage>
752 #                       Interval 30
753 #                       GetCapacity "vol0"
754 #                       GetCapacity "vol1"
755 #                       IgnoreSelectedCapacity false
756 #                       GetSnapshot "vol1"
757 #                       GetSnapshot "vol3"
758 #                       IgnoreSelectedSnapshot false
759 #               </VolumeUsage>
760 #
761 #               <System>
762 #                       Interval 30
763 #                       GetCPULoad     true
764 #                       GetInterfaces  true
765 #                       GetDiskOps     true
766 #                       GetDiskIO      true
767 #               </System>
768 #       </Host>
769 #</Plugin>
770
771 #<Plugin netlink>
772 #       Interface "All"
773 #       VerboseInterface "All"
774 #       QDisc "eth0" "pfifo_fast-1:0"
775 #       Class "ppp0" "htb-1:10"
776 #       Filter "ppp0" "u32-1:0"
777 #       IgnoreSelected false
778 #</Plugin>
779
780 @LOAD_PLUGIN_NETWORK@<Plugin network>
781 #       # client setup:
782 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
783 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
784 #               SecurityLevel Encrypt
785 #               Username "user"
786 #               Password "secret"
787 #               Interface "eth0"
788 #               ResolveInterval 14400
789 @LOAD_PLUGIN_NETWORK@   </Server>
790 #       TimeToLive 128
791 #
792 #       # server setup:
793 #       Listen "ff18::efc0:4a42" "25826"
794 #       <Listen "239.192.74.66" "25826">
795 #               SecurityLevel Sign
796 #               AuthFile "/etc/collectd/passwd"
797 #               Interface "eth0"
798 #       </Listen>
799 #       MaxPacketSize 1452
800 #
801 #       # proxy setup (client and server as above):
802 #       Forward true
803 #
804 #       # statistics about the network plugin itself
805 #       ReportStats false
806 #
807 #       # "garbage collection"
808 #       CacheFlush 1800
809 @LOAD_PLUGIN_NETWORK@</Plugin>
810
811 #<Plugin nginx>
812 #       URL "http://localhost/status?auto"
813 #       User "www-user"
814 #       Password "secret"
815 #       CACert "/etc/ssl/ca.crt"
816 #</Plugin>
817
818 #<Plugin notify_desktop>
819 #       OkayTimeout 1000
820 #       WarningTimeout 5000
821 #       FailureTimeout 0
822 #</Plugin>
823
824 #<Plugin notify_email>
825 #       SMTPServer "localhost"
826 #       SMTPPort 25
827 #       SMTPUser "my-username"
828 #       SMTPPassword "my-password"
829 #       From "collectd@main0server.com"
830 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
831 #       Subject "Aaaaaa!! %s on %s!!!!!"
832 #       Recipient "email1@domain1.net"
833 #       Recipient "email2@domain2.com"
834 #</Plugin>
835
836 #<Plugin ntpd>
837 #       Host "localhost"
838 #       Port 123
839 #       ReverseLookups false
840 #       IncludeUnitID true
841 #</Plugin>
842
843 #<Plugin nut>
844 #       UPS "upsname@hostname:port"
845 #</Plugin>
846
847 #<Plugin olsrd>
848 #       Host "127.0.0.1"
849 #       Port "2006"
850 #       CollectLinks "Summary"
851 #       CollectRoutes "Summary"
852 #       CollectTopology "Summary"
853 #</Plugin>
854
855 #<Plugin onewire>
856 #       Device "-s localhost:4304"
857 #       Sensor "F10FCA000800"
858 #       IgnoreSelected false
859 #</Plugin>
860
861 #<Plugin openldap>
862 #  <Instance "localhost">
863 #    URL "ldap://localhost:389"
864 #    StartTLS false
865 #    VerifyHost true
866 #    CACert "/path/to/ca.crt"
867 #    Timeout -1
868 #    Version 3
869 #  </Instance>
870 #</Plugin>
871
872 #<Plugin openvpn>
873 #       StatusFile "/etc/openvpn/openvpn-status.log"
874 #       ImprovedNamingSchema false
875 #       CollectCompression true
876 #       CollectIndividualUsers true
877 #       CollectUserCount false
878 #</Plugin>
879
880 #<Plugin oracle>
881 #  <Query "out_of_stock">
882 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
883 #    <Result>
884 #      Type "gauge"
885 #      InstancesFrom "category"
886 #      ValuesFrom "value"
887 #    </Result>
888 #  </Query>
889 #  <Database "product_information">
890 #    ConnectID "db01"
891 #    Username "oracle"
892 #    Password "secret"
893 #    Query "out_of_stock"
894 #  </Database>
895 #</Plugin>
896
897 #<Plugin perl>
898 #       IncludeDir "/my/include/path"
899 #       BaseName "Collectd::Plugins"
900 #       EnableDebugger ""
901 #       LoadPlugin Monitorus
902 #       LoadPlugin OpenVZ
903 #
904 #       <Plugin foo>
905 #               Foo "Bar"
906 #               Qux "Baz"
907 #       </Plugin>
908 #</Plugin>
909
910 #<Plugin pinba>
911 #       Address "::0"
912 #       Port "30002"
913 #       <View "name">
914 #               Host "host name"
915 #               Server "server name"
916 #               Script "script name"
917 #       </View>
918 #</Plugin>
919
920 #<Plugin ping>
921 #       Host "host.foo.bar"
922 #       Interval 1.0
923 #       Timeout 0.9
924 #       TTL 255
925 #       SourceAddress "1.2.3.4"
926 #       Device "eth0"
927 #       MaxMissed -1
928 #</Plugin>
929
930 #<Plugin postgresql>
931 #       <Query magic>
932 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
933 #               Param hostname
934 #               <Result>
935 #                       Type gauge
936 #                       InstancePrefix "magic"
937 #                       ValuesFrom magic
938 #               </Result>
939 #       </Query>
940 #       <Query rt36_tickets>
941 #               Statement "SELECT COUNT(type) AS count, type \
942 #                                 FROM (SELECT CASE \
943 #                                              WHEN resolved = 'epoch' THEN 'open' \
944 #                                              ELSE 'resolved' END AS type \
945 #                                              FROM tickets) type \
946 #                                 GROUP BY type;"
947 #               <Result>
948 #                       Type counter
949 #                       InstancePrefix "rt36_tickets"
950 #                       InstancesFrom "type"
951 #                       ValuesFrom "count"
952 #               </Result>
953 #       </Query>
954 #       <Writer sqlstore>
955 #               # See contrib/postgresql/collectd_insert.sql for details
956 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
957 #               StoreRates true
958 #       </Writer>
959 #       <Database foo>
960 #               Host "hostname"
961 #               Port "5432"
962 #               User "username"
963 #               Password "secret"
964 #               SSLMode "prefer"
965 #               KRBSrvName "kerberos_service_name"
966 #               Query magic
967 #       </Database>
968 #       <Database bar>
969 #               Interval 60
970 #               Service "service_name"
971 #               Query backend # predefined
972 #               Query rt36_tickets
973 #       </Database>
974 #       <Database qux>
975 #               Service "collectd_store"
976 #               Writer sqlstore
977 #               # see collectd.conf(5) for details
978 #               CommitInterval 30
979 #       </Database>
980 #</Plugin>
981
982 #<Plugin powerdns>
983 #  <Server "server_name">
984 #    Collect "latency"
985 #    Collect "udp-answers" "udp-queries"
986 #    Socket "/var/run/pdns.controlsocket"
987 #  </Server>
988 #  <Recursor "recursor_name">
989 #    Collect "questions"
990 #    Collect "cache-hits" "cache-misses"
991 #    Socket "/var/run/pdns_recursor.controlsocket"
992 #  </Recursor>
993 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
994 #</Plugin>
995
996 #<Plugin processes>
997 #       Process "name"
998 #</Plugin>
999
1000 #<Plugin protocols>
1001 #       Value "/^Tcp:/"
1002 #       IgnoreSelected false
1003 #</Plugin>
1004
1005 #<Plugin python>
1006 #       ModulePath "/path/to/your/python/modules"
1007 #       LogTraces true
1008 #       Interactive true
1009 #       Import "spam"
1010 #
1011 #       <Module spam>
1012 #               spam "wonderful" "lovely"
1013 #       </Module>
1014 #</Plugin>
1015
1016 #<Plugin redis>
1017 #   <Node example>
1018 #      Host "redis.example.com"
1019 #      Port "6379"
1020 #      Timeout 2000
1021 #   </Node>
1022 #</Plugin>
1023
1024 #<Plugin routeros>
1025 #       <Router>
1026 #               Host "router.example.com"
1027 #               Port "8728"
1028 #               User "admin"
1029 #               Password "dozaiTh4"
1030 #               CollectInterface true
1031 #               CollectRegistrationTable true
1032 #               CollectCPULoad true
1033 #               CollectMemory true
1034 #               CollectDF true
1035 #               CollectDisk true
1036 #       </Router>
1037 #</Plugin>
1038
1039 #<Plugin rrdcached>
1040 #       DaemonAddress "unix:/tmp/rrdcached.sock"
1041 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1042 #       CreateFiles true
1043 #       CreateFilesAsync false
1044 #       CollectStatistics true
1045 #</Plugin>
1046
1047 #<Plugin rrdtool>
1048 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1049 #       CreateFilesAsync false
1050 #       CacheTimeout 120
1051 #       CacheFlush   900
1052 #       WritesPerSecond 50
1053 #</Plugin>
1054
1055 #<Plugin sensors>
1056 #       SensorConfigFile "/etc/sensors.conf"
1057 #       Sensor "it8712-isa-0290/temperature-temp1"
1058 #       Sensor "it8712-isa-0290/fanspeed-fan3"
1059 #       Sensor "it8712-isa-0290/voltage-in8"
1060 #       IgnoreSelected false
1061 #</Plugin>
1062
1063 #<Plugin sigrok>
1064 #  LogLevel 3
1065 #  <Device "AC Voltage">
1066 #    Driver "fluke-dmm"
1067 #    MinimumInterval 10
1068 #    Conn "/dev/ttyUSB2"
1069 #  </Device>
1070 #  <Device "Sound Level">
1071 #    Driver "cem-dt-885x"
1072 #    Conn "/dev/ttyUSB1"
1073 #  </Device>
1074 #</Plugin>
1075
1076 #<Plugin smart>
1077 #  Disk "/^[hs]d[a-f][0-9]?$/"
1078 #  IgnoreSelected false
1079 #</Plugin>
1080
1081 #<Plugin snmp>
1082 #   <Data "powerplus_voltge_input">
1083 #       Type "voltage"
1084 #       Table false
1085 #       Instance "input_line1"
1086 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1087 #   </Data>
1088 #   <Data "hr_users">
1089 #       Type "users"
1090 #       Table false
1091 #       Instance ""
1092 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1093 #   </Data>
1094 #   <Data "std_traffic">
1095 #       Type "if_octets"
1096 #       Table true
1097 #       Instance "IF-MIB::ifDescr"
1098 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1099 #   </Data>
1100 #
1101 #   <Host "some.switch.mydomain.org">
1102 #       Address "192.168.0.2"
1103 #       Version 1
1104 #       Community "community_string"
1105 #       Collect "std_traffic"
1106 #       Interval 120
1107 #   </Host>
1108 #   <Host "some.server.mydomain.org">
1109 #       Address "192.168.0.42"
1110 #       Version 2
1111 #       Community "another_string"
1112 #       Collect "std_traffic" "hr_users"
1113 #   </Host>
1114 #   <Host "some.ups.mydomain.org">
1115 #       Address "192.168.0.3"
1116 #       Version 1
1117 #       Community "more_communities"
1118 #       Collect "powerplus_voltge_input"
1119 #       Interval 300
1120 #   </Host>
1121 #</Plugin>
1122
1123 #<Plugin statsd>
1124 #  Host "::"
1125 #  Port "8125"
1126 #  DeleteCounters false
1127 #  DeleteTimers   false
1128 #  DeleteGauges   false
1129 #  DeleteSets     false
1130 #  TimerPercentile 90.0
1131 #  TimerPercentile 95.0
1132 #  TimerPercentile 99.0
1133 #  TimerLower     false
1134 #  TimerUpper     false
1135 #  TimerSum       false
1136 #  TimerCount     false
1137 #</Plugin>
1138
1139 #<Plugin swap>
1140 #       ReportByDevice false
1141 #       ReportBytes true
1142 #       ValuesAbsolute true
1143 #       ValuesPercentage false
1144 #</Plugin>
1145
1146 #<Plugin table>
1147 #       <Table "/proc/slabinfo">
1148 #               Instance "slabinfo"
1149 #               Separator " "
1150 #               <Result>
1151 #                       Type gauge
1152 #                       InstancePrefix "active_objs"
1153 #                       InstancesFrom 0
1154 #                       ValuesFrom 1
1155 #               </Result>
1156 #               <Result>
1157 #                       Type gauge
1158 #                       InstancePrefix "objperslab"
1159 #                       InstancesFrom 0
1160 #                       ValuesFrom 4
1161 #               </Result>
1162 #       </Table>
1163 #</Plugin>
1164
1165 #<Plugin tail>
1166 #  <File "/var/log/exim4/mainlog">
1167 #    Instance "exim"
1168 #    Interval 60
1169 #    <Match>
1170 #      Regex "S=([1-9][0-9]*)"
1171 #      DSType "CounterAdd"
1172 #      Type "ipt_bytes"
1173 #      Instance "total"
1174 #    </Match>
1175 #    <Match>
1176 #      Regex "\\<R=local_user\\>"
1177 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1178 #      DSType "CounterInc"
1179 #      Type "counter"
1180 #      Instance "local_user"
1181 #    </Match>
1182 #  </File>
1183 #</Plugin>
1184
1185 #<Plugin tail_csv>
1186 #   <Metric "dropped">
1187 #       Type "percent"
1188 #       Instance "dropped"
1189 #       ValueFrom 1
1190 #   </Metric>
1191 #   <Metric "mbps">
1192 #       Type "bytes"
1193 #       Instance "wire-realtime"
1194 #       ValueFrom 2
1195 #   </Metric>
1196 #   <Metric "alerts">
1197 #       Type "alerts_per_second"
1198 #       ValueFrom 3
1199 #   </Metric>
1200 #   <Metric "kpps">
1201 #       Type "kpackets_wire_per_sec.realtime"
1202 #       ValueFrom 4
1203 #   </Metric>
1204 #   <File "/var/log/snort/snort.stats">
1205 #       Instance "snort-eth0"
1206 #       Interval 600
1207 #       Collect "dropped" "mbps" "alerts" "kpps"
1208 #       TimeFrom 0
1209 #   </File>
1210 #</Plugin>
1211
1212 #<Plugin tcpconns>
1213 #       ListeningPorts false
1214 #       AllPortsSummary false
1215 #       LocalPort "25"
1216 #       RemotePort "25"
1217 #</Plugin>
1218
1219 #<Plugin teamspeak2>
1220 #       Host "127.0.0.1"
1221 #       Port "51234"
1222 #       Server "8767"
1223 #</Plugin>
1224
1225 #<Plugin ted>
1226 #       Device "/dev/ttyUSB0"
1227 #       Retries 0
1228 #</Plugin>
1229
1230 #<Plugin thermal>
1231 #       ForceUseProcfs false
1232 #       Device "THRM"
1233 #       IgnoreSelected false
1234 #</Plugin>
1235
1236 #<Plugin tokyotyrant>
1237 #       Host "localhost"
1238 #       Port "1978"
1239 #</Plugin>
1240
1241 #<Plugin turbostat>
1242 ##      None of the following option should be set manually
1243 ##      This plugin automatically detect most optimal options
1244 ##      Only set values here if:
1245 ##      - The module ask you to
1246 ##      - You want to disable the collection of some data
1247 ##      - Your (intel) CPU is not supported (yet) by the module
1248 ##      - The module generate a lot of errors 'MSR offset 0x... read failed'
1249 ##      In the last two cases, please open a bug request
1250 #
1251 #       TCCActivationTemp "100"
1252 #       CoreCstates "392"
1253 #       PackageCstates "396"
1254 #       SystemManagementInterrupt true
1255 #       DigitalTemperatureSensor true
1256 #       PackageThermalManagement true
1257 #       RunningAveragePowerLimit "7"    
1258 #</Plugin>
1259
1260 #<Plugin unixsock>
1261 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1262 #       SocketGroup "collectd"
1263 #       SocketPerms "0660"
1264 #       DeleteSocket false
1265 #</Plugin>
1266
1267 #<Plugin uuid>
1268 #       UUIDFile "/etc/uuid"
1269 #</Plugin>
1270
1271 #<Plugin mic>
1272 #   ShowCPU true
1273 #   ShowCPUCores true
1274 #   ShowMemory true
1275 #   ShowTemperatures true
1276 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1277 ##  then inverted with a IgnoreSelectedTemperature.
1278 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1279 #   Temperature vddg
1280 #   IgnoreSelectedTemperature true
1281 #   ShowPower true
1282 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1283 ##  then inverted with a IgnoreSelectedTemperature.
1284 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1285 #   Power total1
1286 #   IgnoreSelectedPower true
1287 #</Plugin>
1288
1289 #<Plugin varnish>
1290 #   This tag support an argument if you want to
1291 #   monitor the local instance just use </Instance>
1292 #   If you prefer defining another instance you can do
1293 #   so by using <Instance "myinstance">
1294 #   <Instance>
1295 #      CollectBackend true
1296 #      CollectBan false           # Varnish 3 and above
1297 #      CollectCache true
1298 #      CollectConnections true
1299 #      CollectDirectorDNS false   # Varnish 3 only
1300 #      CollectESI false
1301 #      CollectFetch false
1302 #      CollectHCB false
1303 #      CollectObjects false
1304 #      CollectPurge false         # Varnish 2 only
1305 #      CollectSession false
1306 #      CollectSHM true
1307 #      CollectSMA false           # Varnish 2 only
1308 #      CollectSMS false
1309 #      CollectSM false            # Varnish 2 only
1310 #      CollectStruct false
1311 #      CollectTotals false
1312 #      CollectUptime false        # Varnish 3 and above
1313 #      CollectVCL false
1314 #      CollectVSM false           # Varnish 4 only
1315 #      CollectWorkers false
1316 #   </Instance>
1317 #</Plugin>
1318
1319 #<Plugin virt>
1320 #       Connection "xen:///"
1321 #       RefreshInterval 60
1322 #       Domain "name"
1323 #       BlockDevice "name:device"
1324 #       InterfaceDevice "name:device"
1325 #       IgnoreSelected false
1326 #       HostnameFormat name
1327 #       InterfaceFormat name
1328 #       PluginInstanceFormat name
1329 #</Plugin>
1330
1331 #<Plugin vmem>
1332 #       Verbose false
1333 #</Plugin>
1334
1335 #<Plugin write_graphite>
1336 #  <Node "example">
1337 #    Host "localhost"
1338 #    Port "2003"
1339 #    Protocol "tcp"
1340 #    LogSendErrors true
1341 #    Prefix "collectd"
1342 #    Postfix "collectd"
1343 #    StoreRates true
1344 #    AlwaysAppendDS false
1345 #    EscapeCharacter "_"
1346 #  </Node>
1347 #</Plugin>
1348
1349 #<Plugin write_http>
1350 #       <Node "example">
1351 #               URL "http://example.com/collectd-post"
1352 #               User "collectd"
1353 #               Password "weCh3ik0"
1354 #               VerifyPeer true
1355 #               VerifyHost true
1356 #               CACert "/etc/ssl/ca.crt"
1357 #               CAPath "/etc/ssl/certs/"
1358 #               ClientKey "/etc/ssl/client.pem"
1359 #               ClientCert "/etc/ssl/client.crt"
1360 #               ClientKeyPass "secret"
1361 #               SSLVersion "TLSv1"
1362 #               Format "Command"
1363 #               StoreRates false
1364 #               BufferSize 4096
1365 #               LowSpeedLimit 0
1366 #               Timeout 0
1367 #       </Node>
1368 #</Plugin>
1369
1370 #<Plugin write_kafka>
1371 #  Property "metadata.broker.list" "localhost:9092"
1372 #  <Topic "collectd">
1373 #    Format JSON
1374 #  </Topic>
1375 #</Plugin>
1376
1377 #<Plugin write_mongodb>
1378 #       <Node "example">
1379 #               Host "localhost"
1380 #               Port "27017"
1381 #               Timeout 1000
1382 #               StoreRates false
1383 #               Database "auth_db"
1384 #               User "auth_user"
1385 #               Password "auth_passwd"
1386 #       </Node>
1387 #</Plugin>
1388
1389 #<Plugin write_redis>
1390 #       <Node "example">
1391 #               Host "localhost"
1392 #               Port "6379"
1393 #               Timeout 1000
1394 #               Prefix "collectd/"
1395 #       </Node>
1396 #</Plugin>
1397
1398 #<Plugin write_riemann>
1399 #       <Node "example">
1400 #               Host "localhost"
1401 #               Port 5555
1402 #               Protocol TCP
1403 #               Batch true
1404 #               BatchMaxSize 8192
1405 #               StoreRates true
1406 #               AlwaysAppendDS false
1407 #               TTLFactor 2.0
1408 #               Notifications true
1409 #               CheckThresholds false
1410 #               EventServicePrefix ""
1411 #       </Node>
1412 #       Tag "foobar"
1413 #       Attribute "foo" "bar"
1414 #</Plugin>
1415
1416 #<Plugin write_sensu>
1417 #       <Node "example">
1418 #               Host "localhost"
1419 #               Port 3030
1420 #               StoreRates true
1421 #               AlwaysAppendDS false
1422 #               Notifications true
1423 #               Metrics true
1424 #               EventServicePrefix ""
1425 #               MetricHandler "influx"
1426 #               MetricHandler "default"
1427 #               NotificationHandler "flapjack"
1428 #               NotificationHandler "howling_monkey"
1429 #       </Node>
1430 #       Tag "foobar"
1431 #       Attribute "foo" "bar"
1432 #</Plugin>
1433
1434 #<Plugin write_tsdb>
1435 #       <Node>
1436 #               Host "localhost"
1437 #               Port "4242"
1438 #               HostTags "status=production"
1439 #               StoreRates false
1440 #               AlwaysAppendDS false
1441 #       </Node>
1442 #</Plugin>
1443
1444 #<Plugin zookeeper>
1445 #    Host "localhost"
1446 #    Port "2181"
1447 #</Plugin>
1448
1449 ##############################################################################
1450 # Filter configuration                                                       #
1451 #----------------------------------------------------------------------------#
1452 # The following configures collectd's filtering mechanism. Before changing   #
1453 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1454 # in the collectd.conf(5) manual page.                                       #
1455 ##############################################################################
1456
1457 # Load required matches:
1458 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1459 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1460 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1461 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1462 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1463
1464 # Load required targets:
1465 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1466 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1467 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1468 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1469 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1470
1471 #----------------------------------------------------------------------------#
1472 # The following block demonstrates the default behavior if no filtering is   #
1473 # configured at all: All values will be sent to all available write plugins. #
1474 #----------------------------------------------------------------------------#
1475
1476 #<Chain "PostCache">
1477 #  Target "write"
1478 #</Chain>
1479
1480 ##############################################################################
1481 # Threshold configuration                                                    #
1482 #----------------------------------------------------------------------------#
1483 # The following outlines how to configure collectd's threshold checking      #
1484 # plugin. The plugin and possible configuration options are documented in    #
1485 # the collectd-threshold(5) manual page.                                     #
1486 ##############################################################################
1487
1488 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1489 #<Plugin threshold>
1490 #  <Type "foo">
1491 #    WarningMin    0.00
1492 #    WarningMax 1000.00
1493 #    FailureMin    0.00
1494 #    FailureMax 1200.00
1495 #    Invert false
1496 #    Instance "bar"
1497 #  </Type>
1498 #
1499 #  <Plugin "interface">
1500 #    Instance "eth0"
1501 #    <Type "if_octets">
1502 #      FailureMax 10000000
1503 #      DataSource "rx"
1504 #    </Type>
1505 #  </Plugin>
1506 #
1507 #  <Host "hostname">
1508 #    <Type "cpu">
1509 #      Instance "idle"
1510 #      FailureMin 10
1511 #    </Type>
1512 #
1513 #    <Plugin "memory">
1514 #      <Type "memory">
1515 #        Instance "cached"
1516 #        WarningMin 100000000
1517 #      </Type>
1518 #    </Plugin>
1519 #
1520 #    <Type "load">
1521 #       DataSource "midterm"
1522 #       FailureMax 4
1523 #       Hits 3
1524 #       Hysteresis 3
1525 #    </Type>
1526 #  </Host>
1527 #</Plugin>