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_CONNTRACK_TRUE@LoadPlugin conntrack
106 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
107 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
108 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
109 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
110 @LOAD_PLUGIN_CSV@LoadPlugin csv
111 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
112 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
113 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
114 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
115 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
116 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
117 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
118 #@BUILD_PLUGIN_DPDKEVENTS_TRUE@LoadPlugin dpdkevents
119 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
120 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
121 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
122 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
123 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
124 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
125 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
126 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
127 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
128 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
129 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
130 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
131 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
132 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
133 #@BUILD_PLUGIN_INTEL_PMU_TRUE@LoadPlugin intel_pmu
134 #@BUILD_PLUGIN_INTEL_RDT_TRUE@LoadPlugin intel_rdt
135 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
136 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
137 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
138 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
139 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
140 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
141 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
142 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
143 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
144 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
145 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
146 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
147 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
148 #@BUILD_PLUGIN_MCELOG_TRUE@LoadPlugin mcelog
149 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
150 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
151 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
152 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
153 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
154 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
155 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
156 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
157 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
158 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
159 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
160 @LOAD_PLUGIN_NETWORK@LoadPlugin network
161 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
162 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
163 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
164 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
165 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
166 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
167 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
168 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
169 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
170 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
171 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
172 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
173 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
174 #@BUILD_PLUGIN_OVS_EVENTS_TRUE@LoadPlugin ovs_events
175 #@BUILD_PLUGIN_OVS_STATS_TRUE@LoadPlugin ovs_stats
176 #@BUILD_PLUGIN_PCIE_ERRORS_TRUE@LoadPlugin pcie_errors
177 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
178 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
179 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
180 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
181 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
182 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
183 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
184 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
185 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
186 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
187 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
188 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
189 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
190 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
191 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
192 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
193 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
194 #@BUILD_PLUGIN_SNMP_AGENT_TRUE@LoadPlugin snmp_agent
195 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
196 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
197 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
198 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
199 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
200 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
201 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
202 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
203 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
204 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
205 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
206 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
207 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
208 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
209 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
210 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
211 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
212 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
213 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
214 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
215 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
216 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
217 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
218 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
219 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
220 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
221 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
222 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
223 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
224 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
225 #@BUILD_PLUGIN_WRITE_STACKDRIVER_TRUE@LoadPlugin write_stackdriver
226 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
227 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
228 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
229 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
230 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
231 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
233 ##############################################################################
234 # Plugin configuration #
235 #----------------------------------------------------------------------------#
236 # In this section configuration stubs for each plugin are provided. A desc- #
237 # ription of those options is available in the collectd.conf(5) manual page. #
238 ##############################################################################
240 #<Plugin aggregation>
242 # #Host "unspecified"
244 # #PluginInstance "unspecified"
246 # #TypeInstance "unspecified"
249 # GroupBy "TypeInstance"
253 # CalculateAverage true
254 # CalculateMinimum false
255 # CalculateMaximum false
256 # CalculateStddev false
267 # Exchange "amq.fanout"
268 # RoutingKey "collectd"
271 # ConnectionRetryDelay 0
287 # <Instance "notify">
291 # <Instance "telemetry">
300 # URL "http://localhost/status?auto"
303 # CACert "/etc/ssl/ca.crt"
311 # PersistentConnection true
319 # URL "http://localhost/ascent/status/"
322 # CACert "/etc/ssl/ca.crt"
325 #<Plugin "barometer">
326 # Device "/dev/i2c-0";
329 # TemperatureOffset 0.0
332 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
336 # ValuesPercentage false
337 # ReportDegraded false
342 # URL "http://localhost:8053/"
348 # ZoneMaintStats true
349 # ResolverStats false
357 # Zone "127.in-addr.arpa/IN"
362 # LongRunAvgLatency false
363 # ConvertSpecialMetricTypes true
365 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
368 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
371 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
374 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
386 # IgnoreSelected false
392 # ValuesPercentage false
394 # ReportGuestState false
395 # SubtractGuestState true
399 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
404 # <Page "stock_quotes">
405 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
411 # CACert "/path/to/ca.crt"
412 # Header "X-Custom-Header: foobar"
415 # MeasureResponseTime false
416 # MeasureResponseCode false
418 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
419 # DSType "GaugeAverage"
427 # <URL "http://localhost:80/test.json">
428 # Instance "test_http_json"
429 # <Key "testArray/0">
433 # <Key "testArray/1">
437 # <Key "testArrayInbetween/0/blarg">
441 # <Key "testArrayInbetween/1/blub">
445 # <Key "testDirectHit">
449 # <Key "testSubLevelHit/oneMoreLevel">
454 # put this as test.json on your webserver, the above config demonstraces
458 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
460 # "testSubLevelHit":{"oneMoreLevel":6}
462 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
463 # <URL "http://localhost:5984/_stats">
465 # <Key "httpd/requests/count">
466 # Type "http_requests"
469 # <Key "httpd_request_methods/*/count">
470 # Type "http_request_methods"
473 # <Key "httpd_status_codes/*/count">
474 # Type "http_response_codes"
477 ## Database status metrics:
478 # <URL "http://localhost:5984/_all_dbs">
480 # <Key "*/doc_count">
483 # <Key "*/doc_del_count">
486 # <Key "*/disk_size">
493 # <URL "http://localhost/stats.xml">
496 # Instance "some_instance"
498 # Password "thaiNg0I"
502 # CACert "/path/to/ca.crt"
503 # Header "X-Custom-Header: foobar"
506 # <XPath "table[@id=\"magic_level\"]/tr">
508 # #InstancePrefix "prefix-"
509 # InstanceFrom "td[1]"
510 # #PluginInstanceFrom "td[1]"
511 # ValuesFrom "td[2]/span[@class=\"level\"]"
517 # <Query "num_of_customers">
518 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
521 # InstancesFrom "c_key"
522 # ValuesFrom "c_value"
525 # <Database "customers_db">
526 # #Plugin "mycompany"
528 # DriverOption "host" "localhost"
529 # DriverOption "username" "collectd"
530 # DriverOption "password" "AeXohy0O"
531 # DriverOption "dbname" "custdb0"
532 # #SelectDB "custdb0"
533 # Query "num_of_customers"
541 # Device "192.168.0.2:/mnt/nfs"
544 # IgnoreSelected false
545 # ReportByDevice false
547 # ValuesAbsolute true
548 # ValuesPercentage false
552 # Disk "/^[hs]d[a-f][0-9]?$/"
553 # IgnoreSelected false
555 # UdevNameAttr "DEVNAME"
560 # IgnoreSource "192.168.0.1"
561 # SelectNumericQueryTypes true
564 #<Plugin "dpdkevents">
570 # <Event "link_status">
571 # SendEventsOnUpdate true
572 # EnabledPortMask 0xffff
573 # PortName "interface1"
574 # PortName "interface2"
575 # SendNotification false
577 # <Event "keep_alive">
578 # SendEventsOnUpdate true
580 # KeepAliveShmName "/dpdk_keepalive_shm_name"
581 # SendNotification false
591 # RteDriverLibPath "/usr/lib/dpdk-pmd"
593 # SharedMemObj "dpdk_collectd_stats_0"
594 # EnabledPortMask 0xffff
595 # PortName "interface1"
596 # PortName "interface2"
600 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
601 # SocketGroup "collectd"
608 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
609 # Map "multicast" "if_multicast"
614 # Exec "user:group" "/path/to/exec"
615 # NotificationExec "user:group" "/path/to/exec"
619 # ValuesAbsolute true
620 # ValuesPercentage false
624 # <Directory "/path/to/dir">
631 # IncludeHidden false
633 # #FilesSizeType "bytes"
634 # #FilesCountType "files"
635 # #TypeInstance "instance"
640 # MCReceiveFrom "239.2.11.71" "8649"
641 # <Metric "swap_total">
643 # TypeInstance "total"
646 # <Metric "swap_free">
648 # TypeInstance "free"
663 # IgnoreSelected false
667 # <Server "example.com" "50051">
669 # SSLCACertificateFile "/path/to/root.pem"
670 # SSLCertificateFile "/path/to/server.pem"
671 # SSLCertificateKeyFile "/path/to/server.key"
673 # <Listen "0.0.0.0" "50051">
675 # SSLCACertificateFile "/path/to/root.pem"
676 # SSLCertificateFile "/path/to/client.pem"
677 # SSLCertificateKeyFile "/path/to/client.key"
688 # ReportPerNodeHP true
692 # ValuesPercentage false
696 # ReportHardwareCacheEvents true
697 # ReportKernelPMUEvents true
698 # ReportSoftwareEvents true
699 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
700 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
704 #<Plugin "intel_rdt">
710 # IgnoreSelected false
711 # ReportInactive true
717 # Sensor "some_sensor"
718 # Sensor "another_one"
719 # IgnoreSelected false
720 # NotifySensorAdd false
721 # NotifySensorRemove true
722 # NotifySensorNotPresent false
723 # NotifyIPMIConnectionState false
725 # SELSensor "some_sensor"
726 # SELSensor "another_one"
727 # SELIgnoreSelected false
728 # SELClearEvent false
730 # <Instance "remote">
731 # Host "server.example.com"
736 # Sensor "some_sensor"
737 # Sensor "another_one"
738 # IgnoreSelected false
739 # NotifySensorAdd false
740 # NotifySensorRemove true
741 # NotifySensorNotPresent false
742 # NotifyIPMIConnectionState false
744 # SELSensor "some_sensor"
745 # SELSensor "another_one"
746 # SELIgnoreSelected false
747 # SELClearEvent false
760 # IgnoreSelected true
764 # JVMArg "-verbose:jni"
765 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
767 # LoadPlugin "org.collectd.java.Foobar"
768 # <Plugin "org.collectd.java.Foobar">
769 # # To be parsed by the plugin
774 # ReportRelative true
779 # ReportBySerial false
783 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
784 # Script "script1.lua"
785 # Script "script2.lua"
790 # IgnoreSelected false
793 # WatchAdd "node_octets"
794 # WatchAdd "node_rssi"
795 # WatchAdd "is_rx_acl"
796 # WatchAdd "is_scan_active"
806 # McelogClientSocket "/var/run/mcelog-client"
807 # PersistentNotification false
809 # McelogLogfile "/var/log/mcelog"
814 # IgnoreSelected false
818 # <Page "plugin_instance">
822 # Regex "(\\d+) bytes sent"
823 # ExcludeRegex "<lines to be excluded>"
826 # Instance "type_instance"
833 # #Host "memcache.example.com"
834 # Address "127.0.0.1"
840 # ValuesAbsolute true
841 # ValuesPercentage false
847 # RegisterCmd ReadHolding
861 # Instance "foobar" # optional
862 # Collect "data_name"
871 # ClientId "localhost"
878 # CACert "/etc/ssl/ca.crt"
879 # CertificateFile "/etc/ssl/client.crt"
880 # CertificateKeyFile "/etc/ssl/client.pem"
881 # TLSProtocol "tlsv1.2"
882 # CipherSuite "ciphers"
887 # ClientId "localhost"
893 # CACert "/etc/ssl/ca.crt"
894 # CertificateFile "/etc/ssl/client.crt"
895 # CertificateKeyFile "/etc/ssl/client.pem"
896 # TLSProtocol "tlsv1.2"
897 # CipherSuite "ciphers"
903 # Host "database.serv.er"
907 # SSLKey "/path/to/key.pem"
908 # SSLCert "/path/to/cert.pem"
909 # SSLCA "/path/to/ca.pem"
910 # SSLCAPath "/path/to/cas/"
911 # SSLCipher "DHE-RSA-AES256-SHA"
917 # <Database db_name2>
920 # Socket "/var/run/mysql/mysqld.sock"
922 # SlaveNotifications true
927 # Socket "/var/run/mysql/mysqld.sock"
933 # <Host "netapp1.example.com">
938 # Password "aef4Aebe"
945 # GetBufferCache true
957 # IgnoreSelectedIO false
959 # IgnoreSelectedOps false
960 # GetLatency "volume0"
961 # IgnoreSelectedLatency false
968 # IgnoreSelectedCapacity false
971 # IgnoreSelectedSnapshot false
986 # VerboseInterface "All"
987 # QDisc "eth0" "pfifo_fast-1:0"
988 # Class "ppp0" "htb-1:10"
989 # Filter "ppp0" "u32-1:0"
990 # IgnoreSelected false
993 @LOAD_PLUGIN_NETWORK@<Plugin network>
995 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
996 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
997 # SecurityLevel Encrypt
1001 # ResolveInterval 14400
1002 @LOAD_PLUGIN_NETWORK@ </Server>
1006 # Listen "ff18::efc0:4a42" "25826"
1007 # <Listen "239.192.74.66" "25826">
1008 # SecurityLevel Sign
1009 # AuthFile "/etc/collectd/passwd"
1012 # MaxPacketSize 1452
1014 # # proxy setup (client and server as above):
1017 # # statistics about the network plugin itself
1020 # # "garbage collection"
1022 @LOAD_PLUGIN_NETWORK@</Plugin>
1031 # URL "http://localhost/status?auto"
1034 # CACert "/etc/ssl/ca.crt"
1037 #<Plugin notify_desktop>
1039 # WarningTimeout 5000
1043 #<Plugin notify_email>
1044 # SMTPServer "localhost"
1046 # SMTPUser "my-username"
1047 # SMTPPassword "my-password"
1048 # From "collectd@main0server.com"
1049 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1050 # Subject "Aaaaaa!! %s on %s!!!!!"
1051 # Recipient "email1@domain1.net"
1052 # Recipient "email2@domain2.com"
1055 #<Plugin notify_nagios>
1056 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1062 # ReverseLookups false
1063 # IncludeUnitID true
1067 # UPS "upsname@hostname:port"
1070 # CAPath "/path/to/folder"
1071 # #ConnectTimeout 5000
1077 # CollectLinks "Summary"
1078 # CollectRoutes "Summary"
1079 # CollectTopology "Summary"
1083 # Device "-s localhost:4304"
1084 # Sensor "F10FCA000800"
1085 # IgnoreSelected false
1089 # <Instance "localhost">
1090 # URL "ldap://localhost:389"
1093 # CACert "/path/to/ca.crt"
1100 # StatusFile "/etc/openvpn/openvpn-status.log"
1101 # ImprovedNamingSchema false
1102 # CollectCompression true
1103 # CollectIndividualUsers true
1104 # CollectUserCount false
1108 # <Query "out_of_stock">
1109 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1112 # InstancesFrom "category"
1113 # ValuesFrom "value"
1116 # <Database "product_information">
1117 # #Plugin "warehouse"
1121 # Query "out_of_stock"
1125 #<Plugin ovs_events>
1127 # Address "127.0.0.1"
1128 # Socket "/var/run/openvswitch/db.sock"
1129 # Interfaces "br0" "veth0"
1130 # SendNotification true
1131 # DispatchValues false
1136 # Address "127.0.0.1"
1137 # Socket "/var/run/openvswitch/db.sock"
1138 # Bridges "br0" "br_ext"
1141 #<Plugin pcie_errors>
1143 # ReportMasked false
1144 # PersistentNotifications false
1148 # IncludeDir "/my/include/path"
1149 # BaseName "Collectd::Plugins"
1151 # LoadPlugin Monitorus
1165 # Server "server name"
1166 # Script "script name"
1171 # Host "host.foo.bar"
1175 # SourceAddress "1.2.3.4"
1176 # AddressFamily "any"
1181 #<Plugin postgresql>
1183 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1187 # InstancePrefix "magic"
1191 # <Query rt36_tickets>
1192 # Statement "SELECT COUNT(type) AS count, type \
1193 # FROM (SELECT CASE \
1194 # WHEN resolved = 'epoch' THEN 'open' \
1195 # ELSE 'resolved' END AS type \
1196 # FROM tickets) type \
1200 # InstancePrefix "rt36_tickets"
1201 # InstancesFrom "type"
1202 # ValuesFrom "count"
1206 # # See contrib/postgresql/collectd_insert.sql for details
1207 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1217 # KRBSrvName "kerberos_service_name"
1222 # Service "service_name"
1223 # Query backends # predefined
1224 # Query rt36_tickets
1227 # Service "collectd_store"
1229 # # see collectd.conf(5) for details
1235 # <Server "server_name">
1237 # Collect "udp-answers" "udp-queries"
1238 # Socket "/var/run/pdns.controlsocket"
1240 # <Recursor "recursor_name">
1241 # Collect "questions"
1242 # Collect "cache-hits" "cache-misses"
1243 # Socket "/var/run/pdns_recursor.controlsocket"
1245 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1249 # CollectFileDescriptor true
1250 # CollectContextSwitch true
1251 # CollectMemoryMaps true
1252 # CollectDelayAccounting false
1254 # ProcessMatch "name" "regex"
1255 # <Process "collectd">
1256 # CollectFileDescriptor false
1257 # CollectContextSwitch false
1258 # CollectDelayAccounting true
1260 # <ProcessMatch "name" "regex">
1261 # CollectFileDescriptor false
1262 # CollectContextSwitch true
1268 # IgnoreSelected false
1272 # ModulePath "/path/to/your/python/modules"
1278 # spam "wonderful" "lovely"
1284 # Host "redis.example.com"
1286 # #Socket "/var/run/redis/redis.sock"
1288 # <Query "LLEN myqueue">
1290 # Type "queue_length"
1291 # Instance "myqueue"
1298 # Host "router.example.com"
1301 # Password "dozaiTh4"
1302 # CollectInterface true
1303 # CollectRegistrationTable true
1304 # CollectCPULoad true
1305 # CollectMemory true
1308 # CollectHealth true
1313 # DaemonAddress "unix:/tmp/rrdcached.sock"
1314 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1316 # CreateFilesAsync false
1317 # CollectStatistics true
1321 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1322 # CreateFilesAsync false
1325 # WritesPerSecond 50
1329 # SensorConfigFile "/etc/sensors.conf"
1330 # Sensor "it8712-isa-0290/temperature-temp1"
1331 # Sensor "it8712-isa-0290/fanspeed-fan3"
1332 # Sensor "it8712-isa-0290/voltage-in8"
1333 # IgnoreSelected false
1338 # <Device "AC Voltage">
1339 # Driver "fluke-dmm"
1340 # MinimumInterval 10
1341 # Conn "/dev/ttyUSB2"
1343 # <Device "Sound Level">
1344 # Driver "cem-dt-885x"
1345 # Conn "/dev/ttyUSB1"
1350 # Disk "/^[hs]d[a-f][0-9]?$/"
1351 # IgnoreSelected false
1355 # <Data "powerplus_voltge_input">
1358 # TypeInstance "input_line1"
1359 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1365 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1367 # <Data "std_traffic">
1370 # TypeInstanceOID "IF-MIB::ifDescr"
1371 # #TypeInstancePrefix "port"
1372 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1373 # #FilterOID "IF-MIB::ifOperStatus"
1374 # #FilterValues "1", "2"
1376 # <Data "interface_traffic">
1379 # Plugin "interface"
1380 # PluginInstanceOID "IF-MIB::ifDescr"
1381 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1384 # <Host "some.switch.mydomain.org">
1385 # Address "192.168.0.2"
1387 # Community "community_string"
1388 # Collect "std_traffic"
1393 # <Host "some.server.mydomain.org">
1394 # Address "192.168.0.42"
1396 # Community "another_string"
1397 # Collect "std_traffic" "hr_users"
1399 # <Host "some.ups.mydomain.org">
1400 # Address "192.168.0.3"
1402 # Community "more_communities"
1403 # Collect "powerplus_voltge_input"
1410 #<Plugin snmp_agent>
1411 # <Data "memAvailReal">
1414 # TypeInstance "free"
1415 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1418 # IndexOID "IF-MIB::ifIndex"
1419 # SizeOID "IF-MIB::ifNumber"
1422 # Source "PluginInstance"
1424 # Plugin "interface"
1425 # OIDs "IF-MIB::ifDescr"
1428 # Plugin "interface"
1431 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1439 # DeleteCounters false
1440 # DeleteTimers false
1441 # DeleteGauges false
1444 # TimerPercentile 90.0
1445 # TimerPercentile 95.0
1446 # TimerPercentile 99.0
1454 # ReportByDevice false
1456 # ValuesAbsolute true
1457 # ValuesPercentage false
1462 # <Table "/proc/slabinfo">
1464 # Instance "slabinfo"
1468 # InstancePrefix "active_objs"
1474 # InstancePrefix "objperslab"
1482 # <File "/var/log/exim4/mainlog">
1486 # Regex "S=([1-9][0-9]*)"
1487 # DSType "CounterAdd"
1492 # Regex "\\<R=local_user\\>"
1493 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1494 # DSType "CounterInc"
1496 # Instance "local_user"
1499 # <File "/var/log/nginx/apache-time.log">
1500 # #Use the following log format in nginx:
1501 # #log_format response_time '[$host] "$upstream_response_time" ...'
1504 # Regex "^\\S+ \"([0-9.]+)\""
1505 # <DSType Distribution>
1506 # Percentile 80 # -> latency-foo-80
1507 # Percentile 95 # -> latency-foo-95
1508 # Percentile 99 # -> latency-foo-99
1509 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1510 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1511 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1512 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1513 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1514 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1515 # #BucketType "bucket"
1524 # <Metric "dropped">
1526 # Instance "dropped"
1531 # Instance "wire-realtime"
1535 # Type "alerts_per_second"
1539 # Type "kpackets_wire_per_sec.realtime"
1542 # <File "/var/log/snort/snort.stats">
1543 # Instance "snort-eth0"
1545 # Collect "dropped" "mbps" "alerts" "kpps"
1551 # ListeningPorts false
1552 # AllPortsSummary false
1557 #<Plugin teamspeak2>
1564 # Device "/dev/ttyUSB0"
1569 # ForceUseProcfs false
1571 # IgnoreSelected false
1574 #<Plugin tokyotyrant>
1580 ## None of the following option should be set manually
1581 ## This plugin automatically detect most optimal options
1582 ## Only set values here if:
1583 ## - The module asks you to
1584 ## - You want to disable the collection of some data
1585 ## - Your (Intel) CPU is not supported (yet) by the module
1586 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1587 ## In the last two cases, please open a bug request
1589 # TCCActivationTemp "100"
1591 # PackageCstates "396"
1592 # SystemManagementInterrupt true
1593 # DigitalTemperatureSensor true
1594 # PackageThermalManagement true
1595 # RunningAveragePowerLimit "7"
1599 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1600 # SocketGroup "collectd"
1601 # SocketPerms "0660"
1602 # DeleteSocket false
1606 # UUIDFile "/etc/uuid"
1613 # ShowTemperatures true
1614 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1615 ## then inverted with a IgnoreSelectedTemperature.
1616 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1618 # IgnoreSelectedTemperature true
1620 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1621 ## then inverted with a IgnoreSelectedTemperature.
1622 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1624 # IgnoreSelectedPower true
1628 # This tag support an argument if you want to
1629 # monitor the local instance just use </Instance>
1630 # If you prefer defining another instance you can do
1631 # so by using <Instance "myinstance">
1633 # CollectBackend true
1634 # CollectBan false # Varnish 3 and above
1636 # CollectConnections true
1637 # CollectDirectorDNS false # Varnish 3 only
1639 # CollectFetch false
1641 # CollectObjects false
1642 # CollectPurge false # Varnish 2 only
1643 # CollectSession false
1645 # CollectSMA false # Varnish 2 & 4 only
1647 # CollectSM false # Varnish 2 only
1648 # CollectStruct false
1649 # CollectTotals false
1650 # CollectUptime false # Varnish 3 and above
1652 # CollectVSM false # Varnish 4 only
1653 # CollectWorkers false
1654 # CollectLock false # Varnish 4 only
1655 # CollectMempool false # Varnish 4 only
1656 # CollectManagement false # Varnish 4 only
1657 # CollectSMF false # Varnish 4 only
1658 # CollectVBE false # Varnish 4 only
1659 # CollectMSE false # Varnish-Plus 4 only
1664 # Connection "xen:///"
1665 # RefreshInterval 60
1667 # ReportBlockDevices true
1668 # ReportNetworkInterfaces true
1669 # BlockDevice "name:device"
1670 # BlockDeviceFormat target
1671 # BlockDeviceFormatBasename false
1672 # InterfaceDevice "name:device"
1673 # IgnoreSelected false
1674 # HostnameFormat name
1675 # HostnameMetadataXPath "/instance/name/text()"
1676 # HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1677 # InterfaceFormat name
1678 # PluginInstanceFormat name
1680 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
1681 # PersistentNotification false
1688 #<Plugin write_graphite>
1693 # ReconnectInterval 0
1694 # LogSendErrors true
1696 # Postfix "collectd"
1698 # AlwaysAppendDS false
1699 # EscapeCharacter "_"
1700 # SeparateInstances false
1701 # PreserveSeparator false
1702 # DropDuplicateFields false
1706 #<Plugin write_http>
1708 # URL "http://example.com/collectd-post"
1710 # Password "weCh3ik0"
1713 # CACert "/etc/ssl/ca.crt"
1714 # CAPath "/etc/ssl/certs/"
1715 # ClientKey "/etc/ssl/client.pem"
1716 # ClientCert "/etc/ssl/client.crt"
1717 # ClientKeyPass "secret"
1718 # Header "X-Custom-Header: custom_value"
1719 # SSLVersion "TLSv1"
1721 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1722 # Attribute "key" "value" # only available for KAIROSDB format
1723 # TTL 0 # data ttl, only available for KAIROSDB format
1725 # Notifications false
1733 #<Plugin write_kafka>
1734 # Property "metadata.broker.list" "localhost:9092"
1735 # <Topic "collectd">
1740 #<Plugin write_mongodb>
1746 # Database "auth_db"
1748 # Password "auth_passwd"
1752 #<Plugin write_prometheus>
1756 #<Plugin write_redis>
1761 # Prefix "collectd/"
1765 #<Plugin write_riemann>
1773 # AlwaysAppendDS false
1775 # Notifications true
1776 # CheckThresholds false
1777 # EventServicePrefix ""
1780 # Attribute "foo" "bar"
1783 #<Plugin write_sensu>
1788 # AlwaysAppendDS false
1789 # Notifications true
1791 # EventServicePrefix ""
1792 # MetricHandler "influx"
1793 # MetricHandler "default"
1794 # NotificationHandler "flapjack"
1795 # NotificationHandler "howling_monkey"
1798 # Attribute "foo" "bar"
1801 #<Plugin write_stackdriver>
1802 # Project "stackdriver-account"
1803 # CredentialFile "/path/to/gcp-project-id-12345.json"
1804 # Email "123456789012@developer.gserviceaccount.com"
1805 # <Resource "global">
1806 # Label "project_id" "gcp-project-id"
1808 # Url "https://monitoring.googleapis.com/v3"
1811 #<Plugin write_tsdb>
1815 # HostTags "status=production"
1817 # AlwaysAppendDS false
1826 ##############################################################################
1827 # Filter configuration #
1828 #----------------------------------------------------------------------------#
1829 # The following configures collectd's filtering mechanism. Before changing #
1830 # anything in this section, please read the `FILTER CONFIGURATION' section #
1831 # in the collectd.conf(5) manual page. #
1832 ##############################################################################
1834 # Load required matches:
1835 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1836 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1837 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1838 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1839 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1841 # Load required targets:
1842 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1843 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1844 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1845 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1846 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1848 #----------------------------------------------------------------------------#
1849 # The following block demonstrates the default behavior if no filtering is #
1850 # configured at all: All values will be sent to all available write plugins. #
1851 #----------------------------------------------------------------------------#
1853 #<Chain "PostCache">
1857 ##############################################################################
1858 # Threshold configuration #
1859 #----------------------------------------------------------------------------#
1860 # The following outlines how to configure collectd's threshold checking #
1861 # plugin. The plugin and possible configuration options are documented in #
1862 # the collectd-threshold(5) manual page. #
1863 ##############################################################################
1865 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1869 # WarningMax 1000.00
1871 # FailureMax 1200.00
1876 # <Plugin "interface">
1878 # <Type "if_octets">
1879 # FailureMax 10000000
1893 # WarningMin 100000000
1898 # DataSource "midterm"