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