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_SYSLOG_TRUE@LoadPlugin write_syslog
227 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
228 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
229 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
230 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
231 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
232 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
234 ##############################################################################
235 # Plugin configuration #
236 #----------------------------------------------------------------------------#
237 # In this section configuration stubs for each plugin are provided. A desc- #
238 # ription of those options is available in the collectd.conf(5) manual page. #
239 ##############################################################################
241 #<Plugin aggregation>
243 # #Host "unspecified"
245 # #PluginInstance "unspecified"
247 # #TypeInstance "unspecified"
250 # GroupBy "TypeInstance"
254 # CalculateAverage true
255 # CalculateMinimum false
256 # CalculateMaximum false
257 # CalculateStddev false
268 # Exchange "amq.fanout"
269 # RoutingKey "collectd"
272 # ConnectionRetryDelay 0
288 # <Instance "notify">
292 # <Instance "telemetry">
301 # URL "http://localhost/status?auto"
304 # CACert "/etc/ssl/ca.crt"
312 # PersistentConnection true
320 # URL "http://localhost/ascent/status/"
323 # CACert "/etc/ssl/ca.crt"
326 #<Plugin "barometer">
327 # Device "/dev/i2c-0";
330 # TemperatureOffset 0.0
333 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
337 # ValuesPercentage false
338 # ReportDegraded false
343 # URL "http://localhost:8053/"
349 # ZoneMaintStats true
350 # ResolverStats false
358 # Zone "127.in-addr.arpa/IN"
363 # LongRunAvgLatency false
364 # ConvertSpecialMetricTypes true
366 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
369 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
372 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
375 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
387 # IgnoreSelected false
393 # ValuesPercentage false
395 # ReportGuestState false
396 # SubtractGuestState true
400 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
405 # <Page "stock_quotes">
406 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
407 # AddressFamily "any"
413 # CACert "/path/to/ca.crt"
414 # Header "X-Custom-Header: foobar"
417 # MeasureResponseTime false
418 # MeasureResponseCode false
420 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
421 # DSType "GaugeAverage"
429 # <URL "http://localhost:80/test.json">
430 # AddressFamily "any"
431 # Instance "test_http_json"
432 # <Key "testArray/0">
436 # <Key "testArray/1">
440 # <Key "testArrayInbetween/0/blarg">
444 # <Key "testArrayInbetween/1/blub">
448 # <Key "testDirectHit">
452 # <Key "testSubLevelHit/oneMoreLevel">
457 # put this as test.json on your webserver, the above config demonstraces
461 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
463 # "testSubLevelHit":{"oneMoreLevel":6}
465 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
466 # <URL "http://localhost:5984/_stats">
467 # AddressFamily "ipv4"
469 # <Key "httpd/requests/count">
470 # Type "http_requests"
473 # <Key "httpd_request_methods/*/count">
474 # Type "http_request_methods"
477 # <Key "httpd_status_codes/*/count">
478 # Type "http_response_codes"
481 ## Database status metrics:
482 # <URL "http://localhost:5984/_all_dbs">
483 # AddressFamily "ipv6"
485 # <Key "*/doc_count">
488 # <Key "*/doc_del_count">
491 # <Key "*/disk_size">
498 # <URL "http://localhost/stats.xml">
499 # AddressFamily "any"
502 # Instance "some_instance"
504 # Password "thaiNg0I"
508 # CACert "/path/to/ca.crt"
509 # Header "X-Custom-Header: foobar"
512 # <XPath "table[@id=\"magic_level\"]/tr">
514 # #InstancePrefix "prefix-"
515 # InstanceFrom "td[1]"
516 # #PluginInstanceFrom "td[1]"
517 # ValuesFrom "td[2]/span[@class=\"level\"]"
523 # <Query "num_of_customers">
524 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
527 # InstancesFrom "c_key"
528 # ValuesFrom "c_value"
531 # <Database "customers_db">
532 # #Plugin "mycompany"
534 # DriverOption "host" "localhost"
535 # DriverOption "username" "collectd"
536 # DriverOption "password" "AeXohy0O"
537 # DriverOption "dbname" "custdb0"
538 # #SelectDB "custdb0"
539 # Query "num_of_customers"
547 # Device "192.168.0.2:/mnt/nfs"
550 # IgnoreSelected false
551 # ReportByDevice false
553 # ValuesAbsolute true
554 # ValuesPercentage false
558 # Disk "/^[hs]d[a-f][0-9]?$/"
559 # IgnoreSelected false
561 # UdevNameAttr "DEVNAME"
566 # IgnoreSource "192.168.0.1"
567 # SelectNumericQueryTypes true
570 #<Plugin "dpdkevents">
576 # <Event "link_status">
577 # SendEventsOnUpdate true
578 # EnabledPortMask 0xffff
579 # PortName "interface1"
580 # PortName "interface2"
581 # SendNotification false
583 # <Event "keep_alive">
584 # SendEventsOnUpdate true
586 # KeepAliveShmName "/dpdk_keepalive_shm_name"
587 # SendNotification false
597 # RteDriverLibPath "/usr/lib/dpdk-pmd"
599 # SharedMemObj "dpdk_collectd_stats_0"
600 # EnabledPortMask 0xffff
601 # PortName "interface1"
602 # PortName "interface2"
606 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
607 # SocketGroup "collectd"
614 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
615 # Map "multicast" "if_multicast"
620 # Exec "user:group" "/path/to/exec"
621 # NotificationExec "user:group" "/path/to/exec"
625 # ValuesAbsolute true
626 # ValuesPercentage false
630 # <Directory "/path/to/dir">
637 # IncludeHidden false
639 # #FilesSizeType "bytes"
640 # #FilesCountType "files"
641 # #TypeInstance "instance"
646 # MCReceiveFrom "239.2.11.71" "8649"
647 # <Metric "swap_total">
649 # TypeInstance "total"
652 # <Metric "swap_free">
654 # TypeInstance "free"
669 # IgnoreSelected false
673 # <Server "example.com" "50051">
675 # SSLCACertificateFile "/path/to/root.pem"
676 # SSLCertificateFile "/path/to/server.pem"
677 # SSLCertificateKeyFile "/path/to/server.key"
679 # <Listen "0.0.0.0" "50051">
681 # SSLCACertificateFile "/path/to/root.pem"
682 # SSLCertificateFile "/path/to/client.pem"
683 # SSLCertificateKeyFile "/path/to/client.key"
694 # ReportPerNodeHP true
698 # ValuesPercentage false
702 # ReportHardwareCacheEvents true
703 # ReportKernelPMUEvents true
704 # ReportSoftwareEvents true
705 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
706 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
710 #<Plugin "intel_rdt">
717 # IgnoreSelected false
718 # ReportInactive true
724 # Sensor "some_sensor"
725 # Sensor "another_one"
726 # IgnoreSelected false
727 # NotifySensorAdd false
728 # NotifySensorRemove true
729 # NotifySensorNotPresent false
730 # NotifyIPMIConnectionState false
732 # SELSensor "some_sensor"
733 # SELSensor "another_one"
734 # SELIgnoreSelected false
735 # SELClearEvent false
737 # <Instance "remote">
738 # Host "server.example.com"
743 # Sensor "some_sensor"
744 # Sensor "another_one"
745 # IgnoreSelected false
746 # NotifySensorAdd false
747 # NotifySensorRemove true
748 # NotifySensorNotPresent false
749 # NotifyIPMIConnectionState false
751 # SELSensor "some_sensor"
752 # SELSensor "another_one"
753 # SELIgnoreSelected false
754 # SELClearEvent false
767 # IgnoreSelected true
771 # JVMArg "-verbose:jni"
772 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
774 # LoadPlugin "org.collectd.java.Foobar"
775 # <Plugin "org.collectd.java.Foobar">
776 # # To be parsed by the plugin
781 # ReportRelative true
786 # ReportBySerial false
790 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
791 # Script "script1.lua"
792 # Script "script2.lua"
797 # IgnoreSelected false
800 # WatchAdd "node_octets"
801 # WatchAdd "node_rssi"
802 # WatchAdd "is_rx_acl"
803 # WatchAdd "is_scan_active"
813 # McelogClientSocket "/var/run/mcelog-client"
814 # PersistentNotification false
816 # McelogLogfile "/var/log/mcelog"
821 # IgnoreSelected false
825 # <Page "plugin_instance">
829 # Regex "(\\d+) bytes sent"
830 # ExcludeRegex "<lines to be excluded>"
833 # Instance "type_instance"
840 # #Host "memcache.example.com"
841 # Address "127.0.0.1"
847 # ValuesAbsolute true
848 # ValuesPercentage false
854 # RegisterCmd ReadHolding
868 # Instance "foobar" # optional
869 # Collect "data_name"
878 # ClientId "localhost"
885 # CACert "/etc/ssl/ca.crt"
886 # CertificateFile "/etc/ssl/client.crt"
887 # CertificateKeyFile "/etc/ssl/client.pem"
888 # TLSProtocol "tlsv1.2"
889 # CipherSuite "ciphers"
894 # ClientId "localhost"
900 # CACert "/etc/ssl/ca.crt"
901 # CertificateFile "/etc/ssl/client.crt"
902 # CertificateKeyFile "/etc/ssl/client.pem"
903 # TLSProtocol "tlsv1.2"
904 # CipherSuite "ciphers"
910 # Host "database.serv.er"
914 # SSLKey "/path/to/key.pem"
915 # SSLCert "/path/to/cert.pem"
916 # SSLCA "/path/to/ca.pem"
917 # SSLCAPath "/path/to/cas/"
918 # SSLCipher "DHE-RSA-AES256-SHA"
924 # <Database db_name2>
927 # Socket "/var/run/mysql/mysqld.sock"
929 # SlaveNotifications true
934 # Socket "/var/run/mysql/mysqld.sock"
940 # <Host "netapp1.example.com">
945 # Password "aef4Aebe"
952 # GetBufferCache true
964 # IgnoreSelectedIO false
966 # IgnoreSelectedOps false
967 # GetLatency "volume0"
968 # IgnoreSelectedLatency false
975 # IgnoreSelectedCapacity false
978 # IgnoreSelectedSnapshot false
993 # VerboseInterface "All"
994 # QDisc "eth0" "pfifo_fast-1:0"
995 # Class "ppp0" "htb-1:10"
996 # Filter "ppp0" "u32-1:0"
997 # IgnoreSelected false
1000 @LOAD_PLUGIN_NETWORK@<Plugin network>
1002 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
1003 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
1004 # SecurityLevel Encrypt
1008 # ResolveInterval 14400
1009 @LOAD_PLUGIN_NETWORK@ </Server>
1013 # Listen "ff18::efc0:4a42" "25826"
1014 # <Listen "239.192.74.66" "25826">
1015 # SecurityLevel Sign
1016 # AuthFile "/etc/collectd/passwd"
1019 # MaxPacketSize 1452
1021 # # proxy setup (client and server as above):
1024 # # statistics about the network plugin itself
1027 # # "garbage collection"
1029 @LOAD_PLUGIN_NETWORK@</Plugin>
1038 # URL "http://localhost/status?auto"
1041 # CACert "/etc/ssl/ca.crt"
1044 #<Plugin notify_desktop>
1046 # WarningTimeout 5000
1050 #<Plugin notify_email>
1051 # SMTPServer "localhost"
1053 # SMTPUser "my-username"
1054 # SMTPPassword "my-password"
1055 # From "collectd@main0server.com"
1056 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1057 # Subject "Aaaaaa!! %s on %s!!!!!"
1058 # Recipient "email1@domain1.net"
1059 # Recipient "email2@domain2.com"
1062 #<Plugin notify_nagios>
1063 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1069 # ReverseLookups false
1070 # IncludeUnitID true
1074 # UPS "upsname@hostname:port"
1077 # CAPath "/path/to/folder"
1078 # #ConnectTimeout 5000
1084 # CollectLinks "Summary"
1085 # CollectRoutes "Summary"
1086 # CollectTopology "Summary"
1090 # Device "-s localhost:4304"
1091 # Sensor "F10FCA000800"
1092 # IgnoreSelected false
1096 # <Instance "localhost">
1097 # URL "ldap://localhost:389"
1100 # CACert "/path/to/ca.crt"
1107 # StatusFile "/etc/openvpn/openvpn-status.log"
1108 # ImprovedNamingSchema false
1109 # CollectCompression true
1110 # CollectIndividualUsers true
1111 # CollectUserCount false
1115 # <Query "out_of_stock">
1116 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1119 # InstancesFrom "category"
1120 # ValuesFrom "value"
1123 # <Database "product_information">
1124 # #Plugin "warehouse"
1128 # Query "out_of_stock"
1132 #<Plugin ovs_events>
1134 # Address "127.0.0.1"
1135 # Socket "/var/run/openvswitch/db.sock"
1136 # Interfaces "br0" "veth0"
1137 # SendNotification true
1138 # DispatchValues false
1143 # Address "127.0.0.1"
1144 # Socket "/var/run/openvswitch/db.sock"
1145 # Bridges "br0" "br_ext"
1148 #<Plugin pcie_errors>
1150 # ReportMasked false
1151 # PersistentNotifications false
1155 # IncludeDir "/my/include/path"
1156 # BaseName "Collectd::Plugins"
1158 # LoadPlugin Monitorus
1172 # Server "server name"
1173 # Script "script name"
1178 # Host "host.foo.bar"
1182 # SourceAddress "1.2.3.4"
1183 # AddressFamily "any"
1188 #<Plugin postgresql>
1190 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1194 # InstancePrefix "magic"
1198 # <Query rt36_tickets>
1199 # Statement "SELECT COUNT(type) AS count, type \
1200 # FROM (SELECT CASE \
1201 # WHEN resolved = 'epoch' THEN 'open' \
1202 # ELSE 'resolved' END AS type \
1203 # FROM tickets) type \
1207 # InstancePrefix "rt36_tickets"
1208 # InstancesFrom "type"
1209 # ValuesFrom "count"
1213 # # See contrib/postgresql/collectd_insert.sql for details
1214 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1224 # KRBSrvName "kerberos_service_name"
1229 # Service "service_name"
1230 # Query backends # predefined
1231 # Query rt36_tickets
1234 # Service "collectd_store"
1236 # # see collectd.conf(5) for details
1242 # <Server "server_name">
1244 # Collect "udp-answers" "udp-queries"
1245 # Socket "/var/run/pdns.controlsocket"
1247 # <Recursor "recursor_name">
1248 # Collect "questions"
1249 # Collect "cache-hits" "cache-misses"
1250 # Socket "/var/run/pdns_recursor.controlsocket"
1252 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1256 # CollectFileDescriptor true
1257 # CollectContextSwitch true
1258 # CollectMemoryMaps true
1259 # CollectDelayAccounting false
1261 # ProcessMatch "name" "regex"
1262 # <Process "collectd">
1263 # CollectFileDescriptor false
1264 # CollectContextSwitch false
1265 # CollectDelayAccounting true
1267 # <ProcessMatch "name" "regex">
1268 # CollectFileDescriptor false
1269 # CollectContextSwitch true
1275 # IgnoreSelected false
1279 # ModulePath "/path/to/your/python/modules"
1285 # spam "wonderful" "lovely"
1291 # Host "redis.example.com"
1293 # #Socket "/var/run/redis/redis.sock"
1295 # <Query "LLEN myqueue">
1297 # Type "queue_length"
1298 # Instance "myqueue"
1305 # Host "router.example.com"
1308 # Password "dozaiTh4"
1309 # CollectInterface true
1310 # CollectRegistrationTable true
1311 # CollectCPULoad true
1312 # CollectMemory true
1315 # CollectHealth true
1320 # DaemonAddress "unix:/tmp/rrdcached.sock"
1321 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1323 # CreateFilesAsync false
1324 # CollectStatistics true
1328 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1329 # CreateFilesAsync false
1332 # WritesPerSecond 50
1336 # SensorConfigFile "/etc/sensors.conf"
1337 # Sensor "it8712-isa-0290/temperature-temp1"
1338 # Sensor "it8712-isa-0290/fanspeed-fan3"
1339 # Sensor "it8712-isa-0290/voltage-in8"
1340 # IgnoreSelected false
1345 # <Device "AC Voltage">
1346 # Driver "fluke-dmm"
1347 # MinimumInterval 10
1348 # Conn "/dev/ttyUSB2"
1350 # <Device "Sound Level">
1351 # Driver "cem-dt-885x"
1352 # Conn "/dev/ttyUSB1"
1357 # Disk "/^[hs]d[a-f][0-9]?$/"
1358 # IgnoreSelected false
1362 # <Data "powerplus_voltge_input">
1365 # TypeInstance "input_line1"
1366 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1372 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1374 # <Data "std_traffic">
1377 # TypeInstanceOID "IF-MIB::ifDescr"
1378 # #TypeInstancePrefix "port"
1379 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1380 # #FilterOID "IF-MIB::ifOperStatus"
1381 # #FilterValues "1", "2"
1383 # <Data "interface_traffic">
1386 # Plugin "interface"
1387 # PluginInstanceOID "IF-MIB::ifDescr"
1388 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1391 # <Host "some.switch.mydomain.org">
1392 # Address "192.168.0.2"
1394 # Community "community_string"
1395 # Collect "std_traffic"
1400 # <Host "some.server.mydomain.org">
1401 # Address "192.168.0.42"
1403 # Community "another_string"
1404 # Collect "std_traffic" "hr_users"
1406 # <Host "some.ups.mydomain.org">
1407 # Address "192.168.0.3"
1409 # Community "more_communities"
1410 # Collect "powerplus_voltge_input"
1417 #<Plugin snmp_agent>
1418 # <Data "memAvailReal">
1421 # TypeInstance "free"
1422 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1425 # IndexOID "IF-MIB::ifIndex"
1426 # SizeOID "IF-MIB::ifNumber"
1429 # Source "PluginInstance"
1431 # Plugin "interface"
1432 # OIDs "IF-MIB::ifDescr"
1435 # Plugin "interface"
1438 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1446 # DeleteCounters false
1447 # DeleteTimers false
1448 # DeleteGauges false
1451 # TimerPercentile 90.0
1452 # TimerPercentile 95.0
1453 # TimerPercentile 99.0
1461 # ReportByDevice false
1463 # ValuesAbsolute true
1464 # ValuesPercentage false
1469 # <Table "/proc/slabinfo">
1471 # Instance "slabinfo"
1475 # InstancePrefix "active_objs"
1481 # InstancePrefix "objperslab"
1489 # <File "/var/log/exim4/mainlog">
1493 # Regex "S=([1-9][0-9]*)"
1494 # DSType "CounterAdd"
1499 # Regex "\\<R=local_user\\>"
1500 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1501 # DSType "CounterInc"
1503 # Instance "local_user"
1506 # <File "/var/log/nginx/apache-time.log">
1507 # #Use the following log format in nginx:
1508 # #log_format response_time '[$host] "$upstream_response_time" ...'
1511 # Regex "^\\S+ \"([0-9.]+)\""
1512 # <DSType Distribution>
1513 # Percentile 80 # -> latency-foo-80
1514 # Percentile 95 # -> latency-foo-95
1515 # Percentile 99 # -> latency-foo-99
1516 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1517 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1518 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1519 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1520 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1521 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1522 # #BucketType "bucket"
1531 # <Metric "dropped">
1533 # Instance "dropped"
1538 # Instance "wire-realtime"
1542 # Type "alerts_per_second"
1546 # Type "kpackets_wire_per_sec.realtime"
1549 # <File "/var/log/snort/snort.stats">
1550 # Instance "snort-eth0"
1552 # Collect "dropped" "mbps" "alerts" "kpps"
1558 # ListeningPorts false
1559 # AllPortsSummary false
1564 #<Plugin teamspeak2>
1571 # Device "/dev/ttyUSB0"
1576 # ForceUseProcfs false
1578 # IgnoreSelected false
1581 #<Plugin tokyotyrant>
1587 ## None of the following option should be set manually
1588 ## This plugin automatically detect most optimal options
1589 ## Only set values here if:
1590 ## - The module asks you to
1591 ## - You want to disable the collection of some data
1592 ## - Your (Intel) CPU is not supported (yet) by the module
1593 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1594 ## In the last two cases, please open a bug request
1596 # TCCActivationTemp "100"
1598 # PackageCstates "396"
1599 # SystemManagementInterrupt true
1600 # DigitalTemperatureSensor true
1601 # PackageThermalManagement true
1602 # RunningAveragePowerLimit "7"
1606 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1607 # SocketGroup "collectd"
1608 # SocketPerms "0660"
1609 # DeleteSocket false
1613 # UUIDFile "/etc/uuid"
1620 # ShowTemperatures true
1621 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1622 ## then inverted with a IgnoreSelectedTemperature.
1623 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1625 # IgnoreSelectedTemperature true
1627 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1628 ## then inverted with a IgnoreSelectedTemperature.
1629 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1631 # IgnoreSelectedPower true
1635 # This tag support an argument if you want to
1636 # monitor the local instance just use </Instance>
1637 # If you prefer defining another instance you can do
1638 # so by using <Instance "myinstance">
1640 # CollectBackend true
1641 # CollectBan false # Varnish 3 and above
1643 # CollectConnections true
1644 # CollectDirectorDNS false # Varnish 3 only
1646 # CollectFetch false
1648 # CollectObjects false
1649 # CollectPurge false # Varnish 2 only
1650 # CollectSession false
1652 # CollectSMA false # Varnish 2 & 4 only
1654 # CollectSM false # Varnish 2 only
1655 # CollectStruct false
1656 # CollectTotals false
1657 # CollectUptime false # Varnish 3 and above
1659 # CollectVSM false # Varnish 4 only
1660 # CollectWorkers false
1661 # CollectLock false # Varnish 4 only
1662 # CollectMempool false # Varnish 4 only
1663 # CollectManagement false # Varnish 4 only
1664 # CollectSMF false # Varnish 4 only
1665 # CollectVBE false # Varnish 4 only
1666 # CollectMSE false # Varnish-Plus 4 only
1671 # Connection "xen:///"
1672 # RefreshInterval 60
1674 # ReportBlockDevices true
1675 # ReportNetworkInterfaces true
1676 # BlockDevice "name:device"
1677 # BlockDeviceFormat target
1678 # BlockDeviceFormatBasename false
1679 # InterfaceDevice "name:device"
1680 # IgnoreSelected false
1681 # HostnameFormat name
1682 # HostnameMetadataXPath "/instance/name/text()"
1683 # HostnameMetadataNS "http://openstack.org/xmlns/libvirt/nova/1.0"
1684 # InterfaceFormat name
1685 # PluginInstanceFormat name
1687 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin disk_physical disk_allocation disk_capacity"
1688 # PersistentNotification false
1695 #<Plugin write_graphite>
1700 # ReconnectInterval 0
1701 # LogSendErrors true
1703 # Postfix "collectd"
1705 # AlwaysAppendDS false
1706 # EscapeCharacter "_"
1707 # SeparateInstances false
1708 # PreserveSeparator false
1709 # DropDuplicateFields false
1714 #<Plugin write_http>
1716 # URL "http://example.com/collectd-post"
1718 # Password "weCh3ik0"
1721 # CACert "/etc/ssl/ca.crt"
1722 # CAPath "/etc/ssl/certs/"
1723 # ClientKey "/etc/ssl/client.pem"
1724 # ClientCert "/etc/ssl/client.crt"
1725 # ClientKeyPass "secret"
1726 # Header "X-Custom-Header: custom_value"
1727 # SSLVersion "TLSv1"
1729 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1730 # Attribute "key" "value" # only available for KAIROSDB format
1731 # TTL 0 # data ttl, only available for KAIROSDB format
1733 # Notifications false
1741 #<Plugin write_kafka>
1742 # Property "metadata.broker.list" "localhost:9092"
1743 # <Topic "collectd">
1748 #<Plugin write_mongodb>
1754 # Database "auth_db"
1756 # Password "auth_passwd"
1760 #<Plugin write_prometheus>
1764 #<Plugin write_redis>
1769 # Prefix "collectd/"
1773 #<Plugin write_riemann>
1781 # AlwaysAppendDS false
1783 # Notifications true
1784 # CheckThresholds false
1785 # EventServicePrefix ""
1788 # Attribute "foo" "bar"
1791 #<Plugin write_sensu>
1796 # AlwaysAppendDS false
1797 # Notifications true
1799 # EventServicePrefix ""
1800 # MetricHandler "influx"
1801 # MetricHandler "default"
1802 # NotificationHandler "flapjack"
1803 # NotificationHandler "howling_monkey"
1806 # Attribute "foo" "bar"
1809 #<Plugin write_stackdriver>
1810 # Project "stackdriver-account"
1811 # CredentialFile "/path/to/gcp-project-id-12345.json"
1812 # Email "123456789012@developer.gserviceaccount.com"
1813 # <Resource "global">
1814 # Label "project_id" "gcp-project-id"
1816 # Url "https://monitoring.googleapis.com/v3"
1819 #<Plugin write_syslog>
1824 # MessageFormat "human"
1827 # AlwaysAppendDS false
1831 #<Plugin write_tsdb>
1835 # HostTags "status=production"
1837 # AlwaysAppendDS false
1846 ##############################################################################
1847 # Filter configuration #
1848 #----------------------------------------------------------------------------#
1849 # The following configures collectd's filtering mechanism. Before changing #
1850 # anything in this section, please read the `FILTER CONFIGURATION' section #
1851 # in the collectd.conf(5) manual page. #
1852 ##############################################################################
1854 # Load required matches:
1855 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1856 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1857 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1858 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1859 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1861 # Load required targets:
1862 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1863 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1864 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1865 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1866 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1868 #----------------------------------------------------------------------------#
1869 # The following block demonstrates the default behavior if no filtering is #
1870 # configured at all: All values will be sent to all available write plugins. #
1871 #----------------------------------------------------------------------------#
1873 #<Chain "PostCache">
1877 ##############################################################################
1878 # Threshold configuration #
1879 #----------------------------------------------------------------------------#
1880 # The following outlines how to configure collectd's threshold checking #
1881 # plugin. The plugin and possible configuration options are documented in #
1882 # the collectd-threshold(5) manual page. #
1883 ##############################################################################
1885 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1889 # WarningMax 1000.00
1891 # FailureMax 1200.00
1896 # <Plugin "interface">
1898 # <Type "if_octets">
1899 # FailureMax 10000000
1913 # WarningMin 100000000
1918 # DataSource "midterm"