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_GCM_TRUE@LoadPlugin write_gcm
217 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
218 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
219 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
220 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
221 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
222 #@BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@LoadPlugin write_prometheus
223 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
224 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
225 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
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"
661 # <Server "example.com" "50051">
663 # SSLCACertificateFile "/path/to/root.pem"
664 # SSLCertificateFile "/path/to/server.pem"
665 # SSLCertificateKeyFile "/path/to/server.key"
667 # <Listen "0.0.0.0" "50051">
669 # SSLCACertificateFile "/path/to/root.pem"
670 # SSLCertificateFile "/path/to/client.pem"
671 # SSLCertificateKeyFile "/path/to/client.key"
682 # ReportPerNodeHP true
686 # ValuesPercentage false
690 # ReportHardwareCacheEvents true
691 # ReportKernelPMUEvents true
692 # ReportSoftwareEvents true
693 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
694 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
698 #<Plugin "intel_rdt">
704 # IgnoreSelected false
705 # ReportInactive true
711 # Sensor "some_sensor"
712 # Sensor "another_one"
713 # IgnoreSelected false
714 # NotifySensorAdd false
715 # NotifySensorRemove true
716 # NotifySensorNotPresent false
717 # NotifyIPMIConnectionState false
719 # SELSensor "some_sensor"
720 # SELSensor "another_one"
721 # SELIgnoreSelected false
722 # SELClearEvent false
724 # <Instance "remote">
725 # Host "server.example.com"
730 # Sensor "some_sensor"
731 # Sensor "another_one"
732 # IgnoreSelected false
733 # NotifySensorAdd false
734 # NotifySensorRemove true
735 # NotifySensorNotPresent false
736 # NotifyIPMIConnectionState false
738 # SELSensor "some_sensor"
739 # SELSensor "another_one"
740 # SELIgnoreSelected false
741 # SELClearEvent false
754 # IgnoreSelected true
758 # JVMArg "-verbose:jni"
759 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
761 # LoadPlugin "org.collectd.java.Foobar"
762 # <Plugin "org.collectd.java.Foobar">
763 # # To be parsed by the plugin
768 # ReportRelative true
773 # ReportBySerial false
777 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
778 # Script "script1.lua"
779 # Script "script2.lua"
784 # IgnoreSelected false
787 # WatchAdd "node_octets"
788 # WatchAdd "node_rssi"
789 # WatchAdd "is_rx_acl"
790 # WatchAdd "is_scan_active"
800 # McelogClientSocket "/var/run/mcelog-client"
801 # PersistentNotification false
803 # McelogLogfile "/var/log/mcelog"
808 # IgnoreSelected false
812 # <Page "plugin_instance">
816 # Regex "(\\d+) bytes sent"
817 # ExcludeRegex "<lines to be excluded>"
820 # Instance "type_instance"
827 # #Host "memcache.example.com"
828 # Address "127.0.0.1"
834 # ValuesAbsolute true
835 # ValuesPercentage false
841 # RegisterCmd ReadHolding
855 # Instance "foobar" # optional
856 # Collect "data_name"
865 # ClientId "localhost"
872 # CACert "/etc/ssl/ca.crt"
873 # CertificateFile "/etc/ssl/client.crt"
874 # CertificateKeyFile "/etc/ssl/client.pem"
875 # TLSProtocol "tlsv1.2"
876 # CipherSuite "ciphers"
881 # ClientId "localhost"
887 # CACert "/etc/ssl/ca.crt"
888 # CertificateFile "/etc/ssl/client.crt"
889 # CertificateKeyFile "/etc/ssl/client.pem"
890 # TLSProtocol "tlsv1.2"
891 # CipherSuite "ciphers"
897 # Host "database.serv.er"
901 # SSLKey "/path/to/key.pem"
902 # SSLCert "/path/to/cert.pem"
903 # SSLCA "/path/to/ca.pem"
904 # SSLCAPath "/path/to/cas/"
905 # SSLCipher "DHE-RSA-AES256-SHA"
911 # <Database db_name2>
914 # Socket "/var/run/mysql/mysqld.sock"
916 # SlaveNotifications true
921 # Socket "/var/run/mysql/mysqld.sock"
927 # <Host "netapp1.example.com">
932 # Password "aef4Aebe"
939 # GetBufferCache true
951 # IgnoreSelectedIO false
953 # IgnoreSelectedOps false
954 # GetLatency "volume0"
955 # IgnoreSelectedLatency false
962 # IgnoreSelectedCapacity false
965 # IgnoreSelectedSnapshot false
980 # VerboseInterface "All"
981 # QDisc "eth0" "pfifo_fast-1:0"
982 # Class "ppp0" "htb-1:10"
983 # Filter "ppp0" "u32-1:0"
984 # IgnoreSelected false
987 @LOAD_PLUGIN_NETWORK@<Plugin network>
989 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
990 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
991 # SecurityLevel Encrypt
995 # ResolveInterval 14400
996 @LOAD_PLUGIN_NETWORK@ </Server>
1000 # Listen "ff18::efc0:4a42" "25826"
1001 # <Listen "239.192.74.66" "25826">
1002 # SecurityLevel Sign
1003 # AuthFile "/etc/collectd/passwd"
1006 # MaxPacketSize 1452
1008 # # proxy setup (client and server as above):
1011 # # statistics about the network plugin itself
1014 # # "garbage collection"
1016 @LOAD_PLUGIN_NETWORK@</Plugin>
1025 # URL "http://localhost/status?auto"
1028 # CACert "/etc/ssl/ca.crt"
1031 #<Plugin notify_desktop>
1033 # WarningTimeout 5000
1037 #<Plugin notify_email>
1038 # SMTPServer "localhost"
1040 # SMTPUser "my-username"
1041 # SMTPPassword "my-password"
1042 # From "collectd@main0server.com"
1043 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1044 # Subject "Aaaaaa!! %s on %s!!!!!"
1045 # Recipient "email1@domain1.net"
1046 # Recipient "email2@domain2.com"
1049 #<Plugin notify_nagios>
1050 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1056 # ReverseLookups false
1057 # IncludeUnitID true
1061 # UPS "upsname@hostname:port"
1064 # CAPath "/path/to/folder"
1065 # #ConnectTimeout 5000
1071 # CollectLinks "Summary"
1072 # CollectRoutes "Summary"
1073 # CollectTopology "Summary"
1077 # Device "-s localhost:4304"
1078 # Sensor "F10FCA000800"
1079 # IgnoreSelected false
1083 # <Instance "localhost">
1084 # URL "ldap://localhost:389"
1087 # CACert "/path/to/ca.crt"
1094 # StatusFile "/etc/openvpn/openvpn-status.log"
1095 # ImprovedNamingSchema false
1096 # CollectCompression true
1097 # CollectIndividualUsers true
1098 # CollectUserCount false
1102 # <Query "out_of_stock">
1103 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1106 # InstancesFrom "category"
1107 # ValuesFrom "value"
1110 # <Database "product_information">
1111 # #Plugin "warehouse"
1115 # Query "out_of_stock"
1119 #<Plugin ovs_events>
1121 # Address "127.0.0.1"
1122 # Socket "/var/run/openvswitch/db.sock"
1123 # Interfaces "br0" "veth0"
1124 # SendNotification true
1125 # DispatchValues false
1130 # Address "127.0.0.1"
1131 # Socket "/var/run/openvswitch/db.sock"
1132 # Bridges "br0" "br_ext"
1135 #<Plugin pcie_errors>
1137 # ReportMasked false
1138 # PersistentNotifications false
1142 # IncludeDir "/my/include/path"
1143 # BaseName "Collectd::Plugins"
1145 # LoadPlugin Monitorus
1159 # Server "server name"
1160 # Script "script name"
1165 # Host "host.foo.bar"
1169 # SourceAddress "1.2.3.4"
1170 # AddressFamily "any"
1175 #<Plugin postgresql>
1177 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1181 # InstancePrefix "magic"
1185 # <Query rt36_tickets>
1186 # Statement "SELECT COUNT(type) AS count, type \
1187 # FROM (SELECT CASE \
1188 # WHEN resolved = 'epoch' THEN 'open' \
1189 # ELSE 'resolved' END AS type \
1190 # FROM tickets) type \
1194 # InstancePrefix "rt36_tickets"
1195 # InstancesFrom "type"
1196 # ValuesFrom "count"
1200 # # See contrib/postgresql/collectd_insert.sql for details
1201 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1211 # KRBSrvName "kerberos_service_name"
1216 # Service "service_name"
1217 # Query backends # predefined
1218 # Query rt36_tickets
1221 # Service "collectd_store"
1223 # # see collectd.conf(5) for details
1229 # <Server "server_name">
1231 # Collect "udp-answers" "udp-queries"
1232 # Socket "/var/run/pdns.controlsocket"
1234 # <Recursor "recursor_name">
1235 # Collect "questions"
1236 # Collect "cache-hits" "cache-misses"
1237 # Socket "/var/run/pdns_recursor.controlsocket"
1239 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1243 # CollectFileDescriptor true
1244 # CollectContextSwitch true
1245 # CollectMemoryMaps true
1246 # CollectDelayAccounting false
1248 # ProcessMatch "name" "regex"
1249 # <Process "collectd">
1250 # CollectFileDescriptor false
1251 # CollectContextSwitch false
1252 # CollectDelayAccounting true
1254 # <ProcessMatch "name" "regex">
1255 # CollectFileDescriptor false
1256 # CollectContextSwitch true
1262 # IgnoreSelected false
1266 # ModulePath "/path/to/your/python/modules"
1272 # spam "wonderful" "lovely"
1278 # Host "redis.example.com"
1280 # #Socket "/var/run/redis/redis.sock"
1282 # <Query "LLEN myqueue">
1284 # Type "queue_length"
1285 # Instance "myqueue"
1292 # Host "router.example.com"
1295 # Password "dozaiTh4"
1296 # CollectInterface true
1297 # CollectRegistrationTable true
1298 # CollectCPULoad true
1299 # CollectMemory true
1302 # CollectHealth true
1307 # DaemonAddress "unix:/tmp/rrdcached.sock"
1308 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1310 # CreateFilesAsync false
1311 # CollectStatistics true
1315 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1316 # CreateFilesAsync false
1319 # WritesPerSecond 50
1323 # SensorConfigFile "/etc/sensors.conf"
1324 # Sensor "it8712-isa-0290/temperature-temp1"
1325 # Sensor "it8712-isa-0290/fanspeed-fan3"
1326 # Sensor "it8712-isa-0290/voltage-in8"
1327 # IgnoreSelected false
1332 # <Device "AC Voltage">
1333 # Driver "fluke-dmm"
1334 # MinimumInterval 10
1335 # Conn "/dev/ttyUSB2"
1337 # <Device "Sound Level">
1338 # Driver "cem-dt-885x"
1339 # Conn "/dev/ttyUSB1"
1344 # Disk "/^[hs]d[a-f][0-9]?$/"
1345 # IgnoreSelected false
1349 # <Data "powerplus_voltge_input">
1352 # TypeInstance "input_line1"
1353 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1359 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1361 # <Data "std_traffic">
1364 # TypeInstanceOID "IF-MIB::ifDescr"
1365 # #TypeInstancePrefix "port"
1366 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1367 # #FilterOID "IF-MIB::ifOperStatus"
1368 # #FilterValues "1", "2"
1370 # <Data "interface_traffic">
1373 # Plugin "interface"
1374 # PluginInstanceOID "IF-MIB::ifDescr"
1375 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1378 # <Host "some.switch.mydomain.org">
1379 # Address "192.168.0.2"
1381 # Community "community_string"
1382 # Collect "std_traffic"
1387 # <Host "some.server.mydomain.org">
1388 # Address "192.168.0.42"
1390 # Community "another_string"
1391 # Collect "std_traffic" "hr_users"
1393 # <Host "some.ups.mydomain.org">
1394 # Address "192.168.0.3"
1396 # Community "more_communities"
1397 # Collect "powerplus_voltge_input"
1404 #<Plugin snmp_agent>
1405 # <Data "memAvailReal">
1408 # TypeInstance "free"
1409 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1412 # IndexOID "IF-MIB::ifIndex"
1413 # SizeOID "IF-MIB::ifNumber"
1416 # Source "PluginInstance"
1418 # Plugin "interface"
1419 # OIDs "IF-MIB::ifDescr"
1422 # Plugin "interface"
1425 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1433 # DeleteCounters false
1434 # DeleteTimers false
1435 # DeleteGauges false
1438 # TimerPercentile 90.0
1439 # TimerPercentile 95.0
1440 # TimerPercentile 99.0
1448 # ReportByDevice false
1450 # ValuesAbsolute true
1451 # ValuesPercentage false
1456 # <Table "/proc/slabinfo">
1458 # Instance "slabinfo"
1462 # InstancePrefix "active_objs"
1468 # InstancePrefix "objperslab"
1476 # <File "/var/log/exim4/mainlog">
1480 # Regex "S=([1-9][0-9]*)"
1481 # DSType "CounterAdd"
1486 # Regex "\\<R=local_user\\>"
1487 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1488 # DSType "CounterInc"
1490 # Instance "local_user"
1493 # <File "/var/log/nginx/apache-time.log">
1494 # #Use the following log format in nginx:
1495 # #log_format response_time '[$host] "$upstream_response_time" ...'
1498 # Regex "^\\S+ \"([0-9.]+)\""
1499 # <DSType Distribution>
1500 # Percentile 80 # -> latency-foo-80
1501 # Percentile 95 # -> latency-foo-95
1502 # Percentile 99 # -> latency-foo-99
1503 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1504 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1505 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1506 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1507 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1508 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1509 # #BucketType "bucket"
1518 # <Metric "dropped">
1520 # Instance "dropped"
1525 # Instance "wire-realtime"
1529 # Type "alerts_per_second"
1533 # Type "kpackets_wire_per_sec.realtime"
1536 # <File "/var/log/snort/snort.stats">
1537 # Instance "snort-eth0"
1539 # Collect "dropped" "mbps" "alerts" "kpps"
1545 # ListeningPorts false
1546 # AllPortsSummary false
1551 #<Plugin teamspeak2>
1558 # Device "/dev/ttyUSB0"
1563 # ForceUseProcfs false
1565 # IgnoreSelected false
1568 #<Plugin tokyotyrant>
1574 ## None of the following option should be set manually
1575 ## This plugin automatically detect most optimal options
1576 ## Only set values here if:
1577 ## - The module asks you to
1578 ## - You want to disable the collection of some data
1579 ## - Your (Intel) CPU is not supported (yet) by the module
1580 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1581 ## In the last two cases, please open a bug request
1583 # TCCActivationTemp "100"
1585 # PackageCstates "396"
1586 # SystemManagementInterrupt true
1587 # DigitalTemperatureSensor true
1588 # PackageThermalManagement true
1589 # RunningAveragePowerLimit "7"
1593 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1594 # SocketGroup "collectd"
1595 # SocketPerms "0660"
1596 # DeleteSocket false
1600 # UUIDFile "/etc/uuid"
1607 # ShowTemperatures true
1608 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1609 ## then inverted with a IgnoreSelectedTemperature.
1610 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1612 # IgnoreSelectedTemperature true
1614 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1615 ## then inverted with a IgnoreSelectedTemperature.
1616 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1618 # IgnoreSelectedPower true
1622 # This tag support an argument if you want to
1623 # monitor the local instance just use </Instance>
1624 # If you prefer defining another instance you can do
1625 # so by using <Instance "myinstance">
1627 # CollectBackend true
1628 # CollectBan false # Varnish 3 and above
1630 # CollectConnections true
1631 # CollectDirectorDNS false # Varnish 3 only
1633 # CollectFetch false
1635 # CollectObjects false
1636 # CollectPurge false # Varnish 2 only
1637 # CollectSession false
1639 # CollectSMA false # Varnish 2 & 4 only
1641 # CollectSM false # Varnish 2 only
1642 # CollectStruct false
1643 # CollectTotals false
1644 # CollectUptime false # Varnish 3 and above
1646 # CollectVSM false # Varnish 4 only
1647 # CollectWorkers false
1648 # CollectLock false # Varnish 4 only
1649 # CollectMempool false # Varnish 4 only
1650 # CollectManagement false # Varnish 4 only
1651 # CollectSMF false # Varnish 4 only
1652 # CollectVBE false # Varnish 4 only
1653 # CollectMSE false # Varnish-Plus 4 only
1658 # Connection "xen:///"
1659 # RefreshInterval 60
1661 # BlockDevice "name:device"
1662 # BlockDeviceFormat target
1663 # BlockDeviceFormatBasename false
1664 # InterfaceDevice "name:device"
1665 # IgnoreSelected false
1666 # HostnameFormat name
1667 # InterfaceFormat name
1668 # PluginInstanceFormat name
1670 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
1671 # PersistentNotification false
1679 # Project "gcp-project-id"
1680 # CredentialFile "/path/to/gcp-project-id-12345.json"
1681 # Email "123456789012@developer.gserviceaccount.com"
1682 # <Resource "global">
1683 # project_id "gcp-project-id"
1685 # Url "https://www.googleapis.com/cloudmonitoring/v2beta2"
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_tsdb>
1805 # HostTags "status=production"
1807 # AlwaysAppendDS false
1816 ##############################################################################
1817 # Filter configuration #
1818 #----------------------------------------------------------------------------#
1819 # The following configures collectd's filtering mechanism. Before changing #
1820 # anything in this section, please read the `FILTER CONFIGURATION' section #
1821 # in the collectd.conf(5) manual page. #
1822 ##############################################################################
1824 # Load required matches:
1825 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1826 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1827 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1828 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1829 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1831 # Load required targets:
1832 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1833 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1834 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1835 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1836 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1838 #----------------------------------------------------------------------------#
1839 # The following block demonstrates the default behavior if no filtering is #
1840 # configured at all: All values will be sent to all available write plugins. #
1841 #----------------------------------------------------------------------------#
1843 #<Chain "PostCache">
1847 ##############################################################################
1848 # Threshold configuration #
1849 #----------------------------------------------------------------------------#
1850 # The following outlines how to configure collectd's threshold checking #
1851 # plugin. The plugin and possible configuration options are documented in #
1852 # the collectd-threshold(5) manual page. #
1853 ##############################################################################
1855 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1859 # WarningMax 1000.00
1861 # FailureMax 1200.00
1866 # <Plugin "interface">
1868 # <Type "if_octets">
1869 # FailureMax 10000000
1883 # WarningMin 100000000
1888 # DataSource "midterm"