2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
7 ##############################################################################
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon. #
11 ##############################################################################
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 #----------------------------------------------------------------------------#
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the #
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: #
40 #----------------------------------------------------------------------------#
43 #MaxReadInterval 86400
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 ##############################################################################
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log #
57 # messages generated when loading or configuring other plugins can be #
59 ##############################################################################
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
66 # LogLevel @DEFAULT_LOG_LEVEL@
72 #<Plugin log_logstash>
73 # LogLevel @DEFAULT_LOG_LEVEL@
74 # File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
78 # LogLevel @DEFAULT_LOG_LEVEL@
81 ##############################################################################
82 # LoadPlugin section #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built #
85 # but are disabled by default. #
87 # Lines beginning with `##' belong to plugins which have not been built due #
88 # to missing dependencies or because they have been deactivated explicitly. #
89 ##############################################################################
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
103 #@BUILD_PLUGIN_CHRONY_TRUE@LoadPlugin chrony
104 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
105 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
106 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
107 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
108 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
109 @LOAD_PLUGIN_CSV@LoadPlugin csv
110 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
111 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
112 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
113 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
114 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
115 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
116 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
117 #@BUILD_PLUGIN_DPDKEVENTS_TRUE@LoadPlugin dpdkevents
118 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
119 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
120 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
121 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
122 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
123 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
124 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
125 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
126 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
127 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
128 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
129 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
130 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
131 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
132 #@BUILD_PLUGIN_INTEL_RDT_TRUE@LoadPlugin intel_rdt
133 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
134 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
135 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
136 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
137 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
138 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
139 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
140 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
141 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
142 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
143 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
144 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
145 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
146 #@BUILD_PLUGIN_MCELOG_TRUE@LoadPlugin mcelog
147 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
148 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
149 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
150 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
151 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
152 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
153 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
154 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
155 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
156 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
157 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
158 @LOAD_PLUGIN_NETWORK@LoadPlugin network
159 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
160 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
161 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
162 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
163 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
164 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
165 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
166 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
167 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
168 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
169 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
170 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
171 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
172 #@BUILD_PLUGIN_OVS_EVENTS_TRUE@LoadPlugin ovs_events
173 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
174 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
175 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
176 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
177 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
178 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
179 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
180 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
181 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
182 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
183 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
184 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
185 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
186 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
187 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
188 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
189 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
190 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
191 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
192 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
193 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
194 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
195 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
196 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
197 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
198 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
199 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
200 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
201 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
202 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
203 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
204 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
205 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
206 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
207 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
208 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
209 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
210 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
211 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
212 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
213 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
214 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
215 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
216 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
217 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
218 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
219 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
220 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
221 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
222 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
223 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
224 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
225 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
227 ##############################################################################
228 # Plugin configuration #
229 #----------------------------------------------------------------------------#
230 # In this section configuration stubs for each plugin are provided. A desc- #
231 # ription of those options is available in the collectd.conf(5) manual page. #
232 ##############################################################################
234 #<Plugin aggregation>
236 # #Host "unspecified"
238 # #PluginInstance "unspecified"
240 # #TypeInstance "unspecified"
243 # GroupBy "TypeInstance"
247 # CalculateAverage true
248 # CalculateMinimum false
249 # CalculateMaximum false
250 # CalculateStddev false
261 # Exchange "amq.fanout"
262 # RoutingKey "collectd"
265 # ConnectionRetryDelay 0
271 # URL "http://localhost/status?auto"
274 # CACert "/etc/ssl/ca.crt"
282 # PersistentConnection true
290 # URL "http://localhost/ascent/status/"
293 # CACert "/etc/ssl/ca.crt"
296 #<Plugin "barometer">
297 # Device "/dev/i2c-0";
300 # TemperatureOffset 0.0
303 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
307 # ValuesPercentage false
308 # ReportDegraded false
313 # URL "http://localhost:8053/"
319 # ZoneMaintStats true
320 # ResolverStats false
328 # Zone "127.in-addr.arpa/IN"
333 # LongRunAvgLatency false
334 # ConvertSpecialMetricTypes true
336 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
339 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
342 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
345 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
357 # IgnoreSelected false
363 # ValuesPercentage false
367 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
372 # <Page "stock_quotes">
373 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
379 # CACert "/path/to/ca.crt"
380 # Header "X-Custom-Header: foobar"
383 # MeasureResponseTime false
384 # MeasureResponseCode false
386 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
387 # DSType "GaugeAverage"
395 # <URL "http://localhost:80/test.json">
396 # Instance "test_http_json"
397 # <Key "testArray/0">
401 # <Key "testArray/1">
405 # <Key "testArrayInbetween/0/blarg">
409 # <Key "testArrayInbetween/1/blub">
413 # <Key "testDirectHit">
417 # <Key "testSubLevelHit/oneMoreLevel">
422 # put this as test.json on your webserver, the above config demonstraces
426 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
428 # "testSubLevelHit":{"oneMoreLevel":6}
430 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
431 # <URL "http://localhost:5984/_stats">
433 # <Key "httpd/requests/count">
434 # Type "http_requests"
437 # <Key "httpd_request_methods/*/count">
438 # Type "http_request_methods"
441 # <Key "httpd_status_codes/*/count">
442 # Type "http_response_codes"
445 ## Database status metrics:
446 # <URL "http://localhost:5984/_all_dbs">
448 # <Key "*/doc_count">
451 # <Key "*/doc_del_count">
454 # <Key "*/disk_size">
461 # <URL "http://localhost/stats.xml">
463 # Instance "some_instance"
465 # Password "thaiNg0I"
469 # CACert "/path/to/ca.crt"
470 # Header "X-Custom-Header: foobar"
473 # <XPath "table[@id=\"magic_level\"]/tr">
475 # #InstancePrefix "prefix-"
476 # InstanceFrom "td[1]"
477 # ValuesFrom "td[2]/span[@class=\"level\"]"
483 # <Query "num_of_customers">
484 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
487 # InstancesFrom "c_key"
488 # ValuesFrom "c_value"
491 # <Database "customers_db">
493 # DriverOption "host" "localhost"
494 # DriverOption "username" "collectd"
495 # DriverOption "password" "AeXohy0O"
496 # DriverOption "dbname" "custdb0"
497 # #SelectDB "custdb0"
498 # Query "num_of_customers"
506 # Device "192.168.0.2:/mnt/nfs"
509 # IgnoreSelected false
510 # ReportByDevice false
512 # ValuesAbsolute true
513 # ValuesPercentage false
517 # Disk "/^[hs]d[a-f][0-9]?$/"
518 # IgnoreSelected false
520 # UdevNameAttr "DEVNAME"
525 # IgnoreSource "192.168.0.1"
526 # SelectNumericQueryTypes true
529 #<Plugin "dpdkevents">
533 # ProcessType "secondary"
536 # <Event "link_status">
537 # SendEventsOnUpdate true
538 # EnabledPortMask 0xffff
539 # PortName "interface1"
540 # PortName "interface2"
541 # SendNotification false
543 # <Event "keep_alive">
544 # SendEventsOnUpdate true
546 # KeepAliveShmName "/dpdk_keepalive_shm_name"
547 # SendNotification false
555 # ProcessType "secondary"
558 # EnabledPortMask 0xffff
559 # PortName "interface1"
560 # PortName "interface2"
564 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
565 # SocketGroup "collectd"
572 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
573 # Map "multicast" "if_multicast"
578 # Exec "user:group" "/path/to/exec"
579 # NotificationExec "user:group" "/path/to/exec"
583 # ValuesAbsolute true
584 # ValuesPercentage false
588 # <Directory "/path/to/dir">
594 # IncludeHidden false
599 # MCReceiveFrom "239.2.11.71" "8649"
600 # <Metric "swap_total">
602 # TypeInstance "total"
605 # <Metric "swap_free">
607 # TypeInstance "free"
620 # <Server "example.com" "50051">
622 # SSLCACertificateFile "/path/to/root.pem"
623 # SSLCertificateFile "/path/to/server.pem"
624 # SSLCertificateKeyFile "/path/to/server.key"
626 # <Listen "0.0.0.0" "50051">
628 # SSLCACertificateFile "/path/to/root.pem"
629 # SSLCertificateFile "/path/to/client.pem"
630 # SSLCertificateKeyFile "/path/to/client.key"
640 # ReportPerNodeHP true
644 # ValuesPercentage false
647 #<Plugin "intel_rdt">
653 # IgnoreSelected false
654 # ReportInactive true
659 # Sensor "some_sensor"
660 # Sensor "another_one"
661 # IgnoreSelected false
662 # NotifySensorAdd false
663 # NotifySensorRemove true
664 # NotifySensorNotPresent false
676 # IgnoreSelected true
680 # JVMArg "-verbose:jni"
681 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
683 # LoadPlugin "org.collectd.java.Foobar"
684 # <Plugin "org.collectd.java.Foobar">
685 # # To be parsed by the plugin
690 # ReportRelative true
695 # ReportBySerial false
699 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
700 # Script "script1.lua"
701 # Script "script2.lua"
706 # IgnoreSelected false
709 # WatchAdd "node_octets"
710 # WatchAdd "node_rssi"
711 # WatchAdd "is_rx_acl"
712 # WatchAdd "is_scan_active"
721 # McelogClientSocket "/var/run/mcelog-client"
722 # McelogLogfile "/var/log/mcelog"
727 # IgnoreSelected false
731 # <Page "plugin_instance">
735 # Regex "(\\d+) bytes sent"
736 # ExcludeRegex "<lines to be excluded>"
739 # Instance "type_instance"
746 # #Host "memcache.example.com"
747 # Address "127.0.0.1"
753 # ValuesAbsolute true
754 # ValuesPercentage false
760 # RegisterCmd ReadHolding
772 # Instance "foobar" # optional
773 # Collect "data_name"
782 # ClientId "localhost"
789 # CACert "/etc/ssl/ca.crt"
790 # CertificateFile "/etc/ssl/client.crt"
791 # CertificateKeyFile "/etc/ssl/client.pem"
792 # TLSProtocol "tlsv1.2"
793 # CipherSuite "ciphers"
798 # ClientId "localhost"
809 # Host "database.serv.er"
813 # SSLKey "/path/to/key.pem"
814 # SSLCert "/path/to/cert.pem"
815 # SSLCA "/path/to/ca.pem"
816 # SSLCAPath "/path/to/cas/"
817 # SSLCipher "DHE-RSA-AES256-SHA"
823 # <Database db_name2>
826 # Socket "/var/run/mysql/mysqld.sock"
828 # SlaveNotifications true
833 # Socket "/var/run/mysql/mysqld.sock"
839 # <Host "netapp1.example.com">
844 # Password "aef4Aebe"
851 # GetBufferCache true
863 # IgnoreSelectedIO false
865 # IgnoreSelectedOps false
866 # GetLatency "volume0"
867 # IgnoreSelectedLatency false
874 # IgnoreSelectedCapacity false
877 # IgnoreSelectedSnapshot false
892 # VerboseInterface "All"
893 # QDisc "eth0" "pfifo_fast-1:0"
894 # Class "ppp0" "htb-1:10"
895 # Filter "ppp0" "u32-1:0"
896 # IgnoreSelected false
899 @LOAD_PLUGIN_NETWORK@<Plugin network>
901 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
902 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
903 # SecurityLevel Encrypt
907 # ResolveInterval 14400
908 @LOAD_PLUGIN_NETWORK@ </Server>
912 # Listen "ff18::efc0:4a42" "25826"
913 # <Listen "239.192.74.66" "25826">
915 # AuthFile "/etc/collectd/passwd"
920 # # proxy setup (client and server as above):
923 # # statistics about the network plugin itself
926 # # "garbage collection"
928 @LOAD_PLUGIN_NETWORK@</Plugin>
931 # URL "http://localhost/status?auto"
934 # CACert "/etc/ssl/ca.crt"
937 #<Plugin notify_desktop>
939 # WarningTimeout 5000
943 #<Plugin notify_email>
944 # SMTPServer "localhost"
946 # SMTPUser "my-username"
947 # SMTPPassword "my-password"
948 # From "collectd@main0server.com"
949 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
950 # Subject "Aaaaaa!! %s on %s!!!!!"
951 # Recipient "email1@domain1.net"
952 # Recipient "email2@domain2.com"
955 #<Plugin notify_nagios>
956 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
962 # ReverseLookups false
967 # UPS "upsname@hostname:port"
973 # CollectLinks "Summary"
974 # CollectRoutes "Summary"
975 # CollectTopology "Summary"
979 # Device "-s localhost:4304"
980 # Sensor "F10FCA000800"
981 # IgnoreSelected false
985 # <Instance "localhost">
986 # URL "ldap://localhost:389"
989 # CACert "/path/to/ca.crt"
996 # StatusFile "/etc/openvpn/openvpn-status.log"
997 # ImprovedNamingSchema false
998 # CollectCompression true
999 # CollectIndividualUsers true
1000 # CollectUserCount false
1004 # <Query "out_of_stock">
1005 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1008 # InstancesFrom "category"
1009 # ValuesFrom "value"
1012 # <Database "product_information">
1016 # Query "out_of_stock"
1020 #<Plugin ovs_events>
1022 # Address "127.0.0.1"
1023 # Socket "/var/run/openvswitch/db.sock"
1024 # Interfaces "br0" "veth0"
1025 # SendNotification false
1029 # IncludeDir "/my/include/path"
1030 # BaseName "Collectd::Plugins"
1032 # LoadPlugin Monitorus
1046 # Server "server name"
1047 # Script "script name"
1052 # Host "host.foo.bar"
1056 # SourceAddress "1.2.3.4"
1061 #<Plugin postgresql>
1063 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1067 # InstancePrefix "magic"
1071 # <Query rt36_tickets>
1072 # Statement "SELECT COUNT(type) AS count, type \
1073 # FROM (SELECT CASE \
1074 # WHEN resolved = 'epoch' THEN 'open' \
1075 # ELSE 'resolved' END AS type \
1076 # FROM tickets) type \
1080 # InstancePrefix "rt36_tickets"
1081 # InstancesFrom "type"
1082 # ValuesFrom "count"
1086 # # See contrib/postgresql/collectd_insert.sql for details
1087 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1096 # KRBSrvName "kerberos_service_name"
1101 # Service "service_name"
1102 # Query backend # predefined
1103 # Query rt36_tickets
1106 # Service "collectd_store"
1108 # # see collectd.conf(5) for details
1114 # <Server "server_name">
1116 # Collect "udp-answers" "udp-queries"
1117 # Socket "/var/run/pdns.controlsocket"
1119 # <Recursor "recursor_name">
1120 # Collect "questions"
1121 # Collect "cache-hits" "cache-misses"
1122 # Socket "/var/run/pdns_recursor.controlsocket"
1124 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1133 # IgnoreSelected false
1137 # ModulePath "/path/to/your/python/modules"
1143 # spam "wonderful" "lovely"
1149 # Host "redis.example.com"
1157 # Host "router.example.com"
1160 # Password "dozaiTh4"
1161 # CollectInterface true
1162 # CollectRegistrationTable true
1163 # CollectCPULoad true
1164 # CollectMemory true
1171 # DaemonAddress "unix:/tmp/rrdcached.sock"
1172 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1174 # CreateFilesAsync false
1175 # CollectStatistics true
1179 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1180 # CreateFilesAsync false
1183 # WritesPerSecond 50
1187 # SensorConfigFile "/etc/sensors.conf"
1188 # Sensor "it8712-isa-0290/temperature-temp1"
1189 # Sensor "it8712-isa-0290/fanspeed-fan3"
1190 # Sensor "it8712-isa-0290/voltage-in8"
1191 # IgnoreSelected false
1196 # <Device "AC Voltage">
1197 # Driver "fluke-dmm"
1198 # MinimumInterval 10
1199 # Conn "/dev/ttyUSB2"
1201 # <Device "Sound Level">
1202 # Driver "cem-dt-885x"
1203 # Conn "/dev/ttyUSB1"
1208 # Disk "/^[hs]d[a-f][0-9]?$/"
1209 # IgnoreSelected false
1213 # <Data "powerplus_voltge_input">
1216 # Instance "input_line1"
1217 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1223 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1225 # <Data "std_traffic">
1228 # Instance "IF-MIB::ifDescr"
1229 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1232 # <Host "some.switch.mydomain.org">
1233 # Address "192.168.0.2"
1235 # Community "community_string"
1236 # Collect "std_traffic"
1239 # <Host "some.server.mydomain.org">
1240 # Address "192.168.0.42"
1242 # Community "another_string"
1243 # Collect "std_traffic" "hr_users"
1245 # <Host "some.ups.mydomain.org">
1246 # Address "192.168.0.3"
1248 # Community "more_communities"
1249 # Collect "powerplus_voltge_input"
1257 # DeleteCounters false
1258 # DeleteTimers false
1259 # DeleteGauges false
1262 # TimerPercentile 90.0
1263 # TimerPercentile 95.0
1264 # TimerPercentile 99.0
1272 # ReportByDevice false
1274 # ValuesAbsolute true
1275 # ValuesPercentage false
1279 # <Table "/proc/slabinfo">
1280 # Instance "slabinfo"
1284 # InstancePrefix "active_objs"
1290 # InstancePrefix "objperslab"
1298 # <File "/var/log/exim4/mainlog">
1302 # Regex "S=([1-9][0-9]*)"
1303 # DSType "CounterAdd"
1308 # Regex "\\<R=local_user\\>"
1309 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1310 # DSType "CounterInc"
1312 # Instance "local_user"
1315 # <File "/var/log/nginx/apache-time.log">
1316 # #Use the following log format in nginx:
1317 # #log_format response_time '[$host] "$upstream_response_time" ...'
1320 # Regex "^\\S+ \"([0-9.]+)\""
1321 # <DSType Distribution>
1322 # Percentile 80 # -> latency-foo-80
1323 # Percentile 95 # -> latency-foo-95
1324 # Percentile 99 # -> latency-foo-99
1325 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1326 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1327 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1328 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1329 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1330 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1339 # <Metric "dropped">
1341 # Instance "dropped"
1346 # Instance "wire-realtime"
1350 # Type "alerts_per_second"
1354 # Type "kpackets_wire_per_sec.realtime"
1357 # <File "/var/log/snort/snort.stats">
1358 # Instance "snort-eth0"
1360 # Collect "dropped" "mbps" "alerts" "kpps"
1366 # ListeningPorts false
1367 # AllPortsSummary false
1372 #<Plugin teamspeak2>
1379 # Device "/dev/ttyUSB0"
1384 # ForceUseProcfs false
1386 # IgnoreSelected false
1389 #<Plugin tokyotyrant>
1395 ## None of the following option should be set manually
1396 ## This plugin automatically detect most optimal options
1397 ## Only set values here if:
1398 ## - The module asks you to
1399 ## - You want to disable the collection of some data
1400 ## - Your (Intel) CPU is not supported (yet) by the module
1401 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1402 ## In the last two cases, please open a bug request
1404 # TCCActivationTemp "100"
1406 # PackageCstates "396"
1407 # SystemManagementInterrupt true
1408 # DigitalTemperatureSensor true
1409 # PackageThermalManagement true
1410 # RunningAveragePowerLimit "7"
1414 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1415 # SocketGroup "collectd"
1416 # SocketPerms "0660"
1417 # DeleteSocket false
1421 # UUIDFile "/etc/uuid"
1428 # ShowTemperatures true
1429 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1430 ## then inverted with a IgnoreSelectedTemperature.
1431 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1433 # IgnoreSelectedTemperature true
1435 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1436 ## then inverted with a IgnoreSelectedTemperature.
1437 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1439 # IgnoreSelectedPower true
1443 # This tag support an argument if you want to
1444 # monitor the local instance just use </Instance>
1445 # If you prefer defining another instance you can do
1446 # so by using <Instance "myinstance">
1448 # CollectBackend true
1449 # CollectBan false # Varnish 3 and above
1451 # CollectConnections true
1452 # CollectDirectorDNS false # Varnish 3 only
1454 # CollectFetch false
1456 # CollectObjects false
1457 # CollectPurge false # Varnish 2 only
1458 # CollectSession false
1460 # CollectSMA false # Varnish 2 only
1462 # CollectSM false # Varnish 2 only
1463 # CollectStruct false
1464 # CollectTotals false
1465 # CollectUptime false # Varnish 3 and above
1467 # CollectVSM false # Varnish 4 only
1468 # CollectWorkers false
1473 # Connection "xen:///"
1474 # RefreshInterval 60
1476 # BlockDevice "name:device"
1477 # BlockDeviceFormat target
1478 # BlockDeviceFormatBasename false
1479 # InterfaceDevice "name:device"
1480 # IgnoreSelected false
1481 # HostnameFormat name
1482 # InterfaceFormat name
1483 # PluginInstanceFormat name
1491 #<Plugin write_graphite>
1496 # ReconnectInterval 0
1497 # LogSendErrors true
1499 # Postfix "collectd"
1501 # AlwaysAppendDS false
1502 # EscapeCharacter "_"
1503 # SeparateInstances false
1504 # PreserveSeparator false
1505 # DropDuplicateFields false
1509 #<Plugin write_http>
1511 # URL "http://example.com/collectd-post"
1513 # Password "weCh3ik0"
1516 # CACert "/etc/ssl/ca.crt"
1517 # CAPath "/etc/ssl/certs/"
1518 # ClientKey "/etc/ssl/client.pem"
1519 # ClientCert "/etc/ssl/client.crt"
1520 # ClientKeyPass "secret"
1521 # Header "X-Custom-Header: custom_value"
1522 # SSLVersion "TLSv1"
1525 # Notifications false
1533 #<Plugin write_kafka>
1534 # Property "metadata.broker.list" "localhost:9092"
1535 # <Topic "collectd">
1540 #<Plugin write_mongodb>
1546 # Database "auth_db"
1548 # Password "auth_passwd"
1552 #<Plugin write_prometheus>
1556 #<Plugin write_redis>
1561 # Prefix "collectd/"
1565 #<Plugin write_riemann>
1573 # AlwaysAppendDS false
1575 # Notifications true
1576 # CheckThresholds false
1577 # EventServicePrefix ""
1580 # Attribute "foo" "bar"
1583 #<Plugin write_sensu>
1588 # AlwaysAppendDS false
1589 # Notifications true
1591 # EventServicePrefix ""
1592 # MetricHandler "influx"
1593 # MetricHandler "default"
1594 # NotificationHandler "flapjack"
1595 # NotificationHandler "howling_monkey"
1598 # Attribute "foo" "bar"
1601 #<Plugin write_tsdb>
1605 # HostTags "status=production"
1607 # AlwaysAppendDS false
1616 ##############################################################################
1617 # Filter configuration #
1618 #----------------------------------------------------------------------------#
1619 # The following configures collectd's filtering mechanism. Before changing #
1620 # anything in this section, please read the `FILTER CONFIGURATION' section #
1621 # in the collectd.conf(5) manual page. #
1622 ##############################################################################
1624 # Load required matches:
1625 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1626 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1627 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1628 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1629 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1631 # Load required targets:
1632 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1633 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1634 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1635 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1636 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1638 #----------------------------------------------------------------------------#
1639 # The following block demonstrates the default behavior if no filtering is #
1640 # configured at all: All values will be sent to all available write plugins. #
1641 #----------------------------------------------------------------------------#
1643 #<Chain "PostCache">
1647 ##############################################################################
1648 # Threshold configuration #
1649 #----------------------------------------------------------------------------#
1650 # The following outlines how to configure collectd's threshold checking #
1651 # plugin. The plugin and possible configuration options are documented in #
1652 # the collectd-threshold(5) manual page. #
1653 ##############################################################################
1655 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1659 # WarningMax 1000.00
1661 # FailureMax 1200.00
1666 # <Plugin "interface">
1668 # <Type "if_octets">
1669 # FailureMax 10000000
1683 # WarningMin 100000000
1688 # DataSource "midterm"