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_TSDB_TRUE@LoadPlugin write_tsdb
226 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
227 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
228 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
229 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
230 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
232 ##############################################################################
233 # Plugin configuration #
234 #----------------------------------------------------------------------------#
235 # In this section configuration stubs for each plugin are provided. A desc- #
236 # ription of those options is available in the collectd.conf(5) manual page. #
237 ##############################################################################
239 #<Plugin aggregation>
241 # #Host "unspecified"
243 # #PluginInstance "unspecified"
245 # #TypeInstance "unspecified"
248 # GroupBy "TypeInstance"
252 # CalculateAverage true
253 # CalculateMinimum false
254 # CalculateMaximum false
255 # CalculateStddev false
266 # Exchange "amq.fanout"
267 # RoutingKey "collectd"
270 # ConnectionRetryDelay 0
286 # <Instance "notify">
290 # <Instance "telemetry">
299 # URL "http://localhost/status?auto"
302 # CACert "/etc/ssl/ca.crt"
310 # PersistentConnection true
318 # URL "http://localhost/ascent/status/"
321 # CACert "/etc/ssl/ca.crt"
324 #<Plugin "barometer">
325 # Device "/dev/i2c-0";
328 # TemperatureOffset 0.0
331 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
335 # ValuesPercentage false
336 # ReportDegraded false
341 # URL "http://localhost:8053/"
347 # ZoneMaintStats true
348 # ResolverStats false
356 # Zone "127.in-addr.arpa/IN"
361 # LongRunAvgLatency false
362 # ConvertSpecialMetricTypes true
364 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
367 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
370 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
373 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
385 # IgnoreSelected false
391 # ValuesPercentage false
393 # ReportGuestState false
394 # SubtractGuestState true
398 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
403 # <Page "stock_quotes">
404 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
410 # CACert "/path/to/ca.crt"
411 # Header "X-Custom-Header: foobar"
414 # MeasureResponseTime false
415 # MeasureResponseCode false
417 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
418 # DSType "GaugeAverage"
426 # <URL "http://localhost:80/test.json">
427 # Instance "test_http_json"
428 # <Key "testArray/0">
432 # <Key "testArray/1">
436 # <Key "testArrayInbetween/0/blarg">
440 # <Key "testArrayInbetween/1/blub">
444 # <Key "testDirectHit">
448 # <Key "testSubLevelHit/oneMoreLevel">
453 # put this as test.json on your webserver, the above config demonstraces
457 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
459 # "testSubLevelHit":{"oneMoreLevel":6}
461 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
462 # <URL "http://localhost:5984/_stats">
464 # <Key "httpd/requests/count">
465 # Type "http_requests"
468 # <Key "httpd_request_methods/*/count">
469 # Type "http_request_methods"
472 # <Key "httpd_status_codes/*/count">
473 # Type "http_response_codes"
476 ## Database status metrics:
477 # <URL "http://localhost:5984/_all_dbs">
479 # <Key "*/doc_count">
482 # <Key "*/doc_del_count">
485 # <Key "*/disk_size">
492 # <URL "http://localhost/stats.xml">
495 # Instance "some_instance"
497 # Password "thaiNg0I"
501 # CACert "/path/to/ca.crt"
502 # Header "X-Custom-Header: foobar"
505 # <XPath "table[@id=\"magic_level\"]/tr">
507 # #InstancePrefix "prefix-"
508 # InstanceFrom "td[1]"
509 # #PluginInstanceFrom "td[1]"
510 # ValuesFrom "td[2]/span[@class=\"level\"]"
516 # <Query "num_of_customers">
517 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
520 # InstancesFrom "c_key"
521 # ValuesFrom "c_value"
524 # <Database "customers_db">
525 # #Plugin "mycompany"
527 # DriverOption "host" "localhost"
528 # DriverOption "username" "collectd"
529 # DriverOption "password" "AeXohy0O"
530 # DriverOption "dbname" "custdb0"
531 # #SelectDB "custdb0"
532 # Query "num_of_customers"
540 # Device "192.168.0.2:/mnt/nfs"
543 # IgnoreSelected false
544 # ReportByDevice false
546 # ValuesAbsolute true
547 # ValuesPercentage false
551 # Disk "/^[hs]d[a-f][0-9]?$/"
552 # IgnoreSelected false
554 # UdevNameAttr "DEVNAME"
559 # IgnoreSource "192.168.0.1"
560 # SelectNumericQueryTypes true
563 #<Plugin "dpdkevents">
569 # <Event "link_status">
570 # SendEventsOnUpdate true
571 # EnabledPortMask 0xffff
572 # PortName "interface1"
573 # PortName "interface2"
574 # SendNotification false
576 # <Event "keep_alive">
577 # SendEventsOnUpdate true
579 # KeepAliveShmName "/dpdk_keepalive_shm_name"
580 # SendNotification false
590 # RteDriverLibPath "/usr/lib/dpdk-pmd"
592 # SharedMemObj "dpdk_collectd_stats_0"
593 # EnabledPortMask 0xffff
594 # PortName "interface1"
595 # PortName "interface2"
599 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
600 # SocketGroup "collectd"
607 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
608 # Map "multicast" "if_multicast"
613 # Exec "user:group" "/path/to/exec"
614 # NotificationExec "user:group" "/path/to/exec"
618 # ValuesAbsolute true
619 # ValuesPercentage false
623 # <Directory "/path/to/dir">
630 # IncludeHidden false
632 # #FilesSizeType "bytes"
633 # #FilesCountType "files"
634 # #TypeInstance "instance"
639 # MCReceiveFrom "239.2.11.71" "8649"
640 # <Metric "swap_total">
642 # TypeInstance "total"
645 # <Metric "swap_free">
647 # TypeInstance "free"
660 # <Server "example.com" "50051">
662 # SSLCACertificateFile "/path/to/root.pem"
663 # SSLCertificateFile "/path/to/server.pem"
664 # SSLCertificateKeyFile "/path/to/server.key"
666 # <Listen "0.0.0.0" "50051">
668 # SSLCACertificateFile "/path/to/root.pem"
669 # SSLCertificateFile "/path/to/client.pem"
670 # SSLCertificateKeyFile "/path/to/client.key"
681 # ReportPerNodeHP true
685 # ValuesPercentage false
689 # ReportHardwareCacheEvents true
690 # ReportKernelPMUEvents true
691 # ReportSoftwareEvents true
692 # EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
693 # HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
697 #<Plugin "intel_rdt">
703 # IgnoreSelected false
704 # ReportInactive true
710 # Sensor "some_sensor"
711 # Sensor "another_one"
712 # IgnoreSelected false
713 # NotifySensorAdd false
714 # NotifySensorRemove true
715 # NotifySensorNotPresent false
716 # NotifyIPMIConnectionState false
718 # SELSensor "some_sensor"
719 # SELSensor "another_one"
720 # SELIgnoreSelected false
721 # SELClearEvent false
723 # <Instance "remote">
724 # Host "server.example.com"
729 # Sensor "some_sensor"
730 # Sensor "another_one"
731 # IgnoreSelected false
732 # NotifySensorAdd false
733 # NotifySensorRemove true
734 # NotifySensorNotPresent false
735 # NotifyIPMIConnectionState false
737 # SELSensor "some_sensor"
738 # SELSensor "another_one"
739 # SELIgnoreSelected false
740 # SELClearEvent false
753 # IgnoreSelected true
757 # JVMArg "-verbose:jni"
758 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
760 # LoadPlugin "org.collectd.java.Foobar"
761 # <Plugin "org.collectd.java.Foobar">
762 # # To be parsed by the plugin
767 # ReportRelative true
772 # ReportBySerial false
776 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
777 # Script "script1.lua"
778 # Script "script2.lua"
783 # IgnoreSelected false
786 # WatchAdd "node_octets"
787 # WatchAdd "node_rssi"
788 # WatchAdd "is_rx_acl"
789 # WatchAdd "is_scan_active"
799 # McelogClientSocket "/var/run/mcelog-client"
800 # PersistentNotification false
802 # McelogLogfile "/var/log/mcelog"
807 # IgnoreSelected false
811 # <Page "plugin_instance">
815 # Regex "(\\d+) bytes sent"
816 # ExcludeRegex "<lines to be excluded>"
819 # Instance "type_instance"
826 # #Host "memcache.example.com"
827 # Address "127.0.0.1"
833 # ValuesAbsolute true
834 # ValuesPercentage false
840 # RegisterCmd ReadHolding
854 # Instance "foobar" # optional
855 # Collect "data_name"
864 # ClientId "localhost"
871 # CACert "/etc/ssl/ca.crt"
872 # CertificateFile "/etc/ssl/client.crt"
873 # CertificateKeyFile "/etc/ssl/client.pem"
874 # TLSProtocol "tlsv1.2"
875 # CipherSuite "ciphers"
880 # ClientId "localhost"
886 # CACert "/etc/ssl/ca.crt"
887 # CertificateFile "/etc/ssl/client.crt"
888 # CertificateKeyFile "/etc/ssl/client.pem"
889 # TLSProtocol "tlsv1.2"
890 # CipherSuite "ciphers"
896 # Host "database.serv.er"
900 # SSLKey "/path/to/key.pem"
901 # SSLCert "/path/to/cert.pem"
902 # SSLCA "/path/to/ca.pem"
903 # SSLCAPath "/path/to/cas/"
904 # SSLCipher "DHE-RSA-AES256-SHA"
910 # <Database db_name2>
913 # Socket "/var/run/mysql/mysqld.sock"
915 # SlaveNotifications true
920 # Socket "/var/run/mysql/mysqld.sock"
926 # <Host "netapp1.example.com">
931 # Password "aef4Aebe"
938 # GetBufferCache true
950 # IgnoreSelectedIO false
952 # IgnoreSelectedOps false
953 # GetLatency "volume0"
954 # IgnoreSelectedLatency false
961 # IgnoreSelectedCapacity false
964 # IgnoreSelectedSnapshot false
979 # VerboseInterface "All"
980 # QDisc "eth0" "pfifo_fast-1:0"
981 # Class "ppp0" "htb-1:10"
982 # Filter "ppp0" "u32-1:0"
983 # IgnoreSelected false
986 @LOAD_PLUGIN_NETWORK@<Plugin network>
988 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
989 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
990 # SecurityLevel Encrypt
994 # ResolveInterval 14400
995 @LOAD_PLUGIN_NETWORK@ </Server>
999 # Listen "ff18::efc0:4a42" "25826"
1000 # <Listen "239.192.74.66" "25826">
1001 # SecurityLevel Sign
1002 # AuthFile "/etc/collectd/passwd"
1005 # MaxPacketSize 1452
1007 # # proxy setup (client and server as above):
1010 # # statistics about the network plugin itself
1013 # # "garbage collection"
1015 @LOAD_PLUGIN_NETWORK@</Plugin>
1024 # URL "http://localhost/status?auto"
1027 # CACert "/etc/ssl/ca.crt"
1030 #<Plugin notify_desktop>
1032 # WarningTimeout 5000
1036 #<Plugin notify_email>
1037 # SMTPServer "localhost"
1039 # SMTPUser "my-username"
1040 # SMTPPassword "my-password"
1041 # From "collectd@main0server.com"
1042 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
1043 # Subject "Aaaaaa!! %s on %s!!!!!"
1044 # Recipient "email1@domain1.net"
1045 # Recipient "email2@domain2.com"
1048 #<Plugin notify_nagios>
1049 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
1055 # ReverseLookups false
1056 # IncludeUnitID true
1060 # UPS "upsname@hostname:port"
1063 # CAPath "/path/to/folder"
1064 # #ConnectTimeout 5000
1070 # CollectLinks "Summary"
1071 # CollectRoutes "Summary"
1072 # CollectTopology "Summary"
1076 # Device "-s localhost:4304"
1077 # Sensor "F10FCA000800"
1078 # IgnoreSelected false
1082 # <Instance "localhost">
1083 # URL "ldap://localhost:389"
1086 # CACert "/path/to/ca.crt"
1093 # StatusFile "/etc/openvpn/openvpn-status.log"
1094 # ImprovedNamingSchema false
1095 # CollectCompression true
1096 # CollectIndividualUsers true
1097 # CollectUserCount false
1101 # <Query "out_of_stock">
1102 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
1105 # InstancesFrom "category"
1106 # ValuesFrom "value"
1109 # <Database "product_information">
1110 # #Plugin "warehouse"
1114 # Query "out_of_stock"
1118 #<Plugin ovs_events>
1120 # Address "127.0.0.1"
1121 # Socket "/var/run/openvswitch/db.sock"
1122 # Interfaces "br0" "veth0"
1123 # SendNotification true
1124 # DispatchValues false
1129 # Address "127.0.0.1"
1130 # Socket "/var/run/openvswitch/db.sock"
1131 # Bridges "br0" "br_ext"
1134 #<Plugin pcie_errors>
1136 # ReportMasked false
1137 # PersistentNotifications false
1141 # IncludeDir "/my/include/path"
1142 # BaseName "Collectd::Plugins"
1144 # LoadPlugin Monitorus
1158 # Server "server name"
1159 # Script "script name"
1164 # Host "host.foo.bar"
1168 # SourceAddress "1.2.3.4"
1169 # AddressFamily "any"
1174 #<Plugin postgresql>
1176 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1180 # InstancePrefix "magic"
1184 # <Query rt36_tickets>
1185 # Statement "SELECT COUNT(type) AS count, type \
1186 # FROM (SELECT CASE \
1187 # WHEN resolved = 'epoch' THEN 'open' \
1188 # ELSE 'resolved' END AS type \
1189 # FROM tickets) type \
1193 # InstancePrefix "rt36_tickets"
1194 # InstancesFrom "type"
1195 # ValuesFrom "count"
1199 # # See contrib/postgresql/collectd_insert.sql for details
1200 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1210 # KRBSrvName "kerberos_service_name"
1215 # Service "service_name"
1216 # Query backends # predefined
1217 # Query rt36_tickets
1220 # Service "collectd_store"
1222 # # see collectd.conf(5) for details
1228 # <Server "server_name">
1230 # Collect "udp-answers" "udp-queries"
1231 # Socket "/var/run/pdns.controlsocket"
1233 # <Recursor "recursor_name">
1234 # Collect "questions"
1235 # Collect "cache-hits" "cache-misses"
1236 # Socket "/var/run/pdns_recursor.controlsocket"
1238 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1242 # CollectFileDescriptor true
1243 # CollectContextSwitch true
1244 # CollectMemoryMaps true
1245 # CollectDelayAccounting false
1247 # ProcessMatch "name" "regex"
1248 # <Process "collectd">
1249 # CollectFileDescriptor false
1250 # CollectContextSwitch false
1251 # CollectDelayAccounting true
1253 # <ProcessMatch "name" "regex">
1254 # CollectFileDescriptor false
1255 # CollectContextSwitch true
1261 # IgnoreSelected false
1265 # ModulePath "/path/to/your/python/modules"
1271 # spam "wonderful" "lovely"
1277 # Host "redis.example.com"
1279 # #Socket "/var/run/redis/redis.sock"
1281 # <Query "LLEN myqueue">
1283 # Type "queue_length"
1284 # Instance "myqueue"
1291 # Host "router.example.com"
1294 # Password "dozaiTh4"
1295 # CollectInterface true
1296 # CollectRegistrationTable true
1297 # CollectCPULoad true
1298 # CollectMemory true
1301 # CollectHealth true
1306 # DaemonAddress "unix:/tmp/rrdcached.sock"
1307 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1309 # CreateFilesAsync false
1310 # CollectStatistics true
1314 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1315 # CreateFilesAsync false
1318 # WritesPerSecond 50
1322 # SensorConfigFile "/etc/sensors.conf"
1323 # Sensor "it8712-isa-0290/temperature-temp1"
1324 # Sensor "it8712-isa-0290/fanspeed-fan3"
1325 # Sensor "it8712-isa-0290/voltage-in8"
1326 # IgnoreSelected false
1331 # <Device "AC Voltage">
1332 # Driver "fluke-dmm"
1333 # MinimumInterval 10
1334 # Conn "/dev/ttyUSB2"
1336 # <Device "Sound Level">
1337 # Driver "cem-dt-885x"
1338 # Conn "/dev/ttyUSB1"
1343 # Disk "/^[hs]d[a-f][0-9]?$/"
1344 # IgnoreSelected false
1348 # <Data "powerplus_voltge_input">
1351 # TypeInstance "input_line1"
1352 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1358 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1360 # <Data "std_traffic">
1363 # TypeInstanceOID "IF-MIB::ifDescr"
1364 # #TypeInstancePrefix "port"
1365 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1366 # #FilterOID "IF-MIB::ifOperStatus"
1367 # #FilterValues "1", "2"
1369 # <Data "interface_traffic">
1372 # Plugin "interface"
1373 # PluginInstanceOID "IF-MIB::ifDescr"
1374 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1377 # <Host "some.switch.mydomain.org">
1378 # Address "192.168.0.2"
1380 # Community "community_string"
1381 # Collect "std_traffic"
1386 # <Host "some.server.mydomain.org">
1387 # Address "192.168.0.42"
1389 # Community "another_string"
1390 # Collect "std_traffic" "hr_users"
1392 # <Host "some.ups.mydomain.org">
1393 # Address "192.168.0.3"
1395 # Community "more_communities"
1396 # Collect "powerplus_voltge_input"
1403 #<Plugin snmp_agent>
1404 # <Data "memAvailReal">
1407 # TypeInstance "free"
1408 # OIDs "1.3.6.1.4.1.2021.4.6.0"
1411 # IndexOID "IF-MIB::ifIndex"
1412 # SizeOID "IF-MIB::ifNumber"
1415 # Source "PluginInstance"
1417 # Plugin "interface"
1418 # OIDs "IF-MIB::ifDescr"
1421 # Plugin "interface"
1424 # OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1432 # DeleteCounters false
1433 # DeleteTimers false
1434 # DeleteGauges false
1437 # TimerPercentile 90.0
1438 # TimerPercentile 95.0
1439 # TimerPercentile 99.0
1447 # ReportByDevice false
1449 # ValuesAbsolute true
1450 # ValuesPercentage false
1455 # <Table "/proc/slabinfo">
1457 # Instance "slabinfo"
1461 # InstancePrefix "active_objs"
1467 # InstancePrefix "objperslab"
1475 # <File "/var/log/exim4/mainlog">
1479 # Regex "S=([1-9][0-9]*)"
1480 # DSType "CounterAdd"
1485 # Regex "\\<R=local_user\\>"
1486 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1487 # DSType "CounterInc"
1489 # Instance "local_user"
1492 # <File "/var/log/nginx/apache-time.log">
1493 # #Use the following log format in nginx:
1494 # #log_format response_time '[$host] "$upstream_response_time" ...'
1497 # Regex "^\\S+ \"([0-9.]+)\""
1498 # <DSType Distribution>
1499 # Percentile 80 # -> latency-foo-80
1500 # Percentile 95 # -> latency-foo-95
1501 # Percentile 99 # -> latency-foo-99
1502 # Bucket 0 0.1 # -> bucket-latency-foo-0_0.1
1503 # Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2
1504 # Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5
1505 # Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1
1506 # Bucket 1.0 2.0 # -> bucket-latency-foo-1_2
1507 # Bucket 2.0 0 # -> bucket-latency-foo-2_inf
1508 # #BucketType "bucket"
1517 # <Metric "dropped">
1519 # Instance "dropped"
1524 # Instance "wire-realtime"
1528 # Type "alerts_per_second"
1532 # Type "kpackets_wire_per_sec.realtime"
1535 # <File "/var/log/snort/snort.stats">
1536 # Instance "snort-eth0"
1538 # Collect "dropped" "mbps" "alerts" "kpps"
1544 # ListeningPorts false
1545 # AllPortsSummary false
1550 #<Plugin teamspeak2>
1557 # Device "/dev/ttyUSB0"
1562 # ForceUseProcfs false
1564 # IgnoreSelected false
1567 #<Plugin tokyotyrant>
1573 ## None of the following option should be set manually
1574 ## This plugin automatically detect most optimal options
1575 ## Only set values here if:
1576 ## - The module asks you to
1577 ## - You want to disable the collection of some data
1578 ## - Your (Intel) CPU is not supported (yet) by the module
1579 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1580 ## In the last two cases, please open a bug request
1582 # TCCActivationTemp "100"
1584 # PackageCstates "396"
1585 # SystemManagementInterrupt true
1586 # DigitalTemperatureSensor true
1587 # PackageThermalManagement true
1588 # RunningAveragePowerLimit "7"
1592 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1593 # SocketGroup "collectd"
1594 # SocketPerms "0660"
1595 # DeleteSocket false
1599 # UUIDFile "/etc/uuid"
1606 # ShowTemperatures true
1607 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1608 ## then inverted with a IgnoreSelectedTemperature.
1609 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1611 # IgnoreSelectedTemperature true
1613 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1614 ## then inverted with a IgnoreSelectedTemperature.
1615 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1617 # IgnoreSelectedPower true
1621 # This tag support an argument if you want to
1622 # monitor the local instance just use </Instance>
1623 # If you prefer defining another instance you can do
1624 # so by using <Instance "myinstance">
1626 # CollectBackend true
1627 # CollectBan false # Varnish 3 and above
1629 # CollectConnections true
1630 # CollectDirectorDNS false # Varnish 3 only
1632 # CollectFetch false
1634 # CollectObjects false
1635 # CollectPurge false # Varnish 2 only
1636 # CollectSession false
1638 # CollectSMA false # Varnish 2 & 4 only
1640 # CollectSM false # Varnish 2 only
1641 # CollectStruct false
1642 # CollectTotals false
1643 # CollectUptime false # Varnish 3 and above
1645 # CollectVSM false # Varnish 4 only
1646 # CollectWorkers false
1647 # CollectLock false # Varnish 4 only
1648 # CollectMempool false # Varnish 4 only
1649 # CollectManagement false # Varnish 4 only
1650 # CollectSMF false # Varnish 4 only
1651 # CollectVBE false # Varnish 4 only
1652 # CollectMSE false # Varnish-Plus 4 only
1657 # Connection "xen:///"
1658 # RefreshInterval 60
1660 # BlockDevice "name:device"
1661 # BlockDeviceFormat target
1662 # BlockDeviceFormatBasename false
1663 # InterfaceDevice "name:device"
1664 # IgnoreSelected false
1665 # HostnameFormat name
1666 # InterfaceFormat name
1667 # PluginInstanceFormat name
1669 # ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin"
1670 # PersistentNotification false
1677 #<Plugin write_graphite>
1682 # ReconnectInterval 0
1683 # LogSendErrors true
1685 # Postfix "collectd"
1687 # AlwaysAppendDS false
1688 # EscapeCharacter "_"
1689 # SeparateInstances false
1690 # PreserveSeparator false
1691 # DropDuplicateFields false
1695 #<Plugin write_http>
1697 # URL "http://example.com/collectd-post"
1699 # Password "weCh3ik0"
1702 # CACert "/etc/ssl/ca.crt"
1703 # CAPath "/etc/ssl/certs/"
1704 # ClientKey "/etc/ssl/client.pem"
1705 # ClientCert "/etc/ssl/client.crt"
1706 # ClientKeyPass "secret"
1707 # Header "X-Custom-Header: custom_value"
1708 # SSLVersion "TLSv1"
1710 # Prefix "collectd" # metric prefix, only available for KAIROSDB format
1711 # Attribute "key" "value" # only available for KAIROSDB format
1712 # TTL 0 # data ttl, only available for KAIROSDB format
1714 # Notifications false
1722 #<Plugin write_kafka>
1723 # Property "metadata.broker.list" "localhost:9092"
1724 # <Topic "collectd">
1729 #<Plugin write_mongodb>
1735 # Database "auth_db"
1737 # Password "auth_passwd"
1741 #<Plugin write_prometheus>
1745 #<Plugin write_redis>
1750 # Prefix "collectd/"
1754 #<Plugin write_riemann>
1762 # AlwaysAppendDS false
1764 # Notifications true
1765 # CheckThresholds false
1766 # EventServicePrefix ""
1769 # Attribute "foo" "bar"
1772 #<Plugin write_sensu>
1777 # AlwaysAppendDS false
1778 # Notifications true
1780 # EventServicePrefix ""
1781 # MetricHandler "influx"
1782 # MetricHandler "default"
1783 # NotificationHandler "flapjack"
1784 # NotificationHandler "howling_monkey"
1787 # Attribute "foo" "bar"
1790 #<Plugin write_tsdb>
1794 # HostTags "status=production"
1796 # AlwaysAppendDS false
1805 ##############################################################################
1806 # Filter configuration #
1807 #----------------------------------------------------------------------------#
1808 # The following configures collectd's filtering mechanism. Before changing #
1809 # anything in this section, please read the `FILTER CONFIGURATION' section #
1810 # in the collectd.conf(5) manual page. #
1811 ##############################################################################
1813 # Load required matches:
1814 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1815 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1816 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1817 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1818 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1820 # Load required targets:
1821 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1822 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1823 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1824 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1825 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1827 #----------------------------------------------------------------------------#
1828 # The following block demonstrates the default behavior if no filtering is #
1829 # configured at all: All values will be sent to all available write plugins. #
1830 #----------------------------------------------------------------------------#
1832 #<Chain "PostCache">
1836 ##############################################################################
1837 # Threshold configuration #
1838 #----------------------------------------------------------------------------#
1839 # The following outlines how to configure collectd's threshold checking #
1840 # plugin. The plugin and possible configuration options are documented in #
1841 # the collectd-threshold(5) manual page. #
1842 ##############################################################################
1844 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1848 # WarningMax 1000.00
1850 # FailureMax 1200.00
1855 # <Plugin "interface">
1857 # <Type "if_octets">
1858 # FailureMax 10000000
1872 # WarningMin 100000000
1877 # DataSource "midterm"