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 @LOAD_PLUGIN_CSV@LoadPlugin csv
109 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
110 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
111 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
112 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
113 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
114 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
115 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
116 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
117 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
118 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
119 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
120 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
121 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
122 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
123 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
124 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
125 #@BUILD_PLUGIN_GRPC_TRUE@LoadPlugin grpc
126 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
127 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
128 #@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
129 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
130 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
131 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
132 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
133 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
134 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
135 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
136 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
137 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
138 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
139 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
140 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
141 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
142 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
143 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
144 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
145 #@BUILD_PLUGIN_MQTT_TRUE@LoadPlugin mqtt
146 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
147 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
148 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
149 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
150 @LOAD_PLUGIN_NETWORK@LoadPlugin network
151 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
152 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
153 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
154 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
155 #@BUILD_PLUGIN_NOTIFY_NAGIOS_TRUE@LoadPlugin notify_nagios
156 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
157 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
158 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
159 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
160 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
161 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
162 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
163 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
164 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
165 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
166 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
167 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
168 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
169 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
170 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
171 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
172 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
173 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
174 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
175 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
176 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
177 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
178 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
179 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
180 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
181 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
182 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
183 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
184 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
185 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
186 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
187 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
188 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
189 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
190 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
191 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
192 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
193 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
194 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
195 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
196 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
197 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
198 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
199 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
200 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
201 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
202 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
203 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
204 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
205 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
206 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
207 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
208 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
209 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
210 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
211 #@BUILD_PLUGIN_XENCPU_TRUE@LoadPlugin xencpu
212 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
213 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
214 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
215 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
217 ##############################################################################
218 # Plugin configuration #
219 #----------------------------------------------------------------------------#
220 # In this section configuration stubs for each plugin are provided. A desc- #
221 # ription of those options is available in the collectd.conf(5) manual page. #
222 ##############################################################################
224 #<Plugin aggregation>
226 # #Host "unspecified"
228 # #PluginInstance "unspecified"
230 # #TypeInstance "unspecified"
233 # GroupBy "TypeInstance"
237 # CalculateAverage true
238 # CalculateMinimum false
239 # CalculateMaximum false
240 # CalculateStddev false
251 # Exchange "amq.fanout"
252 # RoutingKey "collectd"
255 # ConnectionRetryDelay 0
261 # URL "http://localhost/status?auto"
264 # CACert "/etc/ssl/ca.crt"
272 # PersistentConnection true
280 # URL "http://localhost/ascent/status/"
283 # CACert "/etc/ssl/ca.crt"
286 #<Plugin "barometer">
287 # Device "/dev/i2c-0";
290 # TemperatureOffset 0.0
293 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
297 # ValuesPercentage false
298 # ReportDegraded false
302 # URL "http://localhost:8053/"
308 # ZoneMaintStats true
309 # ResolverStats false
317 # Zone "127.in-addr.arpa/IN"
322 # LongRunAvgLatency false
323 # ConvertSpecialMetricTypes true
325 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
328 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
331 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
334 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
345 # IgnoreSelected false
351 # ValuesPercentage false
355 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
360 # <Page "stock_quotes">
361 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
367 # CACert "/path/to/ca.crt"
368 # Header "X-Custom-Header: foobar"
371 # MeasureResponseTime false
372 # MeasureResponseCode false
374 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
375 # DSType "GaugeAverage"
383 # <URL "http://localhost:80/test.json">
384 # Instance "test_http_json"
385 # <Key "testArray/0">
389 # <Key "testArray/1">
393 # <Key "testArrayInbetween/0/blarg">
397 # <Key "testArrayInbetween/1/blub">
401 # <Key "testDirectHit">
405 # <Key "testSubLevelHit/oneMoreLevel">
410 # put this as test.json on your webserver, the above config demonstraces
414 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
416 # "testSubLevelHit":{"oneMoreLevel":6}
418 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
419 # <URL "http://localhost:5984/_stats">
421 # <Key "httpd/requests/count">
422 # Type "http_requests"
425 # <Key "httpd_request_methods/*/count">
426 # Type "http_request_methods"
429 # <Key "httpd_status_codes/*/count">
430 # Type "http_response_codes"
433 ## Database status metrics:
434 # <URL "http://localhost:5984/_all_dbs">
436 # <Key "*/doc_count">
439 # <Key "*/doc_del_count">
442 # <Key "*/disk_size">
449 # <URL "http://localhost/stats.xml">
451 # Instance "some_instance"
453 # Password "thaiNg0I"
457 # CACert "/path/to/ca.crt"
458 # Header "X-Custom-Header: foobar"
461 # <XPath "table[@id=\"magic_level\"]/tr">
463 # #InstancePrefix "prefix-"
464 # InstanceFrom "td[1]"
465 # ValuesFrom "td[2]/span[@class=\"level\"]"
471 # <Query "num_of_customers">
472 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
475 # InstancesFrom "c_key"
476 # ValuesFrom "c_value"
479 # <Database "customers_db">
481 # DriverOption "host" "localhost"
482 # DriverOption "username" "collectd"
483 # DriverOption "password" "AeXohy0O"
484 # DriverOption "dbname" "custdb0"
485 # #SelectDB "custdb0"
486 # Query "num_of_customers"
494 # Device "192.168.0.2:/mnt/nfs"
497 # IgnoreSelected false
498 # ReportByDevice false
500 # ValuesAbsolute true
501 # ValuesPercentage false
505 # Disk "/^[hs]d[a-f][0-9]?$/"
506 # IgnoreSelected false
508 # UdevNameAttr "DEVNAME"
513 # IgnoreSource "192.168.0.1"
514 # SelectNumericQueryTypes true
518 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
519 # SocketGroup "collectd"
526 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
527 # Map "multicast" "if_multicast"
532 # Exec "user:group" "/path/to/exec"
533 # NotificationExec "user:group" "/path/to/exec"
537 # ValuesAbsolute true
538 # ValuesPercentage false
542 # <Directory "/path/to/dir">
548 # IncludeHidden false
553 # MCReceiveFrom "239.2.11.71" "8649"
554 # <Metric "swap_total">
556 # TypeInstance "total"
559 # <Metric "swap_free">
561 # TypeInstance "free"
568 # <Listen "0.0.0.0" "50051">
570 # SSLRootCerts "/path/to/root.pem"
571 # SSLServerCert "/path/to/server.pem"
572 # SSLServerKey "/path/to/server.key"
583 # IgnoreSelected false
588 # Sensor "some_sensor"
589 # Sensor "another_one"
590 # IgnoreSelected false
591 # NotifySensorAdd false
592 # NotifySensorRemove true
593 # NotifySensorNotPresent false
605 # IgnoreSelected true
609 # JVMArg "-verbose:jni"
610 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
612 # LoadPlugin "org.collectd.java.Foobar"
613 # <Plugin "org.collectd.java.Foobar">
614 # # To be parsed by the plugin
619 # ReportRelative true
624 # ReportBySerial false
629 # IgnoreSelected false
632 # WatchAdd "node_octets"
633 # WatchAdd "node_rssi"
634 # WatchAdd "is_rx_acl"
635 # WatchAdd "is_scan_active"
645 # IgnoreSelected false
649 # <Page "plugin_instance">
653 # Regex "(\\d+) bytes sent"
654 # ExcludeRegex "<lines to be excluded>"
657 # Instance "type_instance"
670 # ValuesAbsolute true
671 # ValuesPercentage false
677 # RegisterCmd ReadHolding
689 # Instance "foobar" # optional
690 # Collect "data_name"
699 # ClientId "localhost"
706 # CACert "/etc/ssl/ca.crt"
707 # CertificateFile "/etc/ssl/client.crt"
708 # CertificateKeyFile "/etc/ssl/client.pem"
709 # TLSProtocol "tlsv1.2"
710 # CipherSuite "ciphers"
715 # ClientId "localhost"
726 # Host "database.serv.er"
735 # <Database db_name2>
738 # Socket "/var/run/mysql/mysqld.sock"
740 # SlaveNotifications true
745 # <Host "netapp1.example.com">
750 # Password "aef4Aebe"
757 # GetBufferCache true
769 # IgnoreSelectedIO false
771 # IgnoreSelectedOps false
772 # GetLatency "volume0"
773 # IgnoreSelectedLatency false
780 # IgnoreSelectedCapacity false
783 # IgnoreSelectedSnapshot false
798 # VerboseInterface "All"
799 # QDisc "eth0" "pfifo_fast-1:0"
800 # Class "ppp0" "htb-1:10"
801 # Filter "ppp0" "u32-1:0"
802 # IgnoreSelected false
805 @LOAD_PLUGIN_NETWORK@<Plugin network>
807 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
808 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
809 # SecurityLevel Encrypt
813 # ResolveInterval 14400
814 @LOAD_PLUGIN_NETWORK@ </Server>
818 # Listen "ff18::efc0:4a42" "25826"
819 # <Listen "239.192.74.66" "25826">
821 # AuthFile "/etc/collectd/passwd"
826 # # proxy setup (client and server as above):
829 # # statistics about the network plugin itself
832 # # "garbage collection"
834 @LOAD_PLUGIN_NETWORK@</Plugin>
837 # URL "http://localhost/status?auto"
840 # CACert "/etc/ssl/ca.crt"
843 #<Plugin notify_desktop>
845 # WarningTimeout 5000
849 #<Plugin notify_email>
850 # SMTPServer "localhost"
852 # SMTPUser "my-username"
853 # SMTPPassword "my-password"
854 # From "collectd@main0server.com"
855 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
856 # Subject "Aaaaaa!! %s on %s!!!!!"
857 # Recipient "email1@domain1.net"
858 # Recipient "email2@domain2.com"
861 #<Plugin notify_nagios>
862 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
868 # ReverseLookups false
873 # UPS "upsname@hostname:port"
879 # CollectLinks "Summary"
880 # CollectRoutes "Summary"
881 # CollectTopology "Summary"
885 # Device "-s localhost:4304"
886 # Sensor "F10FCA000800"
887 # IgnoreSelected false
891 # <Instance "localhost">
892 # URL "ldap://localhost:389"
895 # CACert "/path/to/ca.crt"
902 # StatusFile "/etc/openvpn/openvpn-status.log"
903 # ImprovedNamingSchema false
904 # CollectCompression true
905 # CollectIndividualUsers true
906 # CollectUserCount false
910 # <Query "out_of_stock">
911 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
914 # InstancesFrom "category"
918 # <Database "product_information">
922 # Query "out_of_stock"
927 # IncludeDir "/my/include/path"
928 # BaseName "Collectd::Plugins"
930 # LoadPlugin Monitorus
944 # Server "server name"
945 # Script "script name"
950 # Host "host.foo.bar"
954 # SourceAddress "1.2.3.4"
961 # Statement "SELECT magic FROM wizard WHERE host = $1;"
965 # InstancePrefix "magic"
969 # <Query rt36_tickets>
970 # Statement "SELECT COUNT(type) AS count, type \
971 # FROM (SELECT CASE \
972 # WHEN resolved = 'epoch' THEN 'open' \
973 # ELSE 'resolved' END AS type \
974 # FROM tickets) type \
978 # InstancePrefix "rt36_tickets"
979 # InstancesFrom "type"
984 # # See contrib/postgresql/collectd_insert.sql for details
985 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
994 # KRBSrvName "kerberos_service_name"
999 # Service "service_name"
1000 # Query backend # predefined
1001 # Query rt36_tickets
1004 # Service "collectd_store"
1006 # # see collectd.conf(5) for details
1012 # <Server "server_name">
1014 # Collect "udp-answers" "udp-queries"
1015 # Socket "/var/run/pdns.controlsocket"
1017 # <Recursor "recursor_name">
1018 # Collect "questions"
1019 # Collect "cache-hits" "cache-misses"
1020 # Socket "/var/run/pdns_recursor.controlsocket"
1022 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1031 # IgnoreSelected false
1035 # ModulePath "/path/to/your/python/modules"
1041 # spam "wonderful" "lovely"
1047 # Host "redis.example.com"
1055 # Host "router.example.com"
1058 # Password "dozaiTh4"
1059 # CollectInterface true
1060 # CollectRegistrationTable true
1061 # CollectCPULoad true
1062 # CollectMemory true
1069 # DaemonAddress "unix:/tmp/rrdcached.sock"
1070 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1072 # CreateFilesAsync false
1073 # CollectStatistics true
1077 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1078 # CreateFilesAsync false
1081 # WritesPerSecond 50
1085 # SensorConfigFile "/etc/sensors.conf"
1086 # Sensor "it8712-isa-0290/temperature-temp1"
1087 # Sensor "it8712-isa-0290/fanspeed-fan3"
1088 # Sensor "it8712-isa-0290/voltage-in8"
1089 # IgnoreSelected false
1094 # <Device "AC Voltage">
1095 # Driver "fluke-dmm"
1096 # MinimumInterval 10
1097 # Conn "/dev/ttyUSB2"
1099 # <Device "Sound Level">
1100 # Driver "cem-dt-885x"
1101 # Conn "/dev/ttyUSB1"
1106 # Disk "/^[hs]d[a-f][0-9]?$/"
1107 # IgnoreSelected false
1111 # <Data "powerplus_voltge_input">
1114 # Instance "input_line1"
1115 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1121 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1123 # <Data "std_traffic">
1126 # Instance "IF-MIB::ifDescr"
1127 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1130 # <Host "some.switch.mydomain.org">
1131 # Address "192.168.0.2"
1133 # Community "community_string"
1134 # Collect "std_traffic"
1137 # <Host "some.server.mydomain.org">
1138 # Address "192.168.0.42"
1140 # Community "another_string"
1141 # Collect "std_traffic" "hr_users"
1143 # <Host "some.ups.mydomain.org">
1144 # Address "192.168.0.3"
1146 # Community "more_communities"
1147 # Collect "powerplus_voltge_input"
1155 # DeleteCounters false
1156 # DeleteTimers false
1157 # DeleteGauges false
1160 # TimerPercentile 90.0
1161 # TimerPercentile 95.0
1162 # TimerPercentile 99.0
1170 # ReportByDevice false
1172 # ValuesAbsolute true
1173 # ValuesPercentage false
1177 # <Table "/proc/slabinfo">
1178 # Instance "slabinfo"
1182 # InstancePrefix "active_objs"
1188 # InstancePrefix "objperslab"
1196 # <File "/var/log/exim4/mainlog">
1200 # Regex "S=([1-9][0-9]*)"
1201 # DSType "CounterAdd"
1206 # Regex "\\<R=local_user\\>"
1207 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1208 # DSType "CounterInc"
1210 # Instance "local_user"
1216 # <Metric "dropped">
1218 # Instance "dropped"
1223 # Instance "wire-realtime"
1227 # Type "alerts_per_second"
1231 # Type "kpackets_wire_per_sec.realtime"
1234 # <File "/var/log/snort/snort.stats">
1235 # Instance "snort-eth0"
1237 # Collect "dropped" "mbps" "alerts" "kpps"
1243 # ListeningPorts false
1244 # AllPortsSummary false
1249 #<Plugin teamspeak2>
1256 # Device "/dev/ttyUSB0"
1261 # ForceUseProcfs false
1263 # IgnoreSelected false
1266 #<Plugin tokyotyrant>
1272 ## None of the following option should be set manually
1273 ## This plugin automatically detect most optimal options
1274 ## Only set values here if:
1275 ## - The module asks you to
1276 ## - You want to disable the collection of some data
1277 ## - Your (Intel) CPU is not supported (yet) by the module
1278 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1279 ## In the last two cases, please open a bug request
1281 # TCCActivationTemp "100"
1283 # PackageCstates "396"
1284 # SystemManagementInterrupt true
1285 # DigitalTemperatureSensor true
1286 # PackageThermalManagement true
1287 # RunningAveragePowerLimit "7"
1291 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1292 # SocketGroup "collectd"
1293 # SocketPerms "0660"
1294 # DeleteSocket false
1298 # UUIDFile "/etc/uuid"
1305 # ShowTemperatures true
1306 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1307 ## then inverted with a IgnoreSelectedTemperature.
1308 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1310 # IgnoreSelectedTemperature true
1312 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1313 ## then inverted with a IgnoreSelectedTemperature.
1314 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1316 # IgnoreSelectedPower true
1320 # This tag support an argument if you want to
1321 # monitor the local instance just use </Instance>
1322 # If you prefer defining another instance you can do
1323 # so by using <Instance "myinstance">
1325 # CollectBackend true
1326 # CollectBan false # Varnish 3 and above
1328 # CollectConnections true
1329 # CollectDirectorDNS false # Varnish 3 only
1331 # CollectFetch false
1333 # CollectObjects false
1334 # CollectPurge false # Varnish 2 only
1335 # CollectSession false
1337 # CollectSMA false # Varnish 2 only
1339 # CollectSM false # Varnish 2 only
1340 # CollectStruct false
1341 # CollectTotals false
1342 # CollectUptime false # Varnish 3 and above
1344 # CollectVSM false # Varnish 4 only
1345 # CollectWorkers false
1350 # Connection "xen:///"
1351 # RefreshInterval 60
1353 # BlockDevice "name:device"
1354 # InterfaceDevice "name:device"
1355 # IgnoreSelected false
1356 # HostnameFormat name
1357 # InterfaceFormat name
1358 # PluginInstanceFormat name
1365 #<Plugin write_graphite>
1370 # ReconnectInterval 0
1371 # LogSendErrors true
1373 # Postfix "collectd"
1375 # AlwaysAppendDS false
1376 # EscapeCharacter "_"
1380 #<Plugin write_http>
1382 # URL "http://example.com/collectd-post"
1384 # Password "weCh3ik0"
1387 # CACert "/etc/ssl/ca.crt"
1388 # CAPath "/etc/ssl/certs/"
1389 # ClientKey "/etc/ssl/client.pem"
1390 # ClientCert "/etc/ssl/client.crt"
1391 # ClientKeyPass "secret"
1392 # Header "X-Custom-Header: custom_value"
1393 # SSLVersion "TLSv1"
1402 #<Plugin write_kafka>
1403 # Property "metadata.broker.list" "localhost:9092"
1404 # <Topic "collectd">
1409 #<Plugin write_mongodb>
1415 # Database "auth_db"
1417 # Password "auth_passwd"
1421 #<Plugin write_redis>
1426 # Prefix "collectd/"
1430 #<Plugin write_riemann>
1438 # AlwaysAppendDS false
1440 # Notifications true
1441 # CheckThresholds false
1442 # EventServicePrefix ""
1445 # Attribute "foo" "bar"
1448 #<Plugin write_sensu>
1453 # AlwaysAppendDS false
1454 # Notifications true
1456 # EventServicePrefix ""
1457 # MetricHandler "influx"
1458 # MetricHandler "default"
1459 # NotificationHandler "flapjack"
1460 # NotificationHandler "howling_monkey"
1463 # Attribute "foo" "bar"
1466 #<Plugin write_tsdb>
1470 # HostTags "status=production"
1472 # AlwaysAppendDS false
1481 ##############################################################################
1482 # Filter configuration #
1483 #----------------------------------------------------------------------------#
1484 # The following configures collectd's filtering mechanism. Before changing #
1485 # anything in this section, please read the `FILTER CONFIGURATION' section #
1486 # in the collectd.conf(5) manual page. #
1487 ##############################################################################
1489 # Load required matches:
1490 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1491 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1492 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1493 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1494 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1496 # Load required targets:
1497 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1498 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1499 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1500 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1501 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1503 #----------------------------------------------------------------------------#
1504 # The following block demonstrates the default behavior if no filtering is #
1505 # configured at all: All values will be sent to all available write plugins. #
1506 #----------------------------------------------------------------------------#
1508 #<Chain "PostCache">
1512 ##############################################################################
1513 # Threshold configuration #
1514 #----------------------------------------------------------------------------#
1515 # The following outlines how to configure collectd's threshold checking #
1516 # plugin. The plugin and possible configuration options are documented in #
1517 # the collectd-threshold(5) manual page. #
1518 ##############################################################################
1520 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1524 # WarningMax 1000.00
1526 # FailureMax 1200.00
1531 # <Plugin "interface">
1533 # <Type "if_octets">
1534 # FailureMax 10000000
1548 # WarningMin 100000000
1553 # DataSource "midterm"