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_CHRONY_TRUE@LoadPlugin chrony
104 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
105 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
106 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
107 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
108 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
109 @LOAD_PLUGIN_CSV@LoadPlugin csv
110 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
111 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
112 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
113 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
114 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
115 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
116 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
117 #@BUILD_PLUGIN_DPDKSTAT_TRUE@LoadPlugin dpdkstat
118 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
119 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
120 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
121 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
122 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
123 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
124 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
125 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
126 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
127 #@BUILD_PLUGIN_GPS_TRUE@LoadPlugin gps
128 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
129 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
130 #@BUILD_PLUGIN_HUGEPAGES_TRUE@LoadPlugin hugepages
131 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
132 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
133 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
134 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
135 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
136 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
137 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
138 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
139 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
140 #@BUILD_PLUGIN_LUA_TRUE@LoadPlugin lua
141 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
142 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
143 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
144 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
145 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
146 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
147 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
148 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
149 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
150 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
151 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
152 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
153 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
154 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
155 @LOAD_PLUGIN_NETWORK@LoadPlugin network
156 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
157 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
158 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
159 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
160 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
161 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
162 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
163 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
164 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
165 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
166 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
167 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
168 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
169 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
170 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
171 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
172 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
173 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
174 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
175 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
176 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
177 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
178 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
179 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
180 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
181 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
182 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
183 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
184 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
185 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
186 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
187 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
188 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
189 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
190 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
191 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
192 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
193 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
194 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
195 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
196 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
197 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
198 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
199 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
200 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
201 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
202 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
203 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
204 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
205 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
206 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
207 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
208 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
209 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
210 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
211 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
212 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
213 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
214 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
215 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
216 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
217 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
218 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
219 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
220 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
222 ##############################################################################
223 # Plugin configuration #
224 #----------------------------------------------------------------------------#
225 # In this section configuration stubs for each plugin are provided. A desc- #
226 # ription of those options is available in the collectd.conf(5) manual page. #
227 ##############################################################################
229 #<Plugin aggregation>
231 # #Host "unspecified"
233 # #PluginInstance "unspecified"
235 # #TypeInstance "unspecified"
238 # GroupBy "TypeInstance"
242 # CalculateAverage true
243 # CalculateMinimum false
244 # CalculateMaximum false
245 # CalculateStddev false
256 # Exchange "amq.fanout"
257 # RoutingKey "collectd"
260 # ConnectionRetryDelay 0
266 # URL "http://localhost/status?auto"
269 # CACert "/etc/ssl/ca.crt"
277 # PersistentConnection true
285 # URL "http://localhost/ascent/status/"
288 # CACert "/etc/ssl/ca.crt"
291 #<Plugin "barometer">
292 # Device "/dev/i2c-0";
295 # TemperatureOffset 0.0
298 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
302 # ValuesPercentage false
303 # ReportDegraded false
308 # URL "http://localhost:8053/"
314 # ZoneMaintStats true
315 # ResolverStats false
323 # Zone "127.in-addr.arpa/IN"
328 # LongRunAvgLatency false
329 # ConvertSpecialMetricTypes true
331 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
334 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
337 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
340 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
352 # IgnoreSelected false
358 # ValuesPercentage false
362 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
367 # <Page "stock_quotes">
368 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
374 # CACert "/path/to/ca.crt"
375 # Header "X-Custom-Header: foobar"
378 # MeasureResponseTime false
379 # MeasureResponseCode false
381 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
382 # DSType "GaugeAverage"
390 # <URL "http://localhost:80/test.json">
391 # Instance "test_http_json"
392 # <Key "testArray/0">
396 # <Key "testArray/1">
400 # <Key "testArrayInbetween/0/blarg">
404 # <Key "testArrayInbetween/1/blub">
408 # <Key "testDirectHit">
412 # <Key "testSubLevelHit/oneMoreLevel">
417 # put this as test.json on your webserver, the above config demonstraces
421 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
423 # "testSubLevelHit":{"oneMoreLevel":6}
425 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
426 # <URL "http://localhost:5984/_stats">
428 # <Key "httpd/requests/count">
429 # Type "http_requests"
432 # <Key "httpd_request_methods/*/count">
433 # Type "http_request_methods"
436 # <Key "httpd_status_codes/*/count">
437 # Type "http_response_codes"
440 ## Database status metrics:
441 # <URL "http://localhost:5984/_all_dbs">
443 # <Key "*/doc_count">
446 # <Key "*/doc_del_count">
449 # <Key "*/disk_size">
456 # <URL "http://localhost/stats.xml">
458 # Instance "some_instance"
460 # Password "thaiNg0I"
464 # CACert "/path/to/ca.crt"
465 # Header "X-Custom-Header: foobar"
468 # <XPath "table[@id=\"magic_level\"]/tr">
470 # #InstancePrefix "prefix-"
471 # InstanceFrom "td[1]"
472 # ValuesFrom "td[2]/span[@class=\"level\"]"
478 # <Query "num_of_customers">
479 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
482 # InstancesFrom "c_key"
483 # ValuesFrom "c_value"
486 # <Database "customers_db">
488 # DriverOption "host" "localhost"
489 # DriverOption "username" "collectd"
490 # DriverOption "password" "AeXohy0O"
491 # DriverOption "dbname" "custdb0"
492 # #SelectDB "custdb0"
493 # Query "num_of_customers"
501 # Device "192.168.0.2:/mnt/nfs"
504 # IgnoreSelected false
505 # ReportByDevice false
507 # ValuesAbsolute true
508 # ValuesPercentage false
512 # Disk "/^[hs]d[a-f][0-9]?$/"
513 # IgnoreSelected false
515 # UdevNameAttr "DEVNAME"
520 # IgnoreSource "192.168.0.1"
521 # SelectNumericQueryTypes true
527 # ProcessType "secondary"
529 # EnabledPortMask 0xffff
530 # PortName "interface1"
531 # PortName "interface2"
535 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
536 # SocketGroup "collectd"
543 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
544 # Map "multicast" "if_multicast"
549 # Exec "user:group" "/path/to/exec"
550 # NotificationExec "user:group" "/path/to/exec"
554 # ValuesAbsolute true
555 # ValuesPercentage false
559 # <Directory "/path/to/dir">
565 # IncludeHidden false
570 # MCReceiveFrom "239.2.11.71" "8649"
571 # <Metric "swap_total">
573 # TypeInstance "total"
576 # <Metric "swap_free">
578 # TypeInstance "free"
591 # <Server "example.com" "50051">
593 # SSLCACertificateFile "/path/to/root.pem"
594 # SSLCertificateFile "/path/to/server.pem"
595 # SSLCertificateKeyFile "/path/to/server.key"
597 # <Listen "0.0.0.0" "50051">
599 # SSLCACertificateFile "/path/to/root.pem"
600 # SSLCertificateFile "/path/to/client.pem"
601 # SSLCertificateKeyFile "/path/to/client.key"
611 # ReportPerNodeHP true
615 # ValuesPercentage false
620 # IgnoreSelected false
621 # ReportInactive true
626 # Sensor "some_sensor"
627 # Sensor "another_one"
628 # IgnoreSelected false
629 # NotifySensorAdd false
630 # NotifySensorRemove true
631 # NotifySensorNotPresent false
643 # IgnoreSelected true
647 # JVMArg "-verbose:jni"
648 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
650 # LoadPlugin "org.collectd.java.Foobar"
651 # <Plugin "org.collectd.java.Foobar">
652 # # To be parsed by the plugin
657 # ReportRelative true
662 # ReportBySerial false
666 # BasePath "@prefix@/share/@PACKAGE_NAME@/lua"
667 # Script "script1.lua"
668 # Script "script2.lua"
673 # IgnoreSelected false
676 # WatchAdd "node_octets"
677 # WatchAdd "node_rssi"
678 # WatchAdd "is_rx_acl"
679 # WatchAdd "is_scan_active"
689 # IgnoreSelected false
693 # <Page "plugin_instance">
697 # Regex "(\\d+) bytes sent"
698 # ExcludeRegex "<lines to be excluded>"
701 # Instance "type_instance"
708 # #Host "memcache.example.com"
709 # Address "127.0.0.1"
715 # ValuesAbsolute true
716 # ValuesPercentage false
722 # RegisterCmd ReadHolding
734 # Instance "foobar" # optional
735 # Collect "data_name"
744 # ClientId "localhost"
751 # CACert "/etc/ssl/ca.crt"
752 # CertificateFile "/etc/ssl/client.crt"
753 # CertificateKeyFile "/etc/ssl/client.pem"
754 # TLSProtocol "tlsv1.2"
755 # CipherSuite "ciphers"
760 # ClientId "localhost"
771 # Host "database.serv.er"
775 # SSLKey "/path/to/key.pem"
776 # SSLCert "/path/to/cert.pem"
777 # SSLCA "/path/to/ca.pem"
778 # SSLCAPath "/path/to/cas/"
779 # SSLCipher "DHE-RSA-AES256-SHA"
785 # <Database db_name2>
788 # Socket "/var/run/mysql/mysqld.sock"
790 # SlaveNotifications true
795 # Socket "/var/run/mysql/mysqld.sock"
801 # <Host "netapp1.example.com">
806 # Password "aef4Aebe"
813 # GetBufferCache true
825 # IgnoreSelectedIO false
827 # IgnoreSelectedOps false
828 # GetLatency "volume0"
829 # IgnoreSelectedLatency false
836 # IgnoreSelectedCapacity false
839 # IgnoreSelectedSnapshot false
854 # VerboseInterface "All"
855 # QDisc "eth0" "pfifo_fast-1:0"
856 # Class "ppp0" "htb-1:10"
857 # Filter "ppp0" "u32-1:0"
858 # IgnoreSelected false
861 @LOAD_PLUGIN_NETWORK@<Plugin network>
863 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
864 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
865 # SecurityLevel Encrypt
869 # ResolveInterval 14400
870 @LOAD_PLUGIN_NETWORK@ </Server>
874 # Listen "ff18::efc0:4a42" "25826"
875 # <Listen "239.192.74.66" "25826">
877 # AuthFile "/etc/collectd/passwd"
882 # # proxy setup (client and server as above):
885 # # statistics about the network plugin itself
888 # # "garbage collection"
890 @LOAD_PLUGIN_NETWORK@</Plugin>
893 # URL "http://localhost/status?auto"
896 # CACert "/etc/ssl/ca.crt"
899 #<Plugin notify_desktop>
901 # WarningTimeout 5000
905 #<Plugin notify_email>
906 # SMTPServer "localhost"
908 # SMTPUser "my-username"
909 # SMTPPassword "my-password"
910 # From "collectd@main0server.com"
911 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
912 # Subject "Aaaaaa!! %s on %s!!!!!"
913 # Recipient "email1@domain1.net"
914 # Recipient "email2@domain2.com"
917 #<Plugin notify_nagios>
918 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
924 # ReverseLookups false
929 # UPS "upsname@hostname:port"
935 # CollectLinks "Summary"
936 # CollectRoutes "Summary"
937 # CollectTopology "Summary"
941 # Device "-s localhost:4304"
942 # Sensor "F10FCA000800"
943 # IgnoreSelected false
947 # <Instance "localhost">
948 # URL "ldap://localhost:389"
951 # CACert "/path/to/ca.crt"
958 # StatusFile "/etc/openvpn/openvpn-status.log"
959 # ImprovedNamingSchema false
960 # CollectCompression true
961 # CollectIndividualUsers true
962 # CollectUserCount false
966 # <Query "out_of_stock">
967 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
970 # InstancesFrom "category"
974 # <Database "product_information">
978 # Query "out_of_stock"
983 # IncludeDir "/my/include/path"
984 # BaseName "Collectd::Plugins"
986 # LoadPlugin Monitorus
1000 # Server "server name"
1001 # Script "script name"
1006 # Host "host.foo.bar"
1010 # SourceAddress "1.2.3.4"
1015 #<Plugin postgresql>
1017 # Statement "SELECT magic FROM wizard WHERE host = $1;"
1021 # InstancePrefix "magic"
1025 # <Query rt36_tickets>
1026 # Statement "SELECT COUNT(type) AS count, type \
1027 # FROM (SELECT CASE \
1028 # WHEN resolved = 'epoch' THEN 'open' \
1029 # ELSE 'resolved' END AS type \
1030 # FROM tickets) type \
1034 # InstancePrefix "rt36_tickets"
1035 # InstancesFrom "type"
1036 # ValuesFrom "count"
1040 # # See contrib/postgresql/collectd_insert.sql for details
1041 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
1050 # KRBSrvName "kerberos_service_name"
1055 # Service "service_name"
1056 # Query backend # predefined
1057 # Query rt36_tickets
1060 # Service "collectd_store"
1062 # # see collectd.conf(5) for details
1068 # <Server "server_name">
1070 # Collect "udp-answers" "udp-queries"
1071 # Socket "/var/run/pdns.controlsocket"
1073 # <Recursor "recursor_name">
1074 # Collect "questions"
1075 # Collect "cache-hits" "cache-misses"
1076 # Socket "/var/run/pdns_recursor.controlsocket"
1078 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1087 # IgnoreSelected false
1091 # ModulePath "/path/to/your/python/modules"
1097 # spam "wonderful" "lovely"
1103 # Host "redis.example.com"
1111 # Host "router.example.com"
1114 # Password "dozaiTh4"
1115 # CollectInterface true
1116 # CollectRegistrationTable true
1117 # CollectCPULoad true
1118 # CollectMemory true
1125 # DaemonAddress "unix:/tmp/rrdcached.sock"
1126 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1128 # CreateFilesAsync false
1129 # CollectStatistics true
1133 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1134 # CreateFilesAsync false
1137 # WritesPerSecond 50
1141 # SensorConfigFile "/etc/sensors.conf"
1142 # Sensor "it8712-isa-0290/temperature-temp1"
1143 # Sensor "it8712-isa-0290/fanspeed-fan3"
1144 # Sensor "it8712-isa-0290/voltage-in8"
1145 # IgnoreSelected false
1150 # <Device "AC Voltage">
1151 # Driver "fluke-dmm"
1152 # MinimumInterval 10
1153 # Conn "/dev/ttyUSB2"
1155 # <Device "Sound Level">
1156 # Driver "cem-dt-885x"
1157 # Conn "/dev/ttyUSB1"
1162 # Disk "/^[hs]d[a-f][0-9]?$/"
1163 # IgnoreSelected false
1167 # <Data "powerplus_voltge_input">
1170 # Instance "input_line1"
1171 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1177 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1179 # <Data "std_traffic">
1182 # Instance "IF-MIB::ifDescr"
1183 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1186 # <Host "some.switch.mydomain.org">
1187 # Address "192.168.0.2"
1189 # Community "community_string"
1190 # Collect "std_traffic"
1193 # <Host "some.server.mydomain.org">
1194 # Address "192.168.0.42"
1196 # Community "another_string"
1197 # Collect "std_traffic" "hr_users"
1199 # <Host "some.ups.mydomain.org">
1200 # Address "192.168.0.3"
1202 # Community "more_communities"
1203 # Collect "powerplus_voltge_input"
1211 # DeleteCounters false
1212 # DeleteTimers false
1213 # DeleteGauges false
1216 # TimerPercentile 90.0
1217 # TimerPercentile 95.0
1218 # TimerPercentile 99.0
1226 # ReportByDevice false
1228 # ValuesAbsolute true
1229 # ValuesPercentage false
1233 # <Table "/proc/slabinfo">
1234 # Instance "slabinfo"
1238 # InstancePrefix "active_objs"
1244 # InstancePrefix "objperslab"
1252 # <File "/var/log/exim4/mainlog">
1256 # Regex "S=([1-9][0-9]*)"
1257 # DSType "CounterAdd"
1262 # Regex "\\<R=local_user\\>"
1263 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1264 # DSType "CounterInc"
1266 # Instance "local_user"
1272 # <Metric "dropped">
1274 # Instance "dropped"
1279 # Instance "wire-realtime"
1283 # Type "alerts_per_second"
1287 # Type "kpackets_wire_per_sec.realtime"
1290 # <File "/var/log/snort/snort.stats">
1291 # Instance "snort-eth0"
1293 # Collect "dropped" "mbps" "alerts" "kpps"
1299 # ListeningPorts false
1300 # AllPortsSummary false
1305 #<Plugin teamspeak2>
1312 # Device "/dev/ttyUSB0"
1317 # ForceUseProcfs false
1319 # IgnoreSelected false
1322 #<Plugin tokyotyrant>
1328 ## None of the following option should be set manually
1329 ## This plugin automatically detect most optimal options
1330 ## Only set values here if:
1331 ## - The module asks you to
1332 ## - You want to disable the collection of some data
1333 ## - Your (Intel) CPU is not supported (yet) by the module
1334 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1335 ## In the last two cases, please open a bug request
1337 # TCCActivationTemp "100"
1339 # PackageCstates "396"
1340 # SystemManagementInterrupt true
1341 # DigitalTemperatureSensor true
1342 # PackageThermalManagement true
1343 # RunningAveragePowerLimit "7"
1347 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1348 # SocketGroup "collectd"
1349 # SocketPerms "0660"
1350 # DeleteSocket false
1354 # UUIDFile "/etc/uuid"
1361 # ShowTemperatures true
1362 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1363 ## then inverted with a IgnoreSelectedTemperature.
1364 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1366 # IgnoreSelectedTemperature true
1368 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1369 ## then inverted with a IgnoreSelectedTemperature.
1370 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1372 # IgnoreSelectedPower true
1376 # This tag support an argument if you want to
1377 # monitor the local instance just use </Instance>
1378 # If you prefer defining another instance you can do
1379 # so by using <Instance "myinstance">
1381 # CollectBackend true
1382 # CollectBan false # Varnish 3 and above
1384 # CollectConnections true
1385 # CollectDirectorDNS false # Varnish 3 only
1387 # CollectFetch false
1389 # CollectObjects false
1390 # CollectPurge false # Varnish 2 only
1391 # CollectSession false
1393 # CollectSMA false # Varnish 2 only
1395 # CollectSM false # Varnish 2 only
1396 # CollectStruct false
1397 # CollectTotals false
1398 # CollectUptime false # Varnish 3 and above
1400 # CollectVSM false # Varnish 4 only
1401 # CollectWorkers false
1406 # Connection "xen:///"
1407 # RefreshInterval 60
1409 # BlockDevice "name:device"
1410 # InterfaceDevice "name:device"
1411 # IgnoreSelected false
1412 # HostnameFormat name
1413 # InterfaceFormat name
1414 # PluginInstanceFormat name
1421 #<Plugin write_graphite>
1426 # ReconnectInterval 0
1427 # LogSendErrors true
1429 # Postfix "collectd"
1431 # AlwaysAppendDS false
1432 # EscapeCharacter "_"
1433 # SeparateInstances false
1434 # DropDuplicateFields false
1438 #<Plugin write_http>
1440 # URL "http://example.com/collectd-post"
1442 # Password "weCh3ik0"
1445 # CACert "/etc/ssl/ca.crt"
1446 # CAPath "/etc/ssl/certs/"
1447 # ClientKey "/etc/ssl/client.pem"
1448 # ClientCert "/etc/ssl/client.crt"
1449 # ClientKeyPass "secret"
1450 # Header "X-Custom-Header: custom_value"
1451 # SSLVersion "TLSv1"
1454 # Notifications false
1462 #<Plugin write_kafka>
1463 # Property "metadata.broker.list" "localhost:9092"
1464 # <Topic "collectd">
1469 #<Plugin write_mongodb>
1475 # Database "auth_db"
1477 # Password "auth_passwd"
1481 #<Plugin write_redis>
1486 # Prefix "collectd/"
1490 #<Plugin write_riemann>
1498 # AlwaysAppendDS false
1500 # Notifications true
1501 # CheckThresholds false
1502 # EventServicePrefix ""
1505 # Attribute "foo" "bar"
1508 #<Plugin write_sensu>
1513 # AlwaysAppendDS false
1514 # Notifications true
1516 # EventServicePrefix ""
1517 # MetricHandler "influx"
1518 # MetricHandler "default"
1519 # NotificationHandler "flapjack"
1520 # NotificationHandler "howling_monkey"
1523 # Attribute "foo" "bar"
1526 #<Plugin write_tsdb>
1530 # HostTags "status=production"
1532 # AlwaysAppendDS false
1541 ##############################################################################
1542 # Filter configuration #
1543 #----------------------------------------------------------------------------#
1544 # The following configures collectd's filtering mechanism. Before changing #
1545 # anything in this section, please read the `FILTER CONFIGURATION' section #
1546 # in the collectd.conf(5) manual page. #
1547 ##############################################################################
1549 # Load required matches:
1550 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1551 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1552 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1553 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1554 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1556 # Load required targets:
1557 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1558 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1559 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1560 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1561 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1563 #----------------------------------------------------------------------------#
1564 # The following block demonstrates the default behavior if no filtering is #
1565 # configured at all: All values will be sent to all available write plugins. #
1566 #----------------------------------------------------------------------------#
1568 #<Chain "PostCache">
1572 ##############################################################################
1573 # Threshold configuration #
1574 #----------------------------------------------------------------------------#
1575 # The following outlines how to configure collectd's threshold checking #
1576 # plugin. The plugin and possible configuration options are documented in #
1577 # the collectd-threshold(5) manual page. #
1578 ##############################################################################
1580 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1584 # WarningMax 1000.00
1586 # FailureMax 1200.00
1591 # <Plugin "interface">
1593 # <Type "if_octets">
1594 # FailureMax 10000000
1608 # WarningMin 100000000
1613 # DataSource "midterm"