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