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_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
103 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
104 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
105 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
106 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
107 @LOAD_PLUGIN_CSV@LoadPlugin csv
108 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
109 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
110 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
111 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
112 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
113 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
114 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
115 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
116 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
117 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
118 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
119 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
120 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
121 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
122 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
123 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
124 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
125 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
126 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
127 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
128 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
129 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
130 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
131 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
132 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
133 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
134 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
135 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
136 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
137 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
138 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
139 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
140 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
141 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
142 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
143 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
144 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
145 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
146 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
147 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
148 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
149 @LOAD_PLUGIN_NETWORK@LoadPlugin network
150 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
151 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
152 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
153 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
154 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
155 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
156 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
157 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
158 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
159 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
160 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
161 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
162 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
163 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
164 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
165 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
166 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
167 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
168 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
169 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
170 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
171 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
172 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
173 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
174 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
175 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
176 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
177 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
178 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
179 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
180 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
181 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
182 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
183 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
184 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
185 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
186 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
187 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
188 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
189 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
190 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
191 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
192 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
193 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
194 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
195 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
196 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
197 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
198 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
199 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
200 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
201 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
202 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
203 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
204 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
205 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
206 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
207 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
208 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
209 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
210 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
211 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
212 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
213 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
214 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
216 ##############################################################################
217 # Plugin configuration #
218 #----------------------------------------------------------------------------#
219 # In this section configuration stubs for each plugin are provided. A desc- #
220 # ription of those options is available in the collectd.conf(5) manual page. #
221 ##############################################################################
223 #<Plugin aggregation>
225 # #Host "unspecified"
227 # #PluginInstance "unspecified"
229 # #TypeInstance "unspecified"
232 # GroupBy "TypeInstance"
236 # CalculateAverage true
237 # CalculateMinimum false
238 # CalculateMaximum false
239 # CalculateStddev false
250 # Exchange "amq.fanout"
251 # RoutingKey "collectd"
254 # ConnectionRetryDelay 0
260 # URL "http://localhost/status?auto"
263 # CACert "/etc/ssl/ca.crt"
271 # PersistentConnection true
279 # URL "http://localhost/ascent/status/"
282 # CACert "/etc/ssl/ca.crt"
285 #<Plugin "barometer">
286 # Device "/dev/i2c-0";
289 # TemperatureOffset 0.0
292 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
296 # ValuesPercentage false
297 # ReportDegraded false
301 # URL "http://localhost:8053/"
307 # ZoneMaintStats true
308 # ResolverStats false
316 # Zone "127.in-addr.arpa/IN"
321 # LongRunAvgLatency false
322 # ConvertSpecialMetricTypes true
324 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
327 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
330 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
333 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
339 # IgnoreSelected false
345 # ValuesPercentage false
349 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
354 # <Page "stock_quotes">
355 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
361 # CACert "/path/to/ca.crt"
362 # Header "X-Custom-Header: foobar"
365 # MeasureResponseTime false
366 # MeasureResponseCode false
368 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
369 # DSType "GaugeAverage"
377 # <URL "http://localhost:80/test.json">
378 # Instance "test_http_json"
379 # <Key "testArray/0">
383 # <Key "testArray/1">
387 # <Key "testArrayInbetween/0/blarg">
391 # <Key "testArrayInbetween/1/blub">
395 # <Key "testDirectHit">
399 # <Key "testSubLevelHit/oneMoreLevel">
404 # put this as test.json on your webserver, the above config demonstraces
408 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
410 # "testSubLevelHit":{"oneMoreLevel":6}
412 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
413 # <URL "http://localhost:5984/_stats">
415 # <Key "httpd/requests/count">
416 # Type "http_requests"
419 # <Key "httpd_request_methods/*/count">
420 # Type "http_request_methods"
423 # <Key "httpd_status_codes/*/count">
424 # Type "http_response_codes"
427 ## Database status metrics:
428 # <URL "http://localhost:5984/_all_dbs">
430 # <Key "*/doc_count">
433 # <Key "*/doc_del_count">
436 # <Key "*/disk_size">
443 # <URL "http://localhost/stats.xml">
445 # Instance "some_instance"
447 # Password "thaiNg0I"
451 # CACert "/path/to/ca.crt"
452 # Header "X-Custom-Header: foobar"
455 # <XPath "table[@id=\"magic_level\"]/tr">
457 # #InstancePrefix "prefix-"
458 # InstanceFrom "td[1]"
459 # ValuesFrom "td[2]/span[@class=\"level\"]"
465 # <Query "num_of_customers">
466 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
469 # InstancesFrom "c_key"
470 # ValuesFrom "c_value"
473 # <Database "customers_db">
475 # DriverOption "host" "localhost"
476 # DriverOption "username" "collectd"
477 # DriverOption "password" "AeXohy0O"
478 # DriverOption "dbname" "custdb0"
479 # #SelectDB "custdb0"
480 # Query "num_of_customers"
488 # Device "192.168.0.2:/mnt/nfs"
491 # IgnoreSelected false
492 # ReportByDevice false
494 # ValuesAbsolute true
495 # ValuesPercentage false
499 # Disk "/^[hs]d[a-f][0-9]?$/"
500 # IgnoreSelected false
502 # UdevNameAttr "DEVNAME"
507 # IgnoreSource "192.168.0.1"
508 # SelectNumericQueryTypes true
512 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
513 # SocketGroup "collectd"
520 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
521 # Map "multicast" "if_multicast"
526 # Exec "user:group" "/path/to/exec"
527 # NotificationExec "user:group" "/path/to/exec"
531 # ValuesAbsolute true
532 # ValuesPercentage false
536 # <Directory "/path/to/dir">
542 # IncludeHidden false
547 # MCReceiveFrom "239.2.11.71" "8649"
548 # <Metric "swap_total">
550 # TypeInstance "total"
553 # <Metric "swap_free">
555 # TypeInstance "free"
562 # <Listen "0.0.0.0" "50051">
564 # SSLRootCerts "/path/to/root.pem"
565 # SSLServerCert "/path/to/server.pem"
566 # SSLServerKey "/path/to/server.key"
577 # IgnoreSelected false
582 # Sensor "some_sensor"
583 # Sensor "another_one"
584 # IgnoreSelected false
585 # NotifySensorAdd false
586 # NotifySensorRemove true
587 # NotifySensorNotPresent false
599 # IgnoreSelected true
603 # JVMArg "-verbose:jni"
604 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
606 # LoadPlugin "org.collectd.java.Foobar"
607 # <Plugin "org.collectd.java.Foobar">
608 # # To be parsed by the plugin
613 # ReportRelative true
618 # ReportBySerial false
623 # IgnoreSelected false
626 # WatchAdd "node_octets"
627 # WatchAdd "node_rssi"
628 # WatchAdd "is_rx_acl"
629 # WatchAdd "is_scan_active"
639 # IgnoreSelected false
643 # <Page "plugin_instance">
647 # Regex "(\\d+) bytes sent"
648 # ExcludeRegex "<lines to be excluded>"
651 # Instance "type_instance"
664 # ValuesAbsolute true
665 # ValuesPercentage false
671 # RegisterCmd ReadHolding
683 # Instance "foobar" # optional
684 # Collect "data_name"
693 # ClientId "localhost"
700 # CACert "/etc/ssl/ca.crt"
701 # CertificateFile "/etc/ssl/client.crt"
702 # CertificateKeyFile "/etc/ssl/client.pem"
703 # TLSProtocol "tlsv1.2"
704 # CipherSuite "ciphers"
709 # ClientId "localhost"
720 # Host "database.serv.er"
729 # <Database db_name2>
732 # Socket "/var/run/mysql/mysqld.sock"
734 # SlaveNotifications true
739 # <Host "netapp1.example.com">
744 # Password "aef4Aebe"
751 # GetBufferCache true
763 # IgnoreSelectedIO false
765 # IgnoreSelectedOps false
766 # GetLatency "volume0"
767 # IgnoreSelectedLatency false
774 # IgnoreSelectedCapacity false
777 # IgnoreSelectedSnapshot false
792 # VerboseInterface "All"
793 # QDisc "eth0" "pfifo_fast-1:0"
794 # Class "ppp0" "htb-1:10"
795 # Filter "ppp0" "u32-1:0"
796 # IgnoreSelected false
799 @LOAD_PLUGIN_NETWORK@<Plugin network>
801 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
802 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
803 # SecurityLevel Encrypt
807 # ResolveInterval 14400
808 @LOAD_PLUGIN_NETWORK@ </Server>
812 # Listen "ff18::efc0:4a42" "25826"
813 # <Listen "239.192.74.66" "25826">
815 # AuthFile "/etc/collectd/passwd"
820 # # proxy setup (client and server as above):
823 # # statistics about the network plugin itself
826 # # "garbage collection"
828 @LOAD_PLUGIN_NETWORK@</Plugin>
831 # URL "http://localhost/status?auto"
834 # CACert "/etc/ssl/ca.crt"
837 #<Plugin notify_desktop>
839 # WarningTimeout 5000
843 #<Plugin notify_email>
844 # SMTPServer "localhost"
846 # SMTPUser "my-username"
847 # SMTPPassword "my-password"
848 # From "collectd@main0server.com"
849 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
850 # Subject "Aaaaaa!! %s on %s!!!!!"
851 # Recipient "email1@domain1.net"
852 # Recipient "email2@domain2.com"
855 #<Plugin notify_nagios>
856 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
862 # ReverseLookups false
867 # UPS "upsname@hostname:port"
873 # CollectLinks "Summary"
874 # CollectRoutes "Summary"
875 # CollectTopology "Summary"
879 # Device "-s localhost:4304"
880 # Sensor "F10FCA000800"
881 # IgnoreSelected false
885 # <Instance "localhost">
886 # URL "ldap://localhost:389"
889 # CACert "/path/to/ca.crt"
896 # StatusFile "/etc/openvpn/openvpn-status.log"
897 # ImprovedNamingSchema false
898 # CollectCompression true
899 # CollectIndividualUsers true
900 # CollectUserCount false
904 # <Query "out_of_stock">
905 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
908 # InstancesFrom "category"
912 # <Database "product_information">
916 # Query "out_of_stock"
921 # IncludeDir "/my/include/path"
922 # BaseName "Collectd::Plugins"
924 # LoadPlugin Monitorus
938 # Server "server name"
939 # Script "script name"
944 # Host "host.foo.bar"
948 # SourceAddress "1.2.3.4"
955 # Statement "SELECT magic FROM wizard WHERE host = $1;"
959 # InstancePrefix "magic"
963 # <Query rt36_tickets>
964 # Statement "SELECT COUNT(type) AS count, type \
965 # FROM (SELECT CASE \
966 # WHEN resolved = 'epoch' THEN 'open' \
967 # ELSE 'resolved' END AS type \
968 # FROM tickets) type \
972 # InstancePrefix "rt36_tickets"
973 # InstancesFrom "type"
978 # # See contrib/postgresql/collectd_insert.sql for details
979 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
988 # KRBSrvName "kerberos_service_name"
993 # Service "service_name"
994 # Query backend # predefined
998 # Service "collectd_store"
1000 # # see collectd.conf(5) for details
1006 # <Server "server_name">
1008 # Collect "udp-answers" "udp-queries"
1009 # Socket "/var/run/pdns.controlsocket"
1011 # <Recursor "recursor_name">
1012 # Collect "questions"
1013 # Collect "cache-hits" "cache-misses"
1014 # Socket "/var/run/pdns_recursor.controlsocket"
1016 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1025 # IgnoreSelected false
1029 # ModulePath "/path/to/your/python/modules"
1035 # spam "wonderful" "lovely"
1041 # Host "redis.example.com"
1049 # Host "router.example.com"
1052 # Password "dozaiTh4"
1053 # CollectInterface true
1054 # CollectRegistrationTable true
1055 # CollectCPULoad true
1056 # CollectMemory true
1063 # DaemonAddress "unix:/tmp/rrdcached.sock"
1064 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1066 # CreateFilesAsync false
1067 # CollectStatistics true
1071 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1072 # CreateFilesAsync false
1075 # WritesPerSecond 50
1079 # SensorConfigFile "/etc/sensors.conf"
1080 # Sensor "it8712-isa-0290/temperature-temp1"
1081 # Sensor "it8712-isa-0290/fanspeed-fan3"
1082 # Sensor "it8712-isa-0290/voltage-in8"
1083 # IgnoreSelected false
1088 # <Device "AC Voltage">
1089 # Driver "fluke-dmm"
1090 # MinimumInterval 10
1091 # Conn "/dev/ttyUSB2"
1093 # <Device "Sound Level">
1094 # Driver "cem-dt-885x"
1095 # Conn "/dev/ttyUSB1"
1100 # Disk "/^[hs]d[a-f][0-9]?$/"
1101 # IgnoreSelected false
1105 # <Data "powerplus_voltge_input">
1108 # Instance "input_line1"
1109 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1115 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1117 # <Data "std_traffic">
1120 # Instance "IF-MIB::ifDescr"
1121 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1124 # <Host "some.switch.mydomain.org">
1125 # Address "192.168.0.2"
1127 # Community "community_string"
1128 # Collect "std_traffic"
1131 # <Host "some.server.mydomain.org">
1132 # Address "192.168.0.42"
1134 # Community "another_string"
1135 # Collect "std_traffic" "hr_users"
1137 # <Host "some.ups.mydomain.org">
1138 # Address "192.168.0.3"
1140 # Community "more_communities"
1141 # Collect "powerplus_voltge_input"
1149 # DeleteCounters false
1150 # DeleteTimers false
1151 # DeleteGauges false
1154 # TimerPercentile 90.0
1155 # TimerPercentile 95.0
1156 # TimerPercentile 99.0
1164 # ReportByDevice false
1166 # ValuesAbsolute true
1167 # ValuesPercentage false
1171 # <Table "/proc/slabinfo">
1172 # Instance "slabinfo"
1176 # InstancePrefix "active_objs"
1182 # InstancePrefix "objperslab"
1190 # <File "/var/log/exim4/mainlog">
1194 # Regex "S=([1-9][0-9]*)"
1195 # DSType "CounterAdd"
1200 # Regex "\\<R=local_user\\>"
1201 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1202 # DSType "CounterInc"
1204 # Instance "local_user"
1210 # <Metric "dropped">
1212 # Instance "dropped"
1217 # Instance "wire-realtime"
1221 # Type "alerts_per_second"
1225 # Type "kpackets_wire_per_sec.realtime"
1228 # <File "/var/log/snort/snort.stats">
1229 # Instance "snort-eth0"
1231 # Collect "dropped" "mbps" "alerts" "kpps"
1237 # ListeningPorts false
1238 # AllPortsSummary false
1243 #<Plugin teamspeak2>
1250 # Device "/dev/ttyUSB0"
1255 # ForceUseProcfs false
1257 # IgnoreSelected false
1260 #<Plugin tokyotyrant>
1266 ## None of the following option should be set manually
1267 ## This plugin automatically detect most optimal options
1268 ## Only set values here if:
1269 ## - The module asks you to
1270 ## - You want to disable the collection of some data
1271 ## - Your (Intel) CPU is not supported (yet) by the module
1272 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1273 ## In the last two cases, please open a bug request
1275 # TCCActivationTemp "100"
1277 # PackageCstates "396"
1278 # SystemManagementInterrupt true
1279 # DigitalTemperatureSensor true
1280 # PackageThermalManagement true
1281 # RunningAveragePowerLimit "7"
1285 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1286 # SocketGroup "collectd"
1287 # SocketPerms "0660"
1288 # DeleteSocket false
1292 # UUIDFile "/etc/uuid"
1299 # ShowTemperatures true
1300 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1301 ## then inverted with a IgnoreSelectedTemperature.
1302 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1304 # IgnoreSelectedTemperature true
1306 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1307 ## then inverted with a IgnoreSelectedTemperature.
1308 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1310 # IgnoreSelectedPower true
1314 # This tag support an argument if you want to
1315 # monitor the local instance just use </Instance>
1316 # If you prefer defining another instance you can do
1317 # so by using <Instance "myinstance">
1319 # CollectBackend true
1320 # CollectBan false # Varnish 3 and above
1322 # CollectConnections true
1323 # CollectDirectorDNS false # Varnish 3 only
1325 # CollectFetch false
1327 # CollectObjects false
1328 # CollectPurge false # Varnish 2 only
1329 # CollectSession false
1331 # CollectSMA false # Varnish 2 only
1333 # CollectSM false # Varnish 2 only
1334 # CollectStruct false
1335 # CollectTotals false
1336 # CollectUptime false # Varnish 3 and above
1338 # CollectVSM false # Varnish 4 only
1339 # CollectWorkers false
1344 # Connection "xen:///"
1345 # RefreshInterval 60
1347 # BlockDevice "name:device"
1348 # InterfaceDevice "name:device"
1349 # IgnoreSelected false
1350 # HostnameFormat name
1351 # InterfaceFormat name
1352 # PluginInstanceFormat name
1359 #<Plugin write_graphite>
1364 # ReconnectInterval 0
1365 # LogSendErrors true
1367 # Postfix "collectd"
1369 # AlwaysAppendDS false
1370 # EscapeCharacter "_"
1374 #<Plugin write_http>
1376 # URL "http://example.com/collectd-post"
1378 # Password "weCh3ik0"
1381 # CACert "/etc/ssl/ca.crt"
1382 # CAPath "/etc/ssl/certs/"
1383 # ClientKey "/etc/ssl/client.pem"
1384 # ClientCert "/etc/ssl/client.crt"
1385 # ClientKeyPass "secret"
1386 # Header "X-Custom-Header: custom_value"
1387 # SSLVersion "TLSv1"
1396 #<Plugin write_kafka>
1397 # Property "metadata.broker.list" "localhost:9092"
1398 # <Topic "collectd">
1403 #<Plugin write_mongodb>
1409 # Database "auth_db"
1411 # Password "auth_passwd"
1415 #<Plugin write_redis>
1420 # Prefix "collectd/"
1424 #<Plugin write_riemann>
1432 # AlwaysAppendDS false
1434 # Notifications true
1435 # CheckThresholds false
1436 # EventServicePrefix ""
1439 # Attribute "foo" "bar"
1442 #<Plugin write_sensu>
1447 # AlwaysAppendDS false
1448 # Notifications true
1450 # EventServicePrefix ""
1451 # MetricHandler "influx"
1452 # MetricHandler "default"
1453 # NotificationHandler "flapjack"
1454 # NotificationHandler "howling_monkey"
1457 # Attribute "foo" "bar"
1460 #<Plugin write_tsdb>
1464 # HostTags "status=production"
1466 # AlwaysAppendDS false
1475 ##############################################################################
1476 # Filter configuration #
1477 #----------------------------------------------------------------------------#
1478 # The following configures collectd's filtering mechanism. Before changing #
1479 # anything in this section, please read the `FILTER CONFIGURATION' section #
1480 # in the collectd.conf(5) manual page. #
1481 ##############################################################################
1483 # Load required matches:
1484 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1485 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1486 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1487 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1488 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1490 # Load required targets:
1491 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1492 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1493 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1494 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1495 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1497 #----------------------------------------------------------------------------#
1498 # The following block demonstrates the default behavior if no filtering is #
1499 # configured at all: All values will be sent to all available write plugins. #
1500 #----------------------------------------------------------------------------#
1502 #<Chain "PostCache">
1506 ##############################################################################
1507 # Threshold configuration #
1508 #----------------------------------------------------------------------------#
1509 # The following outlines how to configure collectd's threshold checking #
1510 # plugin. The plugin and possible configuration options are documented in #
1511 # the collectd-threshold(5) manual page. #
1512 ##############################################################################
1514 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1518 # WarningMax 1000.00
1520 # FailureMax 1200.00
1525 # <Plugin "interface">
1527 # <Type "if_octets">
1528 # FailureMax 10000000
1542 # WarningMin 100000000
1547 # DataSource "midterm"