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