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 #</Plugin>
343 #<Plugin cgroups>
344 # CGroup "libvirt"
345 # IgnoreSelected false
346 #</Plugin>
348 #<Plugin cpu>
349 # ReportByCpu true
350 # ReportByState true
351 # ValuesPercentage false
352 #</Plugin>
353 #
354 #<Plugin csv>
355 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
356 # StoreRates false
357 #</Plugin>
359 #<Plugin curl>
360 # <Page "stock_quotes">
361 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
362 # User "foo"
363 # Password "bar"
364 # Digest false
365 # VerifyPeer true
366 # VerifyHost true
367 # CACert "/path/to/ca.crt"
368 # Header "X-Custom-Header: foobar"
369 # Post "foo=bar"
370 #
371 # MeasureResponseTime false
372 # MeasureResponseCode false
373 # <Match>
374 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
375 # DSType "GaugeAverage"
376 # Type "stock_value"
377 # Instance "AMD"
378 # </Match>
379 # </Page>
380 #</Plugin>
382 #<Plugin curl_json>
383 # <URL "http://localhost:80/test.json">
384 # Instance "test_http_json"
385 # <Key "testArray/0">
386 # Type "gauge"
387 # # Expect: 1
388 # </Key>
389 # <Key "testArray/1">
390 # Type "gauge"
391 # # Expect: 2
392 # </Key>
393 # <Key "testArrayInbetween/0/blarg">
394 # Type "gauge"
395 # # Expect: 3
396 # </Key>
397 # <Key "testArrayInbetween/1/blub">
398 # Type "gauge"
399 # # Expect: 4
400 # </Key>
401 # <Key "testDirectHit">
402 # Type "gauge"
403 # # Expect: 5
404 # </Key>
405 # <Key "testSubLevelHit/oneMoreLevel">
406 # Type "gauge"
407 # # Expect: 6
408 # </Key>
409 # </URL>
410 # put this as test.json on your webserver, the above config demonstraces
411 # how to match them.
412 # {
413 # "testArray":[1,2],
414 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
415 # "testDirectHit":5,
416 # "testSubLevelHit":{"oneMoreLevel":6}
417 # }
418 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
419 # <URL "http://localhost:5984/_stats">
420 # Instance "httpd"
421 # <Key "httpd/requests/count">
422 # Type "http_requests"
423 # </Key>
424 #
425 # <Key "httpd_request_methods/*/count">
426 # Type "http_request_methods"
427 # </Key>
428 #
429 # <Key "httpd_status_codes/*/count">
430 # Type "http_response_codes"
431 # </Key>
432 # </URL>
433 ## Database status metrics:
434 # <URL "http://localhost:5984/_all_dbs">
435 # Instance "dbs"
436 # <Key "*/doc_count">
437 # Type "gauge"
438 # </Key>
439 # <Key "*/doc_del_count">
440 # Type "counter"
441 # </Key>
442 # <Key "*/disk_size">
443 # Type "bytes"
444 # </Key>
445 # </URL>
446 #</Plugin>
448 #<Plugin curl_xml>
449 # <URL "http://localhost/stats.xml">
450 # Host "my_host"
451 # Instance "some_instance"
452 # User "collectd"
453 # Password "thaiNg0I"
454 # Digest false
455 # VerifyPeer true
456 # VerifyHost true
457 # CACert "/path/to/ca.crt"
458 # Header "X-Custom-Header: foobar"
459 # Post "foo=bar"
460 #
461 # <XPath "table[@id=\"magic_level\"]/tr">
462 # Type "magic_level"
463 # #InstancePrefix "prefix-"
464 # InstanceFrom "td[1]"
465 # ValuesFrom "td[2]/span[@class=\"level\"]"
466 # </XPath>
467 # </URL>
468 #</Plugin>
470 #<Plugin dbi>
471 # <Query "num_of_customers">
472 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
473 # <Result>
474 # Type "gauge"
475 # InstancesFrom "c_key"
476 # ValuesFrom "c_value"
477 # </Result>
478 # </Query>
479 # <Database "customers_db">
480 # Driver "mysql"
481 # DriverOption "host" "localhost"
482 # DriverOption "username" "collectd"
483 # DriverOption "password" "AeXohy0O"
484 # DriverOption "dbname" "custdb0"
485 # #SelectDB "custdb0"
486 # Query "num_of_customers"
487 # #Query "..."
488 # #Host "..."
489 # </Database>
490 #</Plugin>
492 #<Plugin df>
493 # Device "/dev/hda1"
494 # Device "192.168.0.2:/mnt/nfs"
495 # MountPoint "/home"
496 # FSType "ext3"
497 # IgnoreSelected false
498 # ReportByDevice false
499 # ReportInodes false
500 # ValuesAbsolute true
501 # ValuesPercentage false
502 #</Plugin>
504 #<Plugin disk>
505 # Disk "/^[hs]d[a-f][0-9]?$/"
506 # IgnoreSelected false
507 # UseBSDName false
508 # UdevNameAttr "DEVNAME"
509 #</Plugin>
511 #<Plugin dns>
512 # Interface "eth0"
513 # IgnoreSource "192.168.0.1"
514 # SelectNumericQueryTypes true
515 #</Plugin>
517 #<Plugin email>
518 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
519 # SocketGroup "collectd"
520 # SocketPerms "0770"
521 # MaxConns 5
522 #</Plugin>
524 #<Plugin ethstat>
525 # Interface "eth0"
526 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
527 # Map "multicast" "if_multicast"
528 # MappedOnly false
529 #</Plugin>
531 #<Plugin exec>
532 # Exec "user:group" "/path/to/exec"
533 # NotificationExec "user:group" "/path/to/exec"
534 #</Plugin>
536 #<Plugin fhcount>
537 # ValuesAbsolute true
538 # ValuesPercentage false
539 #</Plugin>
541 #<Plugin filecount>
542 # <Directory "/path/to/dir">
543 # Instance "foodir"
544 # Name "*.conf"
545 # MTime "-5m"
546 # Size "+10k"
547 # Recursive true
548 # IncludeHidden false
549 # </Directory>
550 #</Plugin>
552 #<Plugin gmond>
553 # MCReceiveFrom "239.2.11.71" "8649"
554 # <Metric "swap_total">
555 # Type "swap"
556 # TypeInstance "total"
557 # DataSource "value"
558 # </Metric>
559 # <Metric "swap_free">
560 # Type "swap"
561 # TypeInstance "free"
562 # DataSource "value"
563 # </Metric>
564 #</Plugin>
566 #<Plugin grpc>
567 # WorkerThreads 5
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 # UniqueName false
585 #</Plugin>
587 #<Plugin ipmi>
588 # Sensor "some_sensor"
589 # Sensor "another_one"
590 # IgnoreSelected false
591 # NotifySensorAdd false
592 # NotifySensorRemove true
593 # NotifySensorNotPresent false
594 #</Plugin>
596 #<Plugin iptables>
597 # Chain table chain
598 # Chain6 table chain
599 #</Plugin>
601 #<Plugin irq>
602 # Irq 7
603 # Irq 8
604 # Irq 9
605 # IgnoreSelected true
606 #</Plugin>
608 #<Plugin java>
609 # JVMArg "-verbose:jni"
610 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
611 #
612 # LoadPlugin "org.collectd.java.Foobar"
613 # <Plugin "org.collectd.java.Foobar">
614 # # To be parsed by the plugin
615 # </Plugin>
616 #</Plugin>
618 #<Plugin load>
619 # ReportRelative true
620 #</Plugin>
622 #<Plugin lpar>
623 # CpuPoolStats false
624 # ReportBySerial false
625 #</Plugin>
627 #<Plugin madwifi>
628 # Interface "wlan0"
629 # IgnoreSelected false
630 # Source "SysFS"
631 # WatchSet "None"
632 # WatchAdd "node_octets"
633 # WatchAdd "node_rssi"
634 # WatchAdd "is_rx_acl"
635 # WatchAdd "is_scan_active"
636 #</Plugin>
638 #<Plugin mbmon>
639 # Host "127.0.0.1"
640 # Port "411"
641 #</Plugin>
643 #<Plugin md>
644 # Device "/dev/md0"
645 # IgnoreSelected false
646 #</Plugin>
648 #<Plugin memcachec>
649 # <Page "plugin_instance">
650 # Server "localhost"
651 # Key "page_key"
652 # <Match>
653 # Regex "(\\d+) bytes sent"
654 # ExcludeRegex "<lines to be excluded>"
655 # DSType CounterAdd
656 # Type "ipt_octets"
657 # Instance "type_instance"
658 # </Match>
659 # </Page>
660 #</Plugin>
662 #<Plugin memcached>
663 # <Instance "local">
664 # Host "127.0.0.1"
665 # Port "11211"
666 # </Instance>
667 #</Plugin>
669 #<Plugin memory>
670 # ValuesAbsolute true
671 # ValuesPercentage false
672 #</Plugin>
674 #<Plugin modbus>
675 # <Data "data_name">
676 # RegisterBase 1234
677 # RegisterCmd ReadHolding
678 # RegisterType float
679 # Type gauge
680 # Instance "..."
681 # </Data>
682 #
683 # <Host "name">
684 # Address "addr"
685 # Port "1234"
686 # Interval 60
687 #
688 # <Slave 1>
689 # Instance "foobar" # optional
690 # Collect "data_name"
691 # </Slave>
692 # </Host>
693 #</Plugin>
695 #<Plugin mqtt>
696 # <Publish "name">
697 # Host "localhost"
698 # Port 1883
699 # ClientId "localhost"
700 # User "user"
701 # Password "secret"
702 # QoS 0
703 # Prefix "collectd"
704 # StoreRates true
705 # Retain false
706 # CACert "/etc/ssl/ca.crt"
707 # CertificateFile "/etc/ssl/client.crt"
708 # CertificateKeyFile "/etc/ssl/client.pem"
709 # TLSProtocol "tlsv1.2"
710 # CipherSuite "ciphers"
711 # </Publish>
712 # <Subscribe "name">
713 # Host "localhost"
714 # Port 1883
715 # ClientId "localhost"
716 # User "user"
717 # Password "secret"
718 # QoS 2
719 # Topic "collectd/#"
720 # CleanSession true
721 # </Subscribe>
722 #</Plugin>
724 #<Plugin mysql>
725 # <Database db_name>
726 # Host "database.serv.er"
727 # User "db_user"
728 # Password "secret"
729 # Database "db_name"
730 # MasterStats true
731 # ConnectTimeout 10
732 # InnodbStats true
733 # </Database>
734 #
735 # <Database db_name2>
736 # Alias "squeeze"
737 # Host "localhost"
738 # Socket "/var/run/mysql/mysqld.sock"
739 # SlaveStats true
740 # SlaveNotifications true
741 # </Database>
742 #</Plugin>
744 #<Plugin netapp>
745 # <Host "netapp1.example.com">
746 # Protocol "https"
747 # Address "10.0.0.1"
748 # Port 443
749 # User "username"
750 # Password "aef4Aebe"
751 # Interval 30
752 #
753 # <WAFL>
754 # Interval 30
755 # GetNameCache true
756 # GetDirCache true
757 # GetBufferCache true
758 # GetInodeCache true
759 # </WAFL>
760 #
761 # <Disks>
762 # Interval 30
763 # GetBusy true
764 # </Disks>
765 #
766 # <VolumePerf>
767 # Interval 30
768 # GetIO "volume0"
769 # IgnoreSelectedIO false
770 # GetOps "volume0"
771 # IgnoreSelectedOps false
772 # GetLatency "volume0"
773 # IgnoreSelectedLatency false
774 # </VolumePerf>
775 #
776 # <VolumeUsage>
777 # Interval 30
778 # GetCapacity "vol0"
779 # GetCapacity "vol1"
780 # IgnoreSelectedCapacity false
781 # GetSnapshot "vol1"
782 # GetSnapshot "vol3"
783 # IgnoreSelectedSnapshot false
784 # </VolumeUsage>
785 #
786 # <System>
787 # Interval 30
788 # GetCPULoad true
789 # GetInterfaces true
790 # GetDiskOps true
791 # GetDiskIO true
792 # </System>
793 # </Host>
794 #</Plugin>
796 #<Plugin netlink>
797 # Interface "All"
798 # VerboseInterface "All"
799 # QDisc "eth0" "pfifo_fast-1:0"
800 # Class "ppp0" "htb-1:10"
801 # Filter "ppp0" "u32-1:0"
802 # IgnoreSelected false
803 #</Plugin>
805 @LOAD_PLUGIN_NETWORK@<Plugin network>
806 # # client setup:
807 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
808 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
809 # SecurityLevel Encrypt
810 # Username "user"
811 # Password "secret"
812 # Interface "eth0"
813 # ResolveInterval 14400
814 @LOAD_PLUGIN_NETWORK@ </Server>
815 # TimeToLive 128
816 #
817 # # server setup:
818 # Listen "ff18::efc0:4a42" "25826"
819 # <Listen "239.192.74.66" "25826">
820 # SecurityLevel Sign
821 # AuthFile "/etc/collectd/passwd"
822 # Interface "eth0"
823 # </Listen>
824 # MaxPacketSize 1452
825 #
826 # # proxy setup (client and server as above):
827 # Forward true
828 #
829 # # statistics about the network plugin itself
830 # ReportStats false
831 #
832 # # "garbage collection"
833 # CacheFlush 1800
834 @LOAD_PLUGIN_NETWORK@</Plugin>
836 #<Plugin nginx>
837 # URL "http://localhost/status?auto"
838 # User "www-user"
839 # Password "secret"
840 # CACert "/etc/ssl/ca.crt"
841 #</Plugin>
843 #<Plugin notify_desktop>
844 # OkayTimeout 1000
845 # WarningTimeout 5000
846 # FailureTimeout 0
847 #</Plugin>
849 #<Plugin notify_email>
850 # SMTPServer "localhost"
851 # SMTPPort 25
852 # SMTPUser "my-username"
853 # SMTPPassword "my-password"
854 # From "collectd@main0server.com"
855 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
856 # Subject "Aaaaaa!! %s on %s!!!!!"
857 # Recipient "email1@domain1.net"
858 # Recipient "email2@domain2.com"
859 #</Plugin>
861 #<Plugin notify_nagios>
862 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
863 #</Plugin>
865 #<Plugin ntpd>
866 # Host "localhost"
867 # Port 123
868 # ReverseLookups false
869 # IncludeUnitID true
870 #</Plugin>
872 #<Plugin nut>
873 # UPS "upsname@hostname:port"
874 #</Plugin>
876 #<Plugin olsrd>
877 # Host "127.0.0.1"
878 # Port "2006"
879 # CollectLinks "Summary"
880 # CollectRoutes "Summary"
881 # CollectTopology "Summary"
882 #</Plugin>
884 #<Plugin onewire>
885 # Device "-s localhost:4304"
886 # Sensor "F10FCA000800"
887 # IgnoreSelected false
888 #</Plugin>
890 #<Plugin openldap>
891 # <Instance "localhost">
892 # URL "ldap://localhost:389"
893 # StartTLS false
894 # VerifyHost true
895 # CACert "/path/to/ca.crt"
896 # Timeout -1
897 # Version 3
898 # </Instance>
899 #</Plugin>
901 #<Plugin openvpn>
902 # StatusFile "/etc/openvpn/openvpn-status.log"
903 # ImprovedNamingSchema false
904 # CollectCompression true
905 # CollectIndividualUsers true
906 # CollectUserCount false
907 #</Plugin>
909 #<Plugin oracle>
910 # <Query "out_of_stock">
911 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
912 # <Result>
913 # Type "gauge"
914 # InstancesFrom "category"
915 # ValuesFrom "value"
916 # </Result>
917 # </Query>
918 # <Database "product_information">
919 # ConnectID "db01"
920 # Username "oracle"
921 # Password "secret"
922 # Query "out_of_stock"
923 # </Database>
924 #</Plugin>
926 #<Plugin perl>
927 # IncludeDir "/my/include/path"
928 # BaseName "Collectd::Plugins"
929 # EnableDebugger ""
930 # LoadPlugin Monitorus
931 # LoadPlugin OpenVZ
932 #
933 # <Plugin foo>
934 # Foo "Bar"
935 # Qux "Baz"
936 # </Plugin>
937 #</Plugin>
939 #<Plugin pinba>
940 # Address "::0"
941 # Port "30002"
942 # <View "name">
943 # Host "host name"
944 # Server "server name"
945 # Script "script name"
946 # </View>
947 #</Plugin>
949 #<Plugin ping>
950 # Host "host.foo.bar"
951 # Interval 1.0
952 # Timeout 0.9
953 # TTL 255
954 # SourceAddress "1.2.3.4"
955 # Device "eth0"
956 # MaxMissed -1
957 #</Plugin>
959 #<Plugin postgresql>
960 # <Query magic>
961 # Statement "SELECT magic FROM wizard WHERE host = $1;"
962 # Param hostname
963 # <Result>
964 # Type gauge
965 # InstancePrefix "magic"
966 # ValuesFrom magic
967 # </Result>
968 # </Query>
969 # <Query rt36_tickets>
970 # Statement "SELECT COUNT(type) AS count, type \
971 # FROM (SELECT CASE \
972 # WHEN resolved = 'epoch' THEN 'open' \
973 # ELSE 'resolved' END AS type \
974 # FROM tickets) type \
975 # GROUP BY type;"
976 # <Result>
977 # Type counter
978 # InstancePrefix "rt36_tickets"
979 # InstancesFrom "type"
980 # ValuesFrom "count"
981 # </Result>
982 # </Query>
983 # <Writer sqlstore>
984 # # See contrib/postgresql/collectd_insert.sql for details
985 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
986 # StoreRates true
987 # </Writer>
988 # <Database foo>
989 # Host "hostname"
990 # Port "5432"
991 # User "username"
992 # Password "secret"
993 # SSLMode "prefer"
994 # KRBSrvName "kerberos_service_name"
995 # Query magic
996 # </Database>
997 # <Database bar>
998 # Interval 60
999 # Service "service_name"
1000 # Query backend # predefined
1001 # Query rt36_tickets
1002 # </Database>
1003 # <Database qux>
1004 # Service "collectd_store"
1005 # Writer sqlstore
1006 # # see collectd.conf(5) for details
1007 # CommitInterval 30
1008 # </Database>
1009 #</Plugin>
1011 #<Plugin powerdns>
1012 # <Server "server_name">
1013 # Collect "latency"
1014 # Collect "udp-answers" "udp-queries"
1015 # Socket "/var/run/pdns.controlsocket"
1016 # </Server>
1017 # <Recursor "recursor_name">
1018 # Collect "questions"
1019 # Collect "cache-hits" "cache-misses"
1020 # Socket "/var/run/pdns_recursor.controlsocket"
1021 # </Recursor>
1022 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1023 #</Plugin>
1025 #<Plugin processes>
1026 # Process "name"
1027 #</Plugin>
1029 #<Plugin protocols>
1030 # Value "/^Tcp:/"
1031 # IgnoreSelected false
1032 #</Plugin>
1034 #<Plugin python>
1035 # ModulePath "/path/to/your/python/modules"
1036 # LogTraces true
1037 # Interactive true
1038 # Import "spam"
1039 #
1040 # <Module spam>
1041 # spam "wonderful" "lovely"
1042 # </Module>
1043 #</Plugin>
1045 #<Plugin redis>
1046 # <Node example>
1047 # Host "redis.example.com"
1048 # Port "6379"
1049 # Timeout 2000
1050 # </Node>
1051 #</Plugin>
1053 #<Plugin routeros>
1054 # <Router>
1055 # Host "router.example.com"
1056 # Port "8728"
1057 # User "admin"
1058 # Password "dozaiTh4"
1059 # CollectInterface true
1060 # CollectRegistrationTable true
1061 # CollectCPULoad true
1062 # CollectMemory true
1063 # CollectDF true
1064 # CollectDisk true
1065 # </Router>
1066 #</Plugin>
1068 #<Plugin rrdcached>
1069 # DaemonAddress "unix:/tmp/rrdcached.sock"
1070 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1071 # CreateFiles true
1072 # CreateFilesAsync false
1073 # CollectStatistics true
1074 #</Plugin>
1076 #<Plugin rrdtool>
1077 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1078 # CreateFilesAsync false
1079 # CacheTimeout 120
1080 # CacheFlush 900
1081 # WritesPerSecond 50
1082 #</Plugin>
1084 #<Plugin sensors>
1085 # SensorConfigFile "/etc/sensors.conf"
1086 # Sensor "it8712-isa-0290/temperature-temp1"
1087 # Sensor "it8712-isa-0290/fanspeed-fan3"
1088 # Sensor "it8712-isa-0290/voltage-in8"
1089 # IgnoreSelected false
1090 #</Plugin>
1092 #<Plugin sigrok>
1093 # LogLevel 3
1094 # <Device "AC Voltage">
1095 # Driver "fluke-dmm"
1096 # MinimumInterval 10
1097 # Conn "/dev/ttyUSB2"
1098 # </Device>
1099 # <Device "Sound Level">
1100 # Driver "cem-dt-885x"
1101 # Conn "/dev/ttyUSB1"
1102 # </Device>
1103 #</Plugin>
1105 #<Plugin smart>
1106 # Disk "/^[hs]d[a-f][0-9]?$/"
1107 # IgnoreSelected false
1108 #</Plugin>
1110 #<Plugin snmp>
1111 # <Data "powerplus_voltge_input">
1112 # Type "voltage"
1113 # Table false
1114 # Instance "input_line1"
1115 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1116 # </Data>
1117 # <Data "hr_users">
1118 # Type "users"
1119 # Table false
1120 # Instance ""
1121 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1122 # </Data>
1123 # <Data "std_traffic">
1124 # Type "if_octets"
1125 # Table true
1126 # Instance "IF-MIB::ifDescr"
1127 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1128 # </Data>
1129 #
1130 # <Host "some.switch.mydomain.org">
1131 # Address "192.168.0.2"
1132 # Version 1
1133 # Community "community_string"
1134 # Collect "std_traffic"
1135 # Interval 120
1136 # </Host>
1137 # <Host "some.server.mydomain.org">
1138 # Address "192.168.0.42"
1139 # Version 2
1140 # Community "another_string"
1141 # Collect "std_traffic" "hr_users"
1142 # </Host>
1143 # <Host "some.ups.mydomain.org">
1144 # Address "192.168.0.3"
1145 # Version 1
1146 # Community "more_communities"
1147 # Collect "powerplus_voltge_input"
1148 # Interval 300
1149 # </Host>
1150 #</Plugin>
1152 #<Plugin statsd>
1153 # Host "::"
1154 # Port "8125"
1155 # DeleteCounters false
1156 # DeleteTimers false
1157 # DeleteGauges false
1158 # DeleteSets false
1159 # CounterSum false
1160 # TimerPercentile 90.0
1161 # TimerPercentile 95.0
1162 # TimerPercentile 99.0
1163 # TimerLower false
1164 # TimerUpper false
1165 # TimerSum false
1166 # TimerCount false
1167 #</Plugin>
1169 #<Plugin swap>
1170 # ReportByDevice false
1171 # ReportBytes true
1172 # ValuesAbsolute true
1173 # ValuesPercentage false
1174 #</Plugin>
1176 #<Plugin table>
1177 # <Table "/proc/slabinfo">
1178 # Instance "slabinfo"
1179 # Separator " "
1180 # <Result>
1181 # Type gauge
1182 # InstancePrefix "active_objs"
1183 # InstancesFrom 0
1184 # ValuesFrom 1
1185 # </Result>
1186 # <Result>
1187 # Type gauge
1188 # InstancePrefix "objperslab"
1189 # InstancesFrom 0
1190 # ValuesFrom 4
1191 # </Result>
1192 # </Table>
1193 #</Plugin>
1195 #<Plugin tail>
1196 # <File "/var/log/exim4/mainlog">
1197 # Instance "exim"
1198 # Interval 60
1199 # <Match>
1200 # Regex "S=([1-9][0-9]*)"
1201 # DSType "CounterAdd"
1202 # Type "ipt_bytes"
1203 # Instance "total"
1204 # </Match>
1205 # <Match>
1206 # Regex "\\<R=local_user\\>"
1207 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1208 # DSType "CounterInc"
1209 # Type "counter"
1210 # Instance "local_user"
1211 # </Match>
1212 # </File>
1213 #</Plugin>
1215 #<Plugin tail_csv>
1216 # <Metric "dropped">
1217 # Type "percent"
1218 # Instance "dropped"
1219 # ValueFrom 1
1220 # </Metric>
1221 # <Metric "mbps">
1222 # Type "bytes"
1223 # Instance "wire-realtime"
1224 # ValueFrom 2
1225 # </Metric>
1226 # <Metric "alerts">
1227 # Type "alerts_per_second"
1228 # ValueFrom 3
1229 # </Metric>
1230 # <Metric "kpps">
1231 # Type "kpackets_wire_per_sec.realtime"
1232 # ValueFrom 4
1233 # </Metric>
1234 # <File "/var/log/snort/snort.stats">
1235 # Instance "snort-eth0"
1236 # Interval 600
1237 # Collect "dropped" "mbps" "alerts" "kpps"
1238 # TimeFrom 0
1239 # </File>
1240 #</Plugin>
1242 #<Plugin tcpconns>
1243 # ListeningPorts false
1244 # AllPortsSummary false
1245 # LocalPort "25"
1246 # RemotePort "25"
1247 #</Plugin>
1249 #<Plugin teamspeak2>
1250 # Host "127.0.0.1"
1251 # Port "51234"
1252 # Server "8767"
1253 #</Plugin>
1255 #<Plugin ted>
1256 # Device "/dev/ttyUSB0"
1257 # Retries 0
1258 #</Plugin>
1260 #<Plugin thermal>
1261 # ForceUseProcfs false
1262 # Device "THRM"
1263 # IgnoreSelected false
1264 #</Plugin>
1266 #<Plugin tokyotyrant>
1267 # Host "localhost"
1268 # Port "1978"
1269 #</Plugin>
1271 #<Plugin turbostat>
1272 ## None of the following option should be set manually
1273 ## This plugin automatically detect most optimal options
1274 ## Only set values here if:
1275 ## - The module asks you to
1276 ## - You want to disable the collection of some data
1277 ## - Your (Intel) CPU is not supported (yet) by the module
1278 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1279 ## In the last two cases, please open a bug request
1280 #
1281 # TCCActivationTemp "100"
1282 # CoreCstates "392"
1283 # PackageCstates "396"
1284 # SystemManagementInterrupt true
1285 # DigitalTemperatureSensor true
1286 # PackageThermalManagement true
1287 # RunningAveragePowerLimit "7"
1288 #</Plugin>
1290 #<Plugin unixsock>
1291 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1292 # SocketGroup "collectd"
1293 # SocketPerms "0660"
1294 # DeleteSocket false
1295 #</Plugin>
1297 #<Plugin uuid>
1298 # UUIDFile "/etc/uuid"
1299 #</Plugin>
1301 #<Plugin mic>
1302 # ShowCPU true
1303 # ShowCPUCores true
1304 # ShowMemory true
1305 # ShowTemperatures true
1306 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1307 ## then inverted with a IgnoreSelectedTemperature.
1308 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1309 # Temperature vddg
1310 # IgnoreSelectedTemperature true
1311 # ShowPower true
1312 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1313 ## then inverted with a IgnoreSelectedTemperature.
1314 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1315 # Power total1
1316 # IgnoreSelectedPower true
1317 #</Plugin>
1319 #<Plugin varnish>
1320 # This tag support an argument if you want to
1321 # monitor the local instance just use </Instance>
1322 # If you prefer defining another instance you can do
1323 # so by using <Instance "myinstance">
1324 # <Instance>
1325 # CollectBackend true
1326 # CollectBan false # Varnish 3 and above
1327 # CollectCache true
1328 # CollectConnections true
1329 # CollectDirectorDNS false # Varnish 3 only
1330 # CollectESI false
1331 # CollectFetch false
1332 # CollectHCB false
1333 # CollectObjects false
1334 # CollectPurge false # Varnish 2 only
1335 # CollectSession false
1336 # CollectSHM true
1337 # CollectSMA false # Varnish 2 only
1338 # CollectSMS false
1339 # CollectSM false # Varnish 2 only
1340 # CollectStruct false
1341 # CollectTotals false
1342 # CollectUptime false # Varnish 3 and above
1343 # CollectVCL false
1344 # CollectVSM false # Varnish 4 only
1345 # CollectWorkers false
1346 # </Instance>
1347 #</Plugin>
1349 #<Plugin virt>
1350 # Connection "xen:///"
1351 # RefreshInterval 60
1352 # Domain "name"
1353 # BlockDevice "name:device"
1354 # InterfaceDevice "name:device"
1355 # IgnoreSelected false
1356 # HostnameFormat name
1357 # InterfaceFormat name
1358 # PluginInstanceFormat name
1359 #</Plugin>
1361 #<Plugin vmem>
1362 # Verbose false
1363 #</Plugin>
1365 #<Plugin write_graphite>
1366 # <Node "example">
1367 # Host "localhost"
1368 # Port "2003"
1369 # Protocol "tcp"
1370 # ReconnectInterval 0
1371 # LogSendErrors true
1372 # Prefix "collectd"
1373 # Postfix "collectd"
1374 # StoreRates true
1375 # AlwaysAppendDS false
1376 # EscapeCharacter "_"
1377 # </Node>
1378 #</Plugin>
1380 #<Plugin write_http>
1381 # <Node "example">
1382 # URL "http://example.com/collectd-post"
1383 # User "collectd"
1384 # Password "weCh3ik0"
1385 # VerifyPeer true
1386 # VerifyHost true
1387 # CACert "/etc/ssl/ca.crt"
1388 # CAPath "/etc/ssl/certs/"
1389 # ClientKey "/etc/ssl/client.pem"
1390 # ClientCert "/etc/ssl/client.crt"
1391 # ClientKeyPass "secret"
1392 # Header "X-Custom-Header: custom_value"
1393 # SSLVersion "TLSv1"
1394 # Format "Command"
1395 # StoreRates false
1396 # BufferSize 4096
1397 # LowSpeedLimit 0
1398 # Timeout 0
1399 # </Node>
1400 #</Plugin>
1402 #<Plugin write_kafka>
1403 # Property "metadata.broker.list" "localhost:9092"
1404 # <Topic "collectd">
1405 # Format JSON
1406 # </Topic>
1407 #</Plugin>
1409 #<Plugin write_mongodb>
1410 # <Node "example">
1411 # Host "localhost"
1412 # Port "27017"
1413 # Timeout 1000
1414 # StoreRates false
1415 # Database "auth_db"
1416 # User "auth_user"
1417 # Password "auth_passwd"
1418 # </Node>
1419 #</Plugin>
1421 #<Plugin write_redis>
1422 # <Node "example">
1423 # Host "localhost"
1424 # Port "6379"
1425 # Timeout 1000
1426 # Prefix "collectd/"
1427 # </Node>
1428 #</Plugin>
1430 #<Plugin write_riemann>
1431 # <Node "example">
1432 # Host "localhost"
1433 # Port 5555
1434 # Protocol TCP
1435 # Batch true
1436 # BatchMaxSize 8192
1437 # StoreRates true
1438 # AlwaysAppendDS false
1439 # TTLFactor 2.0
1440 # Notifications true
1441 # CheckThresholds false
1442 # EventServicePrefix ""
1443 # </Node>
1444 # Tag "foobar"
1445 # Attribute "foo" "bar"
1446 #</Plugin>
1448 #<Plugin write_sensu>
1449 # <Node "example">
1450 # Host "localhost"
1451 # Port 3030
1452 # StoreRates true
1453 # AlwaysAppendDS false
1454 # Notifications true
1455 # Metrics true
1456 # EventServicePrefix ""
1457 # MetricHandler "influx"
1458 # MetricHandler "default"
1459 # NotificationHandler "flapjack"
1460 # NotificationHandler "howling_monkey"
1461 # </Node>
1462 # Tag "foobar"
1463 # Attribute "foo" "bar"
1464 #</Plugin>
1466 #<Plugin write_tsdb>
1467 # <Node>
1468 # Host "localhost"
1469 # Port "4242"
1470 # HostTags "status=production"
1471 # StoreRates false
1472 # AlwaysAppendDS false
1473 # </Node>
1474 #</Plugin>
1476 #<Plugin zookeeper>
1477 # Host "localhost"
1478 # Port "2181"
1479 #</Plugin>
1481 ##############################################################################
1482 # Filter configuration #
1483 #----------------------------------------------------------------------------#
1484 # The following configures collectd's filtering mechanism. Before changing #
1485 # anything in this section, please read the `FILTER CONFIGURATION' section #
1486 # in the collectd.conf(5) manual page. #
1487 ##############################################################################
1489 # Load required matches:
1490 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1491 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1492 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1493 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1494 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1496 # Load required targets:
1497 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1498 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1499 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1500 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1501 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1503 #----------------------------------------------------------------------------#
1504 # The following block demonstrates the default behavior if no filtering is #
1505 # configured at all: All values will be sent to all available write plugins. #
1506 #----------------------------------------------------------------------------#
1508 #<Chain "PostCache">
1509 # Target "write"
1510 #</Chain>
1512 ##############################################################################
1513 # Threshold configuration #
1514 #----------------------------------------------------------------------------#
1515 # The following outlines how to configure collectd's threshold checking #
1516 # plugin. The plugin and possible configuration options are documented in #
1517 # the collectd-threshold(5) manual page. #
1518 ##############################################################################
1520 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1521 #<Plugin threshold>
1522 # <Type "foo">
1523 # WarningMin 0.00
1524 # WarningMax 1000.00
1525 # FailureMin 0.00
1526 # FailureMax 1200.00
1527 # Invert false
1528 # Instance "bar"
1529 # </Type>
1530 #
1531 # <Plugin "interface">
1532 # Instance "eth0"
1533 # <Type "if_octets">
1534 # FailureMax 10000000
1535 # DataSource "rx"
1536 # </Type>
1537 # </Plugin>
1538 #
1539 # <Host "hostname">
1540 # <Type "cpu">
1541 # Instance "idle"
1542 # FailureMin 10
1543 # </Type>
1544 #
1545 # <Plugin "memory">
1546 # <Type "memory">
1547 # Instance "cached"
1548 # WarningMin 100000000
1549 # </Type>
1550 # </Plugin>
1551 #
1552 # <Type "load">
1553 # DataSource "midterm"
1554 # FailureMax 4
1555 # Hits 3
1556 # Hysteresis 3
1557 # </Type>
1558 # </Host>
1559 #</Plugin>