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_AMQP1_TRUE@LoadPlugin amqp1
94 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
95 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
96 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
97 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
98 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
99 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
100 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
101 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
102 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
103 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
104 #@BUILD_PLUGIN_CHRONY_TRUE@LoadPlugin chrony
105 #@BUILD_PLUGIN_CONNECTIVITY_TRUE@LoadPlugin connectivity
106 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
107 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
108 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
109 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
110 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
111 @LOAD_PLUGIN_CSV@LoadPlugin csv
112 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
113 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
114 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
115 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
116 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
117 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
118 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
119 #@BUILD_PLUGIN_DPDKEVENTS_TRUE@LoadPlugin dpdkevents
120 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
121 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
122 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
123 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
124 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
125 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
126 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
127 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
128 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
129 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
130 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
131 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
132 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
133 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
134 #@BUILD_PLUGIN_INTEL_PMU_TRUE@LoadPlugin intel_pmu
135 #@BUILD_PLUGIN_INTEL_RDT_TRUE@LoadPlugin intel_rdt
136 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
137 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
138 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
139 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
140 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
141 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
142 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
143 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
144 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
145 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
146 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
147 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
148 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
149 #@BUILD_PLUGIN_MCELOG_TRUE@LoadPlugin mcelog
150 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
151 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
152 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
153 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
154 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
155 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
156 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
157 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
158 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
159 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
160 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
161 @LOAD_PLUGIN_NETWORK@LoadPlugin network
162 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
163 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
164 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
165 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
166 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
167 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
168 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
169 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
170 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
171 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
172 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
173 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
174 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
175 #@BUILD_PLUGIN_OVS_EVENTS_TRUE@LoadPlugin ovs_events
176 #@BUILD_PLUGIN_OVS_STATS_TRUE@LoadPlugin ovs_stats
177 #@BUILD_PLUGIN_PCIE_ERRORS_TRUE@LoadPlugin pcie_errors
178 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
179 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
180 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
181 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
182 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
183 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
184 #@BUILD_PLUGIN_PROCEVENT_TRUE@LoadPlugin procevent
185 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
186 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
187 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
188 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
189 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
190 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
191 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
192 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
193 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
194 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
195 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
196 #@BUILD_PLUGIN_SNMP_AGENT_TRUE@LoadPlugin snmp_agent
197 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
198 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
199 #@BUILD_PLUGIN_SYSEVENT_TRUE@LoadPlugin sysevent
200 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
201 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
202 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
203 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
204 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
205 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
206 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
207 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
208 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
209 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
210 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
211 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
212 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
213 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
214 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
215 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
216 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
217 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
218 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
219 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
220 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
221 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
222 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
223 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
224 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
225 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
226 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
227 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
228 #@BUILD_PLUGIN_WRITE_STACKDRIVER_TRUE@LoadPlugin write_stackdriver
229 #@BUILD_PLUGIN_WRITE_SYSLOG_TRUE@LoadPlugin write_syslog
230 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
231 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
232 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
233 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
234 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
235 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
237 ##############################################################################
238 # Plugin configuration #
239 #----------------------------------------------------------------------------#
240 # In this section configuration stubs for each plugin are provided. A desc- #
241 # ription of those options is available in the collectd.conf(5) manual page. #
242 ##############################################################################
244 #<Plugin aggregation>
246 # #Host "unspecified"
248 # #PluginInstance "unspecified"
250 # #TypeInstance "unspecified"
253 # GroupBy "TypeInstance"
257 # CalculateAverage true
258 # CalculateMinimum false
259 # CalculateMaximum false
260 # CalculateStddev false
271 # Exchange "amq.fanout"
272 # RoutingKey "collectd"
275 # ConnectionRetryDelay 0
291 # <Instance "notify">
295 # <Instance "telemetry">
304 # URL "http://localhost/status?auto"
307 # CACert "/etc/ssl/ca.crt"
315 # PersistentConnection true
323 # URL "http://localhost/ascent/status/"
326 # CACert "/etc/ssl/ca.crt"
329 #<Plugin "barometer">
330 # Device "/dev/i2c-0";
333 # TemperatureOffset 0.0
336 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
340 # ValuesPercentage false
341 # ReportDegraded false
346 # URL "http://localhost:8053/"
352 # ZoneMaintStats true
353 # ResolverStats false
361 # Zone "127.in-addr.arpa/IN"
366 # LongRunAvgLatency false
367 # ConvertSpecialMetricTypes true
369 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
372 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
375 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
378 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
388 #<Plugin connectivity>
394 # IgnoreSelected false
400 # ValuesPercentage false
402 # ReportGuestState false
403 # SubtractGuestState true
407 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
412 # <Page "stock_quotes">
413 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
414 # AddressFamily "any"
420 # CACert "/path/to/ca.crt"
421 # Header "X-Custom-Header: foobar"
424 # MeasureResponseTime false
425 # MeasureResponseCode false
427 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
428 # DSType "GaugeAverage"
436 # <URL "http://localhost:80/test.json">
437 # AddressFamily "any"
438 # Instance "test_http_json"
439 # <Key "testArray/0">
443 # <Key "testArray/1">
447 # <Key "testArrayInbetween/0/blarg">
451 # <Key "testArrayInbetween/1/blub">
455 # <Key "testDirectHit">
459 # <Key "testSubLevelHit/oneMoreLevel">
464 # put this as test.json on your webserver, the above config demonstraces
468 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
470 # "testSubLevelHit":{"oneMoreLevel":6}
472 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
473 # <URL "http://localhost:5984/_stats">
474 # AddressFamily "ipv4"
476 # <Key "httpd/requests/count">
477 # Type "http_requests"
480 # <Key "httpd_request_methods/*/count">
481 # Type "http_request_methods"
484 # <Key "httpd_status_codes/*/count">
485 # Type "http_response_codes"
488 ## Database status metrics:
489 # <URL "http://localhost:5984/_all_dbs">
490 # AddressFamily "ipv6"
492 # <Key "*/doc_count">
495 # <Key "*/doc_del_count">
498 # <Key "*/disk_size">
505 # <URL "http://localhost/stats.xml">
506 # AddressFamily "any"
509 # Instance "some_instance"
511 # Password "thaiNg0I"
515 # CACert "/path/to/ca.crt"
516 # Header "X-Custom-Header: foobar"
519 # <XPath "table[@id=\"magic_level\"]/tr">
521 # #InstancePrefix "prefix-"
522 # InstanceFrom "td[1]"
523 # #PluginInstanceFrom "td[1]"
524 # ValuesFrom "td[2]/span[@class=\"level\"]"
530 # <Query "num_of_customers">
531 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
534 # InstancesFrom "c_key"
535 # ValuesFrom "c_value"
538 # <Database "customers_db">
539 # #Plugin "mycompany"
541 # DriverOption "host" "localhost"
542 # DriverOption "username" "collectd"
543 # DriverOption "password" "AeXohy0O"
544 # DriverOption "dbname" "custdb0"
545 # #SelectDB "custdb0"
546 # Query "num_of_customers"
554 # Device "192.168.0.2:/mnt/nfs"
557 # IgnoreSelected false
558 # ReportByDevice false
560 # ValuesAbsolute true
561 # ValuesPercentage false
565 # Disk "/^[hs]d[a-f][0-9]?$/"
566 # IgnoreSelected false
568 # UdevNameAttr "DEVNAME"
573 # IgnoreSource "192.168.0.1"
574 # SelectNumericQueryTypes true
577 #<Plugin "dpdkevents">
583 # <Event "link_status">
584 # SendEventsOnUpdate true
585 # EnabledPortMask 0xffff
586 # PortName "interface1"
587 # PortName "interface2"
588 # SendNotification false
590 # <Event "keep_alive">
591 # SendEventsOnUpdate true
593 # KeepAliveShmName "/dpdk_keepalive_shm_name"
594 # SendNotification false
604 # RteDriverLibPath "/usr/lib/dpdk-pmd"
606 # SharedMemObj "dpdk_collectd_stats_0"
607 # EnabledPortMask 0xffff
608 # PortName "interface1"
609 # PortName "interface2"
613 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
614 # SocketGroup "collectd"
621 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
622 # Map "multicast" "if_multicast"
627 # Exec "user:group" "/path/to/exec"
628 # NotificationExec "user:group" "/path/to/exec"
632 # ValuesAbsolute true
633 # ValuesPercentage false
637 # <Directory "/path/to/dir">
644 # IncludeHidden false
646 # #FilesSizeType "bytes"
647 # #FilesCountType "files"
648 # #TypeInstance "instance"
653 # MCReceiveFrom "239.2.11.71" "8649"
654 # <Metric "swap_total">
656 # TypeInstance "total"
659 # <Metric "swap_free">
661 # TypeInstance "free"
676 # IgnoreSelected false
680 # <Server "example.com" "50051">
682 # SSLCACertificateFile "/path/to/root.pem"
683 # SSLCertificateFile "/path/to/server.pem"
684 # SSLCertificateKeyFile "/path/to/server.key"
686 # <Listen "0.0.0.0" "50051">
688 # SSLCACertificateFile "/path/to/root.pem"
689 # SSLCertificateFile "/path/to/client.pem"
690 # SSLCertificateKeyFile "/path/to/client.key"
701 # ReportPerNodeHP true
705 # ValuesPercentage false
709 # ReportHardwareCacheEvents true
710 # ReportKernelPMUEvents true
711 # ReportSoftwareEvents true
712 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
713 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
717 #<Plugin "intel_rdt">
724 # IgnoreSelected false
725 # ReportInactive true
731 # Sensor "some_sensor"
732 # Sensor "another_one"
733 # IgnoreSelected false
734 # NotifySensorAdd false
735 # NotifySensorRemove true
736 # NotifySensorNotPresent false
737 # NotifyIPMIConnectionState false
739 # SELSensor "some_sensor"
740 # SELSensor "another_one"
741 # SELIgnoreSelected false
742 # SELClearEvent false
744 # <Instance "remote">
745 # Host "server.example.com"
750 # Sensor "some_sensor"
751 # Sensor "another_one"
752 # IgnoreSelected false
753 # NotifySensorAdd false
754 # NotifySensorRemove true
755 # NotifySensorNotPresent false
756 # NotifyIPMIConnectionState false
758 # SELSensor "some_sensor"
759 # SELSensor "another_one"
760 # SELIgnoreSelected false
761 # SELClearEvent false
774 # IgnoreSelected true
778 # JVMArg "-verbose:jni"
779 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
781 # LoadPlugin "org.collectd.java.Foobar"
782 # <Plugin "org.collectd.java.Foobar">
783 # # To be parsed by the plugin
788 # ReportRelative true
793 # ReportBySerial false
797 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
798 # Script "script1.lua"
799 # Script "script2.lua"
804 # IgnoreSelected false
807 # WatchAdd "node_octets"
808 # WatchAdd "node_rssi"
809 # WatchAdd "is_rx_acl"
810 # WatchAdd "is_scan_active"
820 # McelogClientSocket "/var/run/mcelog-client"
821 # PersistentNotification false
823 # McelogLogfile "/var/log/mcelog"
828 # IgnoreSelected false
832 # <Page "plugin_instance">
836 # Regex "(\\d+) bytes sent"
837 # ExcludeRegex "<lines to be excluded>"
840 # Instance "type_instance"
847 # #Host "memcache.example.com"
848 # Address "127.0.0.1"
854 # ValuesAbsolute true
855 # ValuesPercentage false
861 # RegisterCmd ReadHolding
875 # Instance "foobar" # optional
876 # Collect "data_name"
885 # ClientId "localhost"
892 # CACert "/etc/ssl/ca.crt"
893 # CertificateFile "/etc/ssl/client.crt"
894 # CertificateKeyFile "/etc/ssl/client.pem"
895 # TLSProtocol "tlsv1.2"
896 # CipherSuite "ciphers"
901 # ClientId "localhost"
907 # CACert "/etc/ssl/ca.crt"
908 # CertificateFile "/etc/ssl/client.crt"
909 # CertificateKeyFile "/etc/ssl/client.pem"
910 # TLSProtocol "tlsv1.2"
911 # CipherSuite "ciphers"
917 # Host "database.serv.er"
921 # SSLKey "/path/to/key.pem"
922 # SSLCert "/path/to/cert.pem"
923 # SSLCA "/path/to/ca.pem"
924 # SSLCAPath "/path/to/cas/"
925 # SSLCipher "DHE-RSA-AES256-SHA"
931 # <Database db_name2>
934 # Socket "/var/run/mysql/mysqld.sock"
936 # SlaveNotifications true
941 # Socket "/var/run/mysql/mysqld.sock"
947 # <Host "netapp1.example.com">
952 # Password "aef4Aebe"
959 # GetBufferCache true
971 # IgnoreSelectedIO false
973 # IgnoreSelectedOps false
974 # GetLatency "volume0"
975 # IgnoreSelectedLatency false
982 # IgnoreSelectedCapacity false
985 # IgnoreSelectedSnapshot false
1000 # VerboseInterface "All"
1001 # QDisc "eth0" "pfifo_fast-1:0"
1002 # Class "ppp0" "htb-1:10"
1003 # Filter "ppp0" "u32-1:0"
1004 # IgnoreSelected false
1007 @LOAD_PLUGIN_NETWORK@<Plugin network>
1009 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
1010 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
1011 # SecurityLevel Encrypt
1015 # ResolveInterval 14400
1016 @LOAD_PLUGIN_NETWORK@ </Server>
1020 # Listen "ff18::efc0:4a42" "25826"
1021 # <Listen "239.192.74.66" "25826">
1022 # SecurityLevel Sign
1023 # AuthFile "/etc/collectd/passwd"
1026 # MaxPacketSize 1452
1028 # # proxy setup (client and server as above):
1031 # # statistics about the network plugin itself
1034 # # "garbage collection"
1036 @LOAD_PLUGIN_NETWORK@</Plugin>
1045 # URL "http://localhost/status?auto"
1048 # CACert "/etc/ssl/ca.crt"
1051 #<Plugin notify_desktop>
1053 # WarningTimeout 5000
1057 #<Plugin notify_email>
1058 # SMTPServer "localhost"
1060 # SMTPUser "my-username"
1061 # SMTPPassword "my-password"
1062 # From "collectd@main0server.com"
1063 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1064 # Subject "Aaaaaa!! %s on %s!!!!!"
1065 # Recipient "email1@domain1.net"
1066 # Recipient "email2@domain2.com"
1069 #<Plugin notify_nagios>
1070 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1076 # ReverseLookups false
1077 # IncludeUnitID true
1081 # UPS "upsname@hostname:port"
1084 # CAPath "/path/to/folder"
1085 # #ConnectTimeout 5000
1091 # CollectLinks "Summary"
1092 # CollectRoutes "Summary"
1093 # CollectTopology "Summary"
1097 # Device "-s localhost:4304"
1098 # Sensor "F10FCA000800"
1099 # IgnoreSelected false
1103 # <Instance "localhost">
1104 # URL "ldap://localhost:389"
1107 # CACert "/path/to/ca.crt"
1114 # StatusFile "/etc/openvpn/openvpn-status.log"
1115 # ImprovedNamingSchema false
1116 # CollectCompression true
1117 # CollectIndividualUsers true
1118 # CollectUserCount false
1122 # <Query "out_of_stock">
1123 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1126 # InstancesFrom "category"
1127 # ValuesFrom "value"
1130 # <Database "product_information">
1131 # #Plugin "warehouse"
1135 # Query "out_of_stock"
1139 #<Plugin ovs_events>
1141 # Address "127.0.0.1"
1142 # Socket "/var/run/openvswitch/db.sock"
1143 # Interfaces "br0" "veth0"
1144 # SendNotification true
1145 # DispatchValues false
1150 # Address "127.0.0.1"
1151 # Socket "/var/run/openvswitch/db.sock"
1152 # Bridges "br0" "br_ext"
1155 #<Plugin pcie_errors>
1157 # ReportMasked false
1158 # PersistentNotifications false
1162 # IncludeDir "/my/include/path"
1163 # BaseName "Collectd::Plugins"
1165 # LoadPlugin Monitorus
1179 # Server "server name"
1180 # Script "script name"
1185 # Host "host.foo.bar"
1189 # SourceAddress "1.2.3.4"
1190 # AddressFamily "any"
1195 #<Plugin postgresql>
1197 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1201 # InstancePrefix "magic"
1205 # <Query rt36_tickets>
1206 # Statement "SELECT COUNT(type) AS count, type \
1207 # FROM (SELECT CASE \
1208 # WHEN resolved = 'epoch' THEN 'open' \
1209 # ELSE 'resolved' END AS type \
1210 # FROM tickets) type \
1214 # InstancePrefix "rt36_tickets"
1215 # InstancesFrom "type"
1216 # ValuesFrom "count"
1220 # # See contrib/postgresql/collectd_insert.sql for details
1221 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1231 # KRBSrvName "kerberos_service_name"
1236 # Service "service_name"
1237 # Query backends # predefined
1238 # Query rt36_tickets
1241 # Service "collectd_store"
1243 # # see collectd.conf(5) for details
1249 # <Server "server_name">
1251 # Collect "udp-answers" "udp-queries"
1252 # Socket "/var/run/pdns.controlsocket"
1254 # <Recursor "recursor_name">
1255 # Collect "questions"
1256 # Collect "cache-hits" "cache-misses"
1257 # Socket "/var/run/pdns_recursor.controlsocket"
1259 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1263 # CollectFileDescriptor true
1264 # CollectContextSwitch true
1265 # CollectMemoryMaps true
1266 # CollectDelayAccounting false
1268 # ProcessMatch "name" "regex"
1269 # <Process "collectd">
1270 # CollectFileDescriptor false
1271 # CollectContextSwitch false
1272 # CollectDelayAccounting true
1274 # <ProcessMatch "name" "regex">
1275 # CollectFileDescriptor false
1276 # CollectContextSwitch true
1280 #<Plugin "procevent">
1282 # ProcessRegex "/^ovs.*$/"
1288 # IgnoreSelected false
1292 # ModulePath "/path/to/your/python/modules"
1298 # spam "wonderful" "lovely"
1304 # Host "redis.example.com"
1306 # #Socket "/var/run/redis/redis.sock"
1308 # <Query "LLEN myqueue">
1310 # Type "queue_length"
1311 # Instance "myqueue"
1318 # Host "router.example.com"
1321 # Password "dozaiTh4"
1322 # CollectInterface true
1323 # CollectRegistrationTable true
1324 # CollectCPULoad true
1325 # CollectMemory true
1328 # CollectHealth true
1333 # DaemonAddress "unix:/tmp/rrdcached.sock"
1334 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1336 # CreateFilesAsync false
1337 # CollectStatistics true
1341 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1342 # CreateFilesAsync false
1345 # WritesPerSecond 50
1349 # SensorConfigFile "/etc/sensors.conf"
1350 # Sensor "it8712-isa-0290/temperature-temp1"
1351 # Sensor "it8712-isa-0290/fanspeed-fan3"
1352 # Sensor "it8712-isa-0290/voltage-in8"
1353 # IgnoreSelected false
1358 # <Device "AC Voltage">
1359 # Driver "fluke-dmm"
1360 # MinimumInterval 10
1361 # Conn "/dev/ttyUSB2"
1363 # <Device "Sound Level">
1364 # Driver "cem-dt-885x"
1365 # Conn "/dev/ttyUSB1"
1370 # Disk "/^[hs]d[a-f][0-9]?$/"
1371 # IgnoreSelected false
1375 # <Data "powerplus_voltge_input">
1378 # TypeInstance "input_line1"
1379 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1385 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1387 # <Data "std_traffic">
1390 # TypeInstanceOID "IF-MIB::ifDescr"
1391 # #TypeInstancePrefix "port"
1392 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1393 # #FilterOID "IF-MIB::ifOperStatus"
1394 # #FilterValues "1", "2"
1396 # <Data "interface_traffic">
1399 # Plugin "interface"
1400 # PluginInstanceOID "IF-MIB::ifDescr"
1401 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1404 # <Host "some.switch.mydomain.org">
1405 # Address "192.168.0.2"
1407 # Community "community_string"
1408 # Collect "std_traffic"
1413 # <Host "some.server.mydomain.org">
1414 # Address "192.168.0.42"
1416 # Community "another_string"
1417 # Collect "std_traffic" "hr_users"
1419 # <Host "some.ups.mydomain.org">
1420 # Address "192.168.0.3"
1422 # Community "more_communities"
1423 # Collect "powerplus_voltge_input"
1430 #<Plugin snmp_agent>
1431 # <Data "memAvailReal">
1434 # TypeInstance "free"
1435 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1438 # IndexOID "IF-MIB::ifIndex"
1439 # SizeOID "IF-MIB::ifNumber"
1442 # Source "PluginInstance"
1444 # Plugin "interface"
1445 # OIDs "IF-MIB::ifDescr"
1448 # Plugin "interface"
1451 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1459 # DeleteCounters false
1460 # DeleteTimers false
1461 # DeleteGauges false
1464 # TimerPercentile 90.0
1465 # TimerPercentile 95.0
1466 # TimerPercentile 99.0
1474 # ReportByDevice false
1476 # ValuesAbsolute true
1477 # ValuesPercentage false
1482 # Listen "127.0.0.1" "6666"
1485 # RegexFilter "regex"
1489 # <Table "/proc/slabinfo">
1491 # Instance "slabinfo"
1495 # InstancePrefix "active_objs"
1501 # InstancePrefix "objperslab"
1509 # <File "/var/log/exim4/mainlog">
1513 # Regex "S=([1-9][0-9]*)"
1514 # DSType "CounterAdd"
1519 # Regex "\\<R=local_user\\>"
1520 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1521 # DSType "CounterInc"
1523 # Instance "local_user"
1526 # <File "/var/log/nginx/apache-time.log">
1527 # #Use the following log format in nginx:
1528 # #log_format response_time '[$host] "$upstream_response_time" ...'
1531 # Regex "^\\S+ \"([0-9.]+)\""
1532 # <DSType Distribution>
1533 # Percentile 80 # -> latency-foo-80
1534 # Percentile 95 # -> latency-foo-95
1535 # Percentile 99 # -> latency-foo-99
1536 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1537 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1538 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1539 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1540 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1541 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1542 # #BucketType "bucket"
1551 # <Metric "dropped">
1553 # Instance "dropped"
1558 # Instance "wire-realtime"
1562 # Type "alerts_per_second"
1566 # Type "kpackets_wire_per_sec.realtime"
1569 # <File "/var/log/snort/snort.stats">
1570 # Instance "snort-eth0"
1572 # Collect "dropped" "mbps" "alerts" "kpps"
1578 # ListeningPorts false
1579 # AllPortsSummary false
1584 #<Plugin teamspeak2>
1591 # Device "/dev/ttyUSB0"
1596 # ForceUseProcfs false
1598 # IgnoreSelected false
1601 #<Plugin tokyotyrant>
1607 ## None of the following option should be set manually
1608 ## This plugin automatically detect most optimal options
1609 ## Only set values here if:
1610 ## - The module asks you to
1611 ## - You want to disable the collection of some data
1612 ## - Your (Intel) CPU is not supported (yet) by the module
1613 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1614 ## In the last two cases, please open a bug request
1616 # TCCActivationTemp "100"
1618 # PackageCstates "396"
1619 # SystemManagementInterrupt true
1620 # DigitalTemperatureSensor true
1621 # PackageThermalManagement true
1622 # RunningAveragePowerLimit "7"
1626 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1627 # SocketGroup "collectd"
1628 # SocketPerms "0660"
1629 # DeleteSocket false
1633 # UUIDFile "/etc/uuid"
1640 # ShowTemperatures true
1641 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1642 ## then inverted with a IgnoreSelectedTemperature.
1643 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1645 # IgnoreSelectedTemperature true
1647 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1648 ## then inverted with a IgnoreSelectedTemperature.
1649 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1651 # IgnoreSelectedPower true
1655 # This tag support an argument if you want to
1656 # monitor the local instance just use </Instance>
1657 # If you prefer defining another instance you can do
1658 # so by using <Instance "myinstance">
1660 # CollectBackend true
1661 # CollectBan false # Varnish 3 and above
1663 # CollectConnections true
1664 # CollectDirectorDNS false # Varnish 3 only
1666 # CollectFetch false
1668 # CollectObjects false
1669 # CollectPurge false # Varnish 2 only
1670 # CollectSession false
1672 # CollectSMA false # Varnish 2 & 4 only
1674 # CollectSM false # Varnish 2 only
1675 # CollectStruct false
1676 # CollectTotals false
1677 # CollectUptime false # Varnish 3 and above
1679 # CollectVSM false # Varnish 4 only
1680 # CollectWorkers false
1681 # CollectLock false # Varnish 4 only
1682 # CollectMempool false # Varnish 4 only
1683 # CollectManagement false # Varnish 4 only
1684 # CollectSMF false # Varnish 4 only
1685 # CollectVBE false # Varnish 4 only
1686 # CollectMSE false # Varnish-Plus 4 only
1691 # Connection "xen:///"
1692 # RefreshInterval 60
1694 # ReportBlockDevices true
1695 # ReportNetworkInterfaces true
1696 # BlockDevice "name:device"
1697 # BlockDeviceFormat target
1698 # BlockDeviceFormatBasename false
1699 # InterfaceDevice "name:device"
1700 # IgnoreSelected false
1701 # HostnameFormat name
1702 # HostnameMetadataXPath "/instance/name/text()"
1703 # HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1704 # InterfaceFormat name
1705 # PluginInstanceFormat name
1707 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpu vcpupin disk_physical disk_allocation disk_capacity memory"
1708 # PersistentNotification false
1715 #<Plugin write_graphite>
1720 # ReconnectInterval 0
1721 # LogSendErrors true
1723 # Postfix "collectd"
1725 # AlwaysAppendDS false
1726 # EscapeCharacter "_"
1727 # SeparateInstances false
1728 # PreserveSeparator false
1729 # DropDuplicateFields false
1734 #<Plugin write_http>
1736 # URL "http://example.com/collectd-post"
1738 # Password "weCh3ik0"
1741 # CACert "/etc/ssl/ca.crt"
1742 # CAPath "/etc/ssl/certs/"
1743 # ClientKey "/etc/ssl/client.pem"
1744 # ClientCert "/etc/ssl/client.crt"
1745 # ClientKeyPass "secret"
1746 # Header "X-Custom-Header: custom_value"
1747 # SSLVersion "TLSv1"
1749 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1750 # Attribute "key" "value" # only available for KAIROSDB format
1751 # TTL 0 # data ttl, only available for KAIROSDB format
1753 # Notifications false
1761 #<Plugin write_kafka>
1762 # Property "metadata.broker.list" "localhost:9092"
1763 # <Topic "collectd">
1768 #<Plugin write_mongodb>
1774 # Database "auth_db"
1776 # Password "auth_passwd"
1780 #<Plugin write_prometheus>
1784 #<Plugin write_redis>
1789 # Prefix "collectd/"
1793 #<Plugin write_riemann>
1801 # AlwaysAppendDS false
1803 # Notifications true
1804 # CheckThresholds false
1805 # EventServicePrefix ""
1808 # Attribute "foo" "bar"
1811 #<Plugin write_sensu>
1816 # AlwaysAppendDS false
1817 # Notifications true
1819 # EventServicePrefix ""
1820 # MetricHandler "influx"
1821 # MetricHandler "default"
1822 # NotificationHandler "flapjack"
1823 # NotificationHandler "howling_monkey"
1826 # Attribute "foo" "bar"
1829 #<Plugin write_stackdriver>
1830 # Project "stackdriver-account"
1831 # CredentialFile "/path/to/gcp-project-id-12345.json"
1832 # Email "123456789012@developer.gserviceaccount.com"
1833 # <Resource "global">
1834 # Label "project_id" "gcp-project-id"
1836 # Url "https://monitoring.googleapis.com/v3"
1839 #<Plugin write_syslog>
1844 # MessageFormat "human"
1847 # AlwaysAppendDS false
1851 #<Plugin write_tsdb>
1855 # HostTags "status=production"
1857 # AlwaysAppendDS false
1866 ##############################################################################
1867 # Filter configuration #
1868 #----------------------------------------------------------------------------#
1869 # The following configures collectd's filtering mechanism. Before changing #
1870 # anything in this section, please read the `FILTER CONFIGURATION' section #
1871 # in the collectd.conf(5) manual page. #
1872 ##############################################################################
1874 # Load required matches:
1875 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1876 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1877 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1878 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1879 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1881 # Load required targets:
1882 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1883 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1884 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1885 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1886 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1888 #----------------------------------------------------------------------------#
1889 # The following block demonstrates the default behavior if no filtering is #
1890 # configured at all: All values will be sent to all available write plugins. #
1891 #----------------------------------------------------------------------------#
1893 #<Chain "PostCache">
1897 ##############################################################################
1898 # Threshold configuration #
1899 #----------------------------------------------------------------------------#
1900 # The following outlines how to configure collectd's threshold checking #
1901 # plugin. The plugin and possible configuration options are documented in #
1902 # the collectd-threshold(5) manual page. #
1903 ##############################################################################
1905 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1909 # WarningMax 1000.00
1911 # FailureMax 1200.00
1916 # <Plugin "interface">
1918 # <Type "if_octets">
1919 # FailureMax 10000000
1933 # WarningMin 100000000
1938 # DataSource "midterm"