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