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"
406 # AddressFamily "any"
412 # CACert "/path/to/ca.crt"
413 # Header "X-Custom-Header: foobar"
416 # MeasureResponseTime false
417 # MeasureResponseCode false
419 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
420 # DSType "GaugeAverage"
428 # <URL "http://localhost:80/test.json">
429 # AddressFamily "any"
430 # Instance "test_http_json"
431 # <Key "testArray/0">
435 # <Key "testArray/1">
439 # <Key "testArrayInbetween/0/blarg">
443 # <Key "testArrayInbetween/1/blub">
447 # <Key "testDirectHit">
451 # <Key "testSubLevelHit/oneMoreLevel">
456 # put this as test.json on your webserver, the above config demonstraces
460 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
462 # "testSubLevelHit":{"oneMoreLevel":6}
464 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
465 # <URL "http://localhost:5984/_stats">
466 # AddressFamily "ipv4"
468 # <Key "httpd/requests/count">
469 # Type "http_requests"
472 # <Key "httpd_request_methods/*/count">
473 # Type "http_request_methods"
476 # <Key "httpd_status_codes/*/count">
477 # Type "http_response_codes"
480 ## Database status metrics:
481 # <URL "http://localhost:5984/_all_dbs">
482 # AddressFamily "ipv6"
484 # <Key "*/doc_count">
487 # <Key "*/doc_del_count">
490 # <Key "*/disk_size">
497 # <URL "http://localhost/stats.xml">
500 # Instance "some_instance"
502 # Password "thaiNg0I"
506 # CACert "/path/to/ca.crt"
507 # Header "X-Custom-Header: foobar"
510 # <XPath "table[@id=\"magic_level\"]/tr">
512 # #InstancePrefix "prefix-"
513 # InstanceFrom "td[1]"
514 # #PluginInstanceFrom "td[1]"
515 # ValuesFrom "td[2]/span[@class=\"level\"]"
521 # <Query "num_of_customers">
522 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
525 # InstancesFrom "c_key"
526 # ValuesFrom "c_value"
529 # <Database "customers_db">
530 # #Plugin "mycompany"
532 # DriverOption "host" "localhost"
533 # DriverOption "username" "collectd"
534 # DriverOption "password" "AeXohy0O"
535 # DriverOption "dbname" "custdb0"
536 # #SelectDB "custdb0"
537 # Query "num_of_customers"
545 # Device "192.168.0.2:/mnt/nfs"
548 # IgnoreSelected false
549 # ReportByDevice false
551 # ValuesAbsolute true
552 # ValuesPercentage false
556 # Disk "/^[hs]d[a-f][0-9]?$/"
557 # IgnoreSelected false
559 # UdevNameAttr "DEVNAME"
564 # IgnoreSource "192.168.0.1"
565 # SelectNumericQueryTypes true
568 #<Plugin "dpdkevents">
574 # <Event "link_status">
575 # SendEventsOnUpdate true
576 # EnabledPortMask 0xffff
577 # PortName "interface1"
578 # PortName "interface2"
579 # SendNotification false
581 # <Event "keep_alive">
582 # SendEventsOnUpdate true
584 # KeepAliveShmName "/dpdk_keepalive_shm_name"
585 # SendNotification false
595 # RteDriverLibPath "/usr/lib/dpdk-pmd"
597 # SharedMemObj "dpdk_collectd_stats_0"
598 # EnabledPortMask 0xffff
599 # PortName "interface1"
600 # PortName "interface2"
604 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
605 # SocketGroup "collectd"
612 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
613 # Map "multicast" "if_multicast"
618 # Exec "user:group" "/path/to/exec"
619 # NotificationExec "user:group" "/path/to/exec"
623 # ValuesAbsolute true
624 # ValuesPercentage false
628 # <Directory "/path/to/dir">
635 # IncludeHidden false
637 # #FilesSizeType "bytes"
638 # #FilesCountType "files"
639 # #TypeInstance "instance"
644 # MCReceiveFrom "239.2.11.71" "8649"
645 # <Metric "swap_total">
647 # TypeInstance "total"
650 # <Metric "swap_free">
652 # TypeInstance "free"
667 # IgnoreSelected false
671 # <Server "example.com" "50051">
673 # SSLCACertificateFile "/path/to/root.pem"
674 # SSLCertificateFile "/path/to/server.pem"
675 # SSLCertificateKeyFile "/path/to/server.key"
677 # <Listen "0.0.0.0" "50051">
679 # SSLCACertificateFile "/path/to/root.pem"
680 # SSLCertificateFile "/path/to/client.pem"
681 # SSLCertificateKeyFile "/path/to/client.key"
692 # ReportPerNodeHP true
696 # ValuesPercentage false
700 # ReportHardwareCacheEvents true
701 # ReportKernelPMUEvents true
702 # ReportSoftwareEvents true
703 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
704 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
708 #<Plugin "intel_rdt">
714 # IgnoreSelected false
715 # ReportInactive true
721 # Sensor "some_sensor"
722 # Sensor "another_one"
723 # IgnoreSelected false
724 # NotifySensorAdd false
725 # NotifySensorRemove true
726 # NotifySensorNotPresent false
727 # NotifyIPMIConnectionState false
729 # SELSensor "some_sensor"
730 # SELSensor "another_one"
731 # SELIgnoreSelected false
732 # SELClearEvent false
734 # <Instance "remote">
735 # Host "server.example.com"
740 # Sensor "some_sensor"
741 # Sensor "another_one"
742 # IgnoreSelected false
743 # NotifySensorAdd false
744 # NotifySensorRemove true
745 # NotifySensorNotPresent false
746 # NotifyIPMIConnectionState false
748 # SELSensor "some_sensor"
749 # SELSensor "another_one"
750 # SELIgnoreSelected false
751 # SELClearEvent false
764 # IgnoreSelected true
768 # JVMArg "-verbose:jni"
769 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
771 # LoadPlugin "org.collectd.java.Foobar"
772 # <Plugin "org.collectd.java.Foobar">
773 # # To be parsed by the plugin
778 # ReportRelative true
783 # ReportBySerial false
787 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
788 # Script "script1.lua"
789 # Script "script2.lua"
794 # IgnoreSelected false
797 # WatchAdd "node_octets"
798 # WatchAdd "node_rssi"
799 # WatchAdd "is_rx_acl"
800 # WatchAdd "is_scan_active"
810 # McelogClientSocket "/var/run/mcelog-client"
811 # PersistentNotification false
813 # McelogLogfile "/var/log/mcelog"
818 # IgnoreSelected false
822 # <Page "plugin_instance">
826 # Regex "(\\d+) bytes sent"
827 # ExcludeRegex "<lines to be excluded>"
830 # Instance "type_instance"
837 # #Host "memcache.example.com"
838 # Address "127.0.0.1"
844 # ValuesAbsolute true
845 # ValuesPercentage false
851 # RegisterCmd ReadHolding
865 # Instance "foobar" # optional
866 # Collect "data_name"
875 # ClientId "localhost"
882 # CACert "/etc/ssl/ca.crt"
883 # CertificateFile "/etc/ssl/client.crt"
884 # CertificateKeyFile "/etc/ssl/client.pem"
885 # TLSProtocol "tlsv1.2"
886 # CipherSuite "ciphers"
891 # ClientId "localhost"
897 # CACert "/etc/ssl/ca.crt"
898 # CertificateFile "/etc/ssl/client.crt"
899 # CertificateKeyFile "/etc/ssl/client.pem"
900 # TLSProtocol "tlsv1.2"
901 # CipherSuite "ciphers"
907 # Host "database.serv.er"
911 # SSLKey "/path/to/key.pem"
912 # SSLCert "/path/to/cert.pem"
913 # SSLCA "/path/to/ca.pem"
914 # SSLCAPath "/path/to/cas/"
915 # SSLCipher "DHE-RSA-AES256-SHA"
921 # <Database db_name2>
924 # Socket "/var/run/mysql/mysqld.sock"
926 # SlaveNotifications true
931 # Socket "/var/run/mysql/mysqld.sock"
937 # <Host "netapp1.example.com">
942 # Password "aef4Aebe"
949 # GetBufferCache true
961 # IgnoreSelectedIO false
963 # IgnoreSelectedOps false
964 # GetLatency "volume0"
965 # IgnoreSelectedLatency false
972 # IgnoreSelectedCapacity false
975 # IgnoreSelectedSnapshot false
990 # VerboseInterface "All"
991 # QDisc "eth0" "pfifo_fast-1:0"
992 # Class "ppp0" "htb-1:10"
993 # Filter "ppp0" "u32-1:0"
994 # IgnoreSelected false
997 @LOAD_PLUGIN_NETWORK@<Plugin network>
999 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
1000 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
1001 # SecurityLevel Encrypt
1005 # ResolveInterval 14400
1006 @LOAD_PLUGIN_NETWORK@ </Server>
1010 # Listen "ff18::efc0:4a42" "25826"
1011 # <Listen "239.192.74.66" "25826">
1012 # SecurityLevel Sign
1013 # AuthFile "/etc/collectd/passwd"
1016 # MaxPacketSize 1452
1018 # # proxy setup (client and server as above):
1021 # # statistics about the network plugin itself
1024 # # "garbage collection"
1026 @LOAD_PLUGIN_NETWORK@</Plugin>
1035 # URL "http://localhost/status?auto"
1038 # CACert "/etc/ssl/ca.crt"
1041 #<Plugin notify_desktop>
1043 # WarningTimeout 5000
1047 #<Plugin notify_email>
1048 # SMTPServer "localhost"
1050 # SMTPUser "my-username"
1051 # SMTPPassword "my-password"
1052 # From "collectd@main0server.com"
1053 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1054 # Subject "Aaaaaa!! %s on %s!!!!!"
1055 # Recipient "email1@domain1.net"
1056 # Recipient "email2@domain2.com"
1059 #<Plugin notify_nagios>
1060 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1066 # ReverseLookups false
1067 # IncludeUnitID true
1071 # UPS "upsname@hostname:port"
1074 # CAPath "/path/to/folder"
1075 # #ConnectTimeout 5000
1081 # CollectLinks "Summary"
1082 # CollectRoutes "Summary"
1083 # CollectTopology "Summary"
1087 # Device "-s localhost:4304"
1088 # Sensor "F10FCA000800"
1089 # IgnoreSelected false
1093 # <Instance "localhost">
1094 # URL "ldap://localhost:389"
1097 # CACert "/path/to/ca.crt"
1104 # StatusFile "/etc/openvpn/openvpn-status.log"
1105 # ImprovedNamingSchema false
1106 # CollectCompression true
1107 # CollectIndividualUsers true
1108 # CollectUserCount false
1112 # <Query "out_of_stock">
1113 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1116 # InstancesFrom "category"
1117 # ValuesFrom "value"
1120 # <Database "product_information">
1121 # #Plugin "warehouse"
1125 # Query "out_of_stock"
1129 #<Plugin ovs_events>
1131 # Address "127.0.0.1"
1132 # Socket "/var/run/openvswitch/db.sock"
1133 # Interfaces "br0" "veth0"
1134 # SendNotification true
1135 # DispatchValues false
1140 # Address "127.0.0.1"
1141 # Socket "/var/run/openvswitch/db.sock"
1142 # Bridges "br0" "br_ext"
1145 #<Plugin pcie_errors>
1147 # ReportMasked false
1148 # PersistentNotifications false
1152 # IncludeDir "/my/include/path"
1153 # BaseName "Collectd::Plugins"
1155 # LoadPlugin Monitorus
1169 # Server "server name"
1170 # Script "script name"
1175 # Host "host.foo.bar"
1179 # SourceAddress "1.2.3.4"
1180 # AddressFamily "any"
1185 #<Plugin postgresql>
1187 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1191 # InstancePrefix "magic"
1195 # <Query rt36_tickets>
1196 # Statement "SELECT COUNT(type) AS count, type \
1197 # FROM (SELECT CASE \
1198 # WHEN resolved = 'epoch' THEN 'open' \
1199 # ELSE 'resolved' END AS type \
1200 # FROM tickets) type \
1204 # InstancePrefix "rt36_tickets"
1205 # InstancesFrom "type"
1206 # ValuesFrom "count"
1210 # # See contrib/postgresql/collectd_insert.sql for details
1211 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1221 # KRBSrvName "kerberos_service_name"
1226 # Service "service_name"
1227 # Query backends # predefined
1228 # Query rt36_tickets
1231 # Service "collectd_store"
1233 # # see collectd.conf(5) for details
1239 # <Server "server_name">
1241 # Collect "udp-answers" "udp-queries"
1242 # Socket "/var/run/pdns.controlsocket"
1244 # <Recursor "recursor_name">
1245 # Collect "questions"
1246 # Collect "cache-hits" "cache-misses"
1247 # Socket "/var/run/pdns_recursor.controlsocket"
1249 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1253 # CollectFileDescriptor true
1254 # CollectContextSwitch true
1255 # CollectMemoryMaps true
1256 # CollectDelayAccounting false
1258 # ProcessMatch "name" "regex"
1259 # <Process "collectd">
1260 # CollectFileDescriptor false
1261 # CollectContextSwitch false
1262 # CollectDelayAccounting true
1264 # <ProcessMatch "name" "regex">
1265 # CollectFileDescriptor false
1266 # CollectContextSwitch true
1272 # IgnoreSelected false
1276 # ModulePath "/path/to/your/python/modules"
1282 # spam "wonderful" "lovely"
1288 # Host "redis.example.com"
1290 # #Socket "/var/run/redis/redis.sock"
1292 # <Query "LLEN myqueue">
1294 # Type "queue_length"
1295 # Instance "myqueue"
1302 # Host "router.example.com"
1305 # Password "dozaiTh4"
1306 # CollectInterface true
1307 # CollectRegistrationTable true
1308 # CollectCPULoad true
1309 # CollectMemory true
1312 # CollectHealth true
1317 # DaemonAddress "unix:/tmp/rrdcached.sock"
1318 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1320 # CreateFilesAsync false
1321 # CollectStatistics true
1325 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1326 # CreateFilesAsync false
1329 # WritesPerSecond 50
1333 # SensorConfigFile "/etc/sensors.conf"
1334 # Sensor "it8712-isa-0290/temperature-temp1"
1335 # Sensor "it8712-isa-0290/fanspeed-fan3"
1336 # Sensor "it8712-isa-0290/voltage-in8"
1337 # IgnoreSelected false
1342 # <Device "AC Voltage">
1343 # Driver "fluke-dmm"
1344 # MinimumInterval 10
1345 # Conn "/dev/ttyUSB2"
1347 # <Device "Sound Level">
1348 # Driver "cem-dt-885x"
1349 # Conn "/dev/ttyUSB1"
1354 # Disk "/^[hs]d[a-f][0-9]?$/"
1355 # IgnoreSelected false
1359 # <Data "powerplus_voltge_input">
1362 # TypeInstance "input_line1"
1363 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1369 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1371 # <Data "std_traffic">
1374 # TypeInstanceOID "IF-MIB::ifDescr"
1375 # #TypeInstancePrefix "port"
1376 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1377 # #FilterOID "IF-MIB::ifOperStatus"
1378 # #FilterValues "1", "2"
1380 # <Data "interface_traffic">
1383 # Plugin "interface"
1384 # PluginInstanceOID "IF-MIB::ifDescr"
1385 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1388 # <Host "some.switch.mydomain.org">
1389 # Address "192.168.0.2"
1391 # Community "community_string"
1392 # Collect "std_traffic"
1397 # <Host "some.server.mydomain.org">
1398 # Address "192.168.0.42"
1400 # Community "another_string"
1401 # Collect "std_traffic" "hr_users"
1403 # <Host "some.ups.mydomain.org">
1404 # Address "192.168.0.3"
1406 # Community "more_communities"
1407 # Collect "powerplus_voltge_input"
1414 #<Plugin snmp_agent>
1415 # <Data "memAvailReal">
1418 # TypeInstance "free"
1419 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1422 # IndexOID "IF-MIB::ifIndex"
1423 # SizeOID "IF-MIB::ifNumber"
1426 # Source "PluginInstance"
1428 # Plugin "interface"
1429 # OIDs "IF-MIB::ifDescr"
1432 # Plugin "interface"
1435 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1443 # DeleteCounters false
1444 # DeleteTimers false
1445 # DeleteGauges false
1448 # TimerPercentile 90.0
1449 # TimerPercentile 95.0
1450 # TimerPercentile 99.0
1458 # ReportByDevice false
1460 # ValuesAbsolute true
1461 # ValuesPercentage false
1466 # <Table "/proc/slabinfo">
1468 # Instance "slabinfo"
1472 # InstancePrefix "active_objs"
1478 # InstancePrefix "objperslab"
1486 # <File "/var/log/exim4/mainlog">
1490 # Regex "S=([1-9][0-9]*)"
1491 # DSType "CounterAdd"
1496 # Regex "\\<R=local_user\\>"
1497 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1498 # DSType "CounterInc"
1500 # Instance "local_user"
1503 # <File "/var/log/nginx/apache-time.log">
1504 # #Use the following log format in nginx:
1505 # #log_format response_time '[$host] "$upstream_response_time" ...'
1508 # Regex "^\\S+ \"([0-9.]+)\""
1509 # <DSType Distribution>
1510 # Percentile 80 # -> latency-foo-80
1511 # Percentile 95 # -> latency-foo-95
1512 # Percentile 99 # -> latency-foo-99
1513 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1514 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1515 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1516 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1517 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1518 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1519 # #BucketType "bucket"
1528 # <Metric "dropped">
1530 # Instance "dropped"
1535 # Instance "wire-realtime"
1539 # Type "alerts_per_second"
1543 # Type "kpackets_wire_per_sec.realtime"
1546 # <File "/var/log/snort/snort.stats">
1547 # Instance "snort-eth0"
1549 # Collect "dropped" "mbps" "alerts" "kpps"
1555 # ListeningPorts false
1556 # AllPortsSummary false
1561 #<Plugin teamspeak2>
1568 # Device "/dev/ttyUSB0"
1573 # ForceUseProcfs false
1575 # IgnoreSelected false
1578 #<Plugin tokyotyrant>
1584 ## None of the following option should be set manually
1585 ## This plugin automatically detect most optimal options
1586 ## Only set values here if:
1587 ## - The module asks you to
1588 ## - You want to disable the collection of some data
1589 ## - Your (Intel) CPU is not supported (yet) by the module
1590 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1591 ## In the last two cases, please open a bug request
1593 # TCCActivationTemp "100"
1595 # PackageCstates "396"
1596 # SystemManagementInterrupt true
1597 # DigitalTemperatureSensor true
1598 # PackageThermalManagement true
1599 # RunningAveragePowerLimit "7"
1603 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1604 # SocketGroup "collectd"
1605 # SocketPerms "0660"
1606 # DeleteSocket false
1610 # UUIDFile "/etc/uuid"
1617 # ShowTemperatures true
1618 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1619 ## then inverted with a IgnoreSelectedTemperature.
1620 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1622 # IgnoreSelectedTemperature true
1624 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1625 ## then inverted with a IgnoreSelectedTemperature.
1626 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1628 # IgnoreSelectedPower true
1632 # This tag support an argument if you want to
1633 # monitor the local instance just use </Instance>
1634 # If you prefer defining another instance you can do
1635 # so by using <Instance "myinstance">
1637 # CollectBackend true
1638 # CollectBan false # Varnish 3 and above
1640 # CollectConnections true
1641 # CollectDirectorDNS false # Varnish 3 only
1643 # CollectFetch false
1645 # CollectObjects false
1646 # CollectPurge false # Varnish 2 only
1647 # CollectSession false
1649 # CollectSMA false # Varnish 2 & 4 only
1651 # CollectSM false # Varnish 2 only
1652 # CollectStruct false
1653 # CollectTotals false
1654 # CollectUptime false # Varnish 3 and above
1656 # CollectVSM false # Varnish 4 only
1657 # CollectWorkers false
1658 # CollectLock false # Varnish 4 only
1659 # CollectMempool false # Varnish 4 only
1660 # CollectManagement false # Varnish 4 only
1661 # CollectSMF false # Varnish 4 only
1662 # CollectVBE false # Varnish 4 only
1663 # CollectMSE false # Varnish-Plus 4 only
1668 # Connection "xen:///"
1669 # RefreshInterval 60
1671 # BlockDevice "name:device"
1672 # BlockDeviceFormat target
1673 # BlockDeviceFormatBasename false
1674 # InterfaceDevice "name:device"
1675 # IgnoreSelected false
1676 # HostnameFormat name
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"