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