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_CHECK_UPTIME_TRUE@LoadPlugin check_uptime
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"
390 # IgnoreSelected false
396 # ValuesPercentage false
398 # ReportGuestState false
399 # SubtractGuestState true
403 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
408 # <Page "stock_quotes">
409 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
410 # AddressFamily "any"
416 # CACert "/path/to/ca.crt"
417 # Header "X-Custom-Header: foobar"
420 # MeasureResponseTime false
421 # MeasureResponseCode false
423 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
424 # DSType "GaugeAverage"
432 # <URL "http://localhost:80/test.json">
433 # AddressFamily "any"
434 # Instance "test_http_json"
435 # <Key "testArray/0">
439 # <Key "testArray/1">
443 # <Key "testArrayInbetween/0/blarg">
447 # <Key "testArrayInbetween/1/blub">
451 # <Key "testDirectHit">
455 # <Key "testSubLevelHit/oneMoreLevel">
460 # put this as test.json on your webserver, the above config demonstraces
464 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
466 # "testSubLevelHit":{"oneMoreLevel":6}
468 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
469 # <URL "http://localhost:5984/_stats">
470 # AddressFamily "ipv4"
472 # <Key "httpd/requests/count">
473 # Type "http_requests"
476 # <Key "httpd_request_methods/*/count">
477 # Type "http_request_methods"
480 # <Key "httpd_status_codes/*/count">
481 # Type "http_response_codes"
484 ## Database status metrics:
485 # <URL "http://localhost:5984/_all_dbs">
486 # AddressFamily "ipv6"
488 # <Key "*/doc_count">
491 # <Key "*/doc_del_count">
494 # <Key "*/disk_size">
501 # <URL "http://localhost/stats.xml">
502 # AddressFamily "any"
505 # Instance "some_instance"
507 # Password "thaiNg0I"
511 # CACert "/path/to/ca.crt"
512 # Header "X-Custom-Header: foobar"
515 # <XPath "table[@id=\"magic_level\"]/tr">
517 # #InstancePrefix "prefix-"
518 # InstanceFrom "td[1]"
519 # #PluginInstanceFrom "td[1]"
520 # ValuesFrom "td[2]/span[@class=\"level\"]"
526 # <Query "num_of_customers">
527 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
530 # InstancesFrom "c_key"
531 # ValuesFrom "c_value"
534 # <Database "customers_db">
535 # #Plugin "mycompany"
537 # DriverOption "host" "localhost"
538 # DriverOption "username" "collectd"
539 # DriverOption "password" "AeXohy0O"
540 # DriverOption "dbname" "custdb0"
541 # #SelectDB "custdb0"
542 # Query "num_of_customers"
550 # Device "192.168.0.2:/mnt/nfs"
553 # IgnoreSelected false
554 # ReportByDevice false
556 # ValuesAbsolute true
557 # ValuesPercentage false
561 # Disk "/^[hs]d[a-f][0-9]?$/"
562 # IgnoreSelected false
564 # UdevNameAttr "DEVNAME"
569 # IgnoreSource "192.168.0.1"
570 # SelectNumericQueryTypes true
573 #<Plugin "dpdkevents">
579 # <Event "link_status">
580 # SendEventsOnUpdate true
581 # EnabledPortMask 0xffff
582 # PortName "interface1"
583 # PortName "interface2"
584 # SendNotification false
586 # <Event "keep_alive">
587 # SendEventsOnUpdate true
589 # KeepAliveShmName "/dpdk_keepalive_shm_name"
590 # SendNotification false
600 # RteDriverLibPath "/usr/lib/dpdk-pmd"
602 # SharedMemObj "dpdk_collectd_stats_0"
603 # EnabledPortMask 0xffff
604 # PortName "interface1"
605 # PortName "interface2"
609 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
610 # SocketGroup "collectd"
617 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
618 # Map "multicast" "if_multicast"
623 # Exec "user:group" "/path/to/exec"
624 # NotificationExec "user:group" "/path/to/exec"
628 # ValuesAbsolute true
629 # ValuesPercentage false
633 # <Directory "/path/to/dir">
640 # IncludeHidden false
642 # #FilesSizeType "bytes"
643 # #FilesCountType "files"
644 # #TypeInstance "instance"
649 # MCReceiveFrom "239.2.11.71" "8649"
650 # <Metric "swap_total">
652 # TypeInstance "total"
655 # <Metric "swap_free">
657 # TypeInstance "free"
672 # IgnoreSelected false
676 # <Server "example.com" "50051">
678 # SSLCACertificateFile "/path/to/root.pem"
679 # SSLCertificateFile "/path/to/server.pem"
680 # SSLCertificateKeyFile "/path/to/server.key"
682 # <Listen "0.0.0.0" "50051">
684 # SSLCACertificateFile "/path/to/root.pem"
685 # SSLCertificateFile "/path/to/client.pem"
686 # SSLCertificateKeyFile "/path/to/client.key"
697 # ReportPerNodeHP true
701 # ValuesPercentage false
705 # ReportHardwareCacheEvents true
706 # ReportKernelPMUEvents true
707 # ReportSoftwareEvents true
708 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
709 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
713 #<Plugin "intel_rdt">
720 # IgnoreSelected false
721 # ReportInactive true
727 # Sensor "some_sensor"
728 # Sensor "another_one"
729 # IgnoreSelected false
730 # NotifySensorAdd false
731 # NotifySensorRemove true
732 # NotifySensorNotPresent false
733 # NotifyIPMIConnectionState false
735 # SELSensor "some_sensor"
736 # SELSensor "another_one"
737 # SELIgnoreSelected false
738 # SELClearEvent false
740 # <Instance "remote">
741 # Host "server.example.com"
746 # Sensor "some_sensor"
747 # Sensor "another_one"
748 # IgnoreSelected false
749 # NotifySensorAdd false
750 # NotifySensorRemove true
751 # NotifySensorNotPresent false
752 # NotifyIPMIConnectionState false
754 # SELSensor "some_sensor"
755 # SELSensor "another_one"
756 # SELIgnoreSelected false
757 # SELClearEvent false
770 # IgnoreSelected true
774 # JVMArg "-verbose:jni"
775 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
777 # LoadPlugin "org.collectd.java.Foobar"
778 # <Plugin "org.collectd.java.Foobar">
779 # # To be parsed by the plugin
784 # ReportRelative true
789 # ReportBySerial false
793 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
794 # Script "script1.lua"
795 # Script "script2.lua"
800 # IgnoreSelected false
803 # WatchAdd "node_octets"
804 # WatchAdd "node_rssi"
805 # WatchAdd "is_rx_acl"
806 # WatchAdd "is_scan_active"
816 # McelogClientSocket "/var/run/mcelog-client"
817 # PersistentNotification false
819 # McelogLogfile "/var/log/mcelog"
824 # IgnoreSelected false
828 # <Page "plugin_instance">
832 # Regex "(\\d+) bytes sent"
833 # ExcludeRegex "<lines to be excluded>"
836 # Instance "type_instance"
843 # #Host "memcache.example.com"
844 # Address "127.0.0.1"
850 # ValuesAbsolute true
851 # ValuesPercentage false
857 # RegisterCmd ReadHolding
871 # Instance "foobar" # optional
872 # Collect "data_name"
881 # ClientId "localhost"
888 # CACert "/etc/ssl/ca.crt"
889 # CertificateFile "/etc/ssl/client.crt"
890 # CertificateKeyFile "/etc/ssl/client.pem"
891 # TLSProtocol "tlsv1.2"
892 # CipherSuite "ciphers"
897 # ClientId "localhost"
903 # CACert "/etc/ssl/ca.crt"
904 # CertificateFile "/etc/ssl/client.crt"
905 # CertificateKeyFile "/etc/ssl/client.pem"
906 # TLSProtocol "tlsv1.2"
907 # CipherSuite "ciphers"
913 # Host "database.serv.er"
917 # SSLKey "/path/to/key.pem"
918 # SSLCert "/path/to/cert.pem"
919 # SSLCA "/path/to/ca.pem"
920 # SSLCAPath "/path/to/cas/"
921 # SSLCipher "DHE-RSA-AES256-SHA"
927 # <Database db_name2>
930 # Socket "/var/run/mysql/mysqld.sock"
932 # SlaveNotifications true
937 # Socket "/var/run/mysql/mysqld.sock"
943 # <Host "netapp1.example.com">
948 # Password "aef4Aebe"
955 # GetBufferCache true
967 # IgnoreSelectedIO false
969 # IgnoreSelectedOps false
970 # GetLatency "volume0"
971 # IgnoreSelectedLatency false
978 # IgnoreSelectedCapacity false
981 # IgnoreSelectedSnapshot false
996 # VerboseInterface "All"
997 # QDisc "eth0" "pfifo_fast-1:0"
998 # Class "ppp0" "htb-1:10"
999 # Filter "ppp0" "u32-1:0"
1000 # IgnoreSelected false
1003 @LOAD_PLUGIN_NETWORK@<Plugin network>
1005 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
1006 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
1007 # SecurityLevel Encrypt
1011 # ResolveInterval 14400
1012 @LOAD_PLUGIN_NETWORK@ </Server>
1016 # Listen "ff18::efc0:4a42" "25826"
1017 # <Listen "239.192.74.66" "25826">
1018 # SecurityLevel Sign
1019 # AuthFile "/etc/collectd/passwd"
1022 # MaxPacketSize 1452
1024 # # proxy setup (client and server as above):
1027 # # statistics about the network plugin itself
1030 # # "garbage collection"
1032 @LOAD_PLUGIN_NETWORK@</Plugin>
1041 # URL "http://localhost/status?auto"
1044 # CACert "/etc/ssl/ca.crt"
1047 #<Plugin notify_desktop>
1049 # WarningTimeout 5000
1053 #<Plugin notify_email>
1054 # SMTPServer "localhost"
1056 # SMTPUser "my-username"
1057 # SMTPPassword "my-password"
1058 # From "collectd@main0server.com"
1059 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1060 # Subject "Aaaaaa!! %s on %s!!!!!"
1061 # Recipient "email1@domain1.net"
1062 # Recipient "email2@domain2.com"
1065 #<Plugin notify_nagios>
1066 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1072 # ReverseLookups false
1073 # IncludeUnitID true
1077 # UPS "upsname@hostname:port"
1080 # CAPath "/path/to/folder"
1081 # #ConnectTimeout 5000
1087 # CollectLinks "Summary"
1088 # CollectRoutes "Summary"
1089 # CollectTopology "Summary"
1093 # Device "-s localhost:4304"
1094 # Sensor "F10FCA000800"
1095 # IgnoreSelected false
1099 # <Instance "localhost">
1100 # URL "ldap://localhost:389"
1103 # CACert "/path/to/ca.crt"
1110 # StatusFile "/etc/openvpn/openvpn-status.log"
1111 # ImprovedNamingSchema false
1112 # CollectCompression true
1113 # CollectIndividualUsers true
1114 # CollectUserCount false
1118 # <Query "out_of_stock">
1119 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1122 # InstancesFrom "category"
1123 # ValuesFrom "value"
1126 # <Database "product_information">
1127 # #Plugin "warehouse"
1131 # Query "out_of_stock"
1135 #<Plugin ovs_events>
1137 # Address "127.0.0.1"
1138 # Socket "/var/run/openvswitch/db.sock"
1139 # Interfaces "br0" "veth0"
1140 # SendNotification true
1141 # DispatchValues false
1146 # Address "127.0.0.1"
1147 # Socket "/var/run/openvswitch/db.sock"
1148 # Bridges "br0" "br_ext"
1151 #<Plugin pcie_errors>
1153 # ReportMasked false
1154 # PersistentNotifications false
1158 # IncludeDir "/my/include/path"
1159 # BaseName "Collectd::Plugins"
1161 # LoadPlugin Monitorus
1175 # Server "server name"
1176 # Script "script name"
1181 # Host "host.foo.bar"
1185 # SourceAddress "1.2.3.4"
1186 # AddressFamily "any"
1191 #<Plugin postgresql>
1193 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1197 # InstancePrefix "magic"
1201 # <Query rt36_tickets>
1202 # Statement "SELECT COUNT(type) AS count, type \
1203 # FROM (SELECT CASE \
1204 # WHEN resolved = 'epoch' THEN 'open' \
1205 # ELSE 'resolved' END AS type \
1206 # FROM tickets) type \
1210 # InstancePrefix "rt36_tickets"
1211 # InstancesFrom "type"
1212 # ValuesFrom "count"
1216 # # See contrib/postgresql/collectd_insert.sql for details
1217 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1227 # KRBSrvName "kerberos_service_name"
1232 # Service "service_name"
1233 # Query backends # predefined
1234 # Query rt36_tickets
1237 # Service "collectd_store"
1239 # # see collectd.conf(5) for details
1245 # <Server "server_name">
1247 # Collect "udp-answers" "udp-queries"
1248 # Socket "/var/run/pdns.controlsocket"
1250 # <Recursor "recursor_name">
1251 # Collect "questions"
1252 # Collect "cache-hits" "cache-misses"
1253 # Socket "/var/run/pdns_recursor.controlsocket"
1255 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1259 # CollectFileDescriptor true
1260 # CollectContextSwitch true
1261 # CollectMemoryMaps true
1262 # CollectDelayAccounting false
1264 # ProcessMatch "name" "regex"
1265 # <Process "collectd">
1266 # CollectFileDescriptor false
1267 # CollectContextSwitch false
1268 # CollectDelayAccounting true
1270 # <ProcessMatch "name" "regex">
1271 # CollectFileDescriptor false
1272 # CollectContextSwitch true
1276 #<Plugin "procevent">
1278 # ProcessRegex "/^ovs.*$/"
1284 # IgnoreSelected false
1288 # ModulePath "/path/to/your/python/modules"
1294 # spam "wonderful" "lovely"
1300 # Host "redis.example.com"
1302 # #Socket "/var/run/redis/redis.sock"
1304 # <Query "LLEN myqueue">
1306 # Type "queue_length"
1307 # Instance "myqueue"
1314 # Host "router.example.com"
1317 # Password "dozaiTh4"
1318 # CollectInterface true
1319 # CollectRegistrationTable true
1320 # CollectCPULoad true
1321 # CollectMemory true
1324 # CollectHealth true
1329 # DaemonAddress "unix:/tmp/rrdcached.sock"
1330 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1332 # CreateFilesAsync false
1333 # CollectStatistics true
1337 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1338 # CreateFilesAsync false
1341 # WritesPerSecond 50
1345 # SensorConfigFile "/etc/sensors.conf"
1346 # Sensor "it8712-isa-0290/temperature-temp1"
1347 # Sensor "it8712-isa-0290/fanspeed-fan3"
1348 # Sensor "it8712-isa-0290/voltage-in8"
1349 # IgnoreSelected false
1354 # <Device "AC Voltage">
1355 # Driver "fluke-dmm"
1356 # MinimumInterval 10
1357 # Conn "/dev/ttyUSB2"
1359 # <Device "Sound Level">
1360 # Driver "cem-dt-885x"
1361 # Conn "/dev/ttyUSB1"
1366 # Disk "/^[hs]d[a-f][0-9]?$/"
1367 # IgnoreSelected false
1371 # <Data "powerplus_voltge_input">
1374 # TypeInstance "input_line1"
1375 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1381 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1383 # <Data "std_traffic">
1386 # TypeInstanceOID "IF-MIB::ifDescr"
1387 # #TypeInstancePrefix "port"
1388 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1389 # #FilterOID "IF-MIB::ifOperStatus"
1390 # #FilterValues "1", "2"
1392 # <Data "interface_traffic">
1395 # Plugin "interface"
1396 # PluginInstanceOID "IF-MIB::ifDescr"
1397 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1400 # <Host "some.switch.mydomain.org">
1401 # Address "192.168.0.2"
1403 # Community "community_string"
1404 # Collect "std_traffic"
1409 # <Host "some.server.mydomain.org">
1410 # Address "192.168.0.42"
1412 # Community "another_string"
1413 # Collect "std_traffic" "hr_users"
1415 # <Host "some.ups.mydomain.org">
1416 # Address "192.168.0.3"
1418 # Community "more_communities"
1419 # Collect "powerplus_voltge_input"
1426 #<Plugin snmp_agent>
1427 # <Data "memAvailReal">
1430 # TypeInstance "free"
1431 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1434 # IndexOID "IF-MIB::ifIndex"
1435 # SizeOID "IF-MIB::ifNumber"
1438 # Source "PluginInstance"
1440 # Plugin "interface"
1441 # OIDs "IF-MIB::ifDescr"
1444 # Plugin "interface"
1447 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1455 # DeleteCounters false
1456 # DeleteTimers false
1457 # DeleteGauges false
1460 # TimerPercentile 90.0
1461 # TimerPercentile 95.0
1462 # TimerPercentile 99.0
1470 # ReportByDevice false
1472 # ValuesAbsolute true
1473 # ValuesPercentage false
1478 # Listen "127.0.0.1" "6666"
1481 # RegexFilter "regex"
1485 # <Table "/proc/slabinfo">
1487 # Instance "slabinfo"
1491 # InstancePrefix "active_objs"
1497 # InstancePrefix "objperslab"
1505 # <File "/var/log/exim4/mainlog">
1509 # Regex "S=([1-9][0-9]*)"
1510 # DSType "CounterAdd"
1515 # Regex "\\<R=local_user\\>"
1516 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1517 # DSType "CounterInc"
1519 # Instance "local_user"
1522 # <File "/var/log/nginx/apache-time.log">
1523 # #Use the following log format in nginx:
1524 # #log_format response_time '[$host] "$upstream_response_time" ...'
1527 # Regex "^\\S+ \"([0-9.]+)\""
1528 # <DSType Distribution>
1529 # Percentile 80 # -> latency-foo-80
1530 # Percentile 95 # -> latency-foo-95
1531 # Percentile 99 # -> latency-foo-99
1532 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1533 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1534 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1535 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1536 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1537 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1538 # #BucketType "bucket"
1547 # <Metric "dropped">
1549 # Instance "dropped"
1554 # Instance "wire-realtime"
1558 # Type "alerts_per_second"
1562 # Type "kpackets_wire_per_sec.realtime"
1565 # <File "/var/log/snort/snort.stats">
1566 # Instance "snort-eth0"
1568 # Collect "dropped" "mbps" "alerts" "kpps"
1574 # ListeningPorts false
1575 # AllPortsSummary false
1580 #<Plugin teamspeak2>
1587 # Device "/dev/ttyUSB0"
1592 # ForceUseProcfs false
1594 # IgnoreSelected false
1597 #<Plugin tokyotyrant>
1603 ## None of the following option should be set manually
1604 ## This plugin automatically detect most optimal options
1605 ## Only set values here if:
1606 ## - The module asks you to
1607 ## - You want to disable the collection of some data
1608 ## - Your (Intel) CPU is not supported (yet) by the module
1609 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1610 ## In the last two cases, please open a bug request
1612 # TCCActivationTemp "100"
1614 # PackageCstates "396"
1615 # SystemManagementInterrupt true
1616 # DigitalTemperatureSensor true
1617 # PackageThermalManagement true
1618 # RunningAveragePowerLimit "7"
1622 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1623 # SocketGroup "collectd"
1624 # SocketPerms "0660"
1625 # DeleteSocket false
1629 # UUIDFile "/etc/uuid"
1636 # ShowTemperatures true
1637 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1638 ## then inverted with a IgnoreSelectedTemperature.
1639 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1641 # IgnoreSelectedTemperature true
1643 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1644 ## then inverted with a IgnoreSelectedTemperature.
1645 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1647 # IgnoreSelectedPower true
1651 # This tag support an argument if you want to
1652 # monitor the local instance just use </Instance>
1653 # If you prefer defining another instance you can do
1654 # so by using <Instance "myinstance">
1656 # CollectBackend true
1657 # CollectBan false # Varnish 3 and above
1659 # CollectConnections true
1660 # CollectDirectorDNS false # Varnish 3 only
1662 # CollectFetch false
1664 # CollectObjects false
1665 # CollectPurge false # Varnish 2 only
1666 # CollectSession false
1668 # CollectSMA false # Varnish 2 & 4 only
1670 # CollectSM false # Varnish 2 only
1671 # CollectStruct false
1672 # CollectTotals false
1673 # CollectUptime false # Varnish 3 and above
1675 # CollectVSM false # Varnish 4 only
1676 # CollectWorkers false
1677 # CollectLock false # Varnish 4 only
1678 # CollectMempool false # Varnish 4 only
1679 # CollectManagement false # Varnish 4 only
1680 # CollectSMF false # Varnish 4 only
1681 # CollectVBE false # Varnish 4 only
1682 # CollectMSE false # Varnish-Plus 4 only
1687 # Connection "xen:///"
1688 # RefreshInterval 60
1690 # ReportBlockDevices true
1691 # ReportNetworkInterfaces true
1692 # BlockDevice "name:device"
1693 # BlockDeviceFormat target
1694 # BlockDeviceFormatBasename false
1695 # InterfaceDevice "name:device"
1696 # IgnoreSelected false
1697 # HostnameFormat name
1698 # HostnameMetadataXPath "/instance/name/text()"
1699 # HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1700 # InterfaceFormat name
1701 # PluginInstanceFormat name
1703 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpu vcpupin disk_physical disk_allocation disk_capacity memory"
1704 # PersistentNotification false
1711 #<Plugin write_graphite>
1716 # ReconnectInterval 0
1717 # LogSendErrors true
1719 # Postfix "collectd"
1721 # AlwaysAppendDS false
1722 # EscapeCharacter "_"
1723 # SeparateInstances false
1724 # PreserveSeparator false
1725 # DropDuplicateFields false
1730 #<Plugin write_http>
1732 # URL "http://example.com/collectd-post"
1734 # Password "weCh3ik0"
1737 # CACert "/etc/ssl/ca.crt"
1738 # CAPath "/etc/ssl/certs/"
1739 # ClientKey "/etc/ssl/client.pem"
1740 # ClientCert "/etc/ssl/client.crt"
1741 # ClientKeyPass "secret"
1742 # Header "X-Custom-Header: custom_value"
1743 # SSLVersion "TLSv1"
1745 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1746 # Attribute "key" "value" # only available for KAIROSDB format
1747 # TTL 0 # data ttl, only available for KAIROSDB format
1749 # Notifications false
1757 #<Plugin write_kafka>
1758 # Property "metadata.broker.list" "localhost:9092"
1759 # <Topic "collectd">
1764 #<Plugin write_mongodb>
1770 # Database "auth_db"
1772 # Password "auth_passwd"
1776 #<Plugin write_prometheus>
1780 #<Plugin write_redis>
1785 # Prefix "collectd/"
1789 #<Plugin write_riemann>
1797 # AlwaysAppendDS false
1799 # Notifications true
1800 # CheckThresholds false
1801 # EventServicePrefix ""
1804 # Attribute "foo" "bar"
1807 #<Plugin write_sensu>
1812 # AlwaysAppendDS false
1813 # Notifications true
1815 # EventServicePrefix ""
1816 # MetricHandler "influx"
1817 # MetricHandler "default"
1818 # NotificationHandler "flapjack"
1819 # NotificationHandler "howling_monkey"
1822 # Attribute "foo" "bar"
1825 #<Plugin write_stackdriver>
1826 # Project "stackdriver-account"
1827 # CredentialFile "/path/to/gcp-project-id-12345.json"
1828 # Email "123456789012@developer.gserviceaccount.com"
1829 # <Resource "global">
1830 # Label "project_id" "gcp-project-id"
1832 # Url "https://monitoring.googleapis.com/v3"
1835 #<Plugin write_syslog>
1840 # MessageFormat "human"
1843 # AlwaysAppendDS false
1847 #<Plugin write_tsdb>
1851 # HostTags "status=production"
1853 # AlwaysAppendDS false
1862 ##############################################################################
1863 # Filter configuration #
1864 #----------------------------------------------------------------------------#
1865 # The following configures collectd's filtering mechanism. Before changing #
1866 # anything in this section, please read the `FILTER CONFIGURATION' section #
1867 # in the collectd.conf(5) manual page. #
1868 ##############################################################################
1870 # Load required matches:
1871 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1872 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1873 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1874 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1875 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1877 # Load required targets:
1878 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1879 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1880 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1881 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1882 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1884 #----------------------------------------------------------------------------#
1885 # The following block demonstrates the default behavior if no filtering is #
1886 # configured at all: All values will be sent to all available write plugins. #
1887 #----------------------------------------------------------------------------#
1889 #<Chain "PostCache">
1893 ##############################################################################
1894 # Threshold configuration #
1895 #----------------------------------------------------------------------------#
1896 # The following outlines how to configure collectd's threshold checking #
1897 # plugin. The plugin and possible configuration options are documented in #
1898 # the collectd-threshold(5) manual page. #
1899 ##############################################################################
1901 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1905 # WarningMax 1000.00
1907 # FailureMax 1200.00
1912 # <Plugin "interface">
1914 # <Type "if_octets">
1915 # FailureMax 10000000
1929 # WarningMin 100000000
1934 # DataSource "midterm"