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 #@BUILD_PLUGIN_CPUSLEEP_TRUE@LoadPlugin cpusleep
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_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"
567 # IgnoreSelected false
572 # Sensor "some_sensor"
573 # Sensor "another_one"
574 # IgnoreSelected false
575 # NotifySensorAdd false
576 # NotifySensorRemove true
577 # NotifySensorNotPresent false
589 # IgnoreSelected true
593 # JVMArg "-verbose:jni"
594 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
596 # LoadPlugin "org.collectd.java.Foobar"
597 # <Plugin "org.collectd.java.Foobar">
598 # # To be parsed by the plugin
603 # ReportRelative true
608 # ReportBySerial false
613 # IgnoreSelected false
616 # WatchAdd "node_octets"
617 # WatchAdd "node_rssi"
618 # WatchAdd "is_rx_acl"
619 # WatchAdd "is_scan_active"
629 # IgnoreSelected false
633 # <Page "plugin_instance">
637 # Regex "(\\d+) bytes sent"
638 # ExcludeRegex "<lines to be excluded>"
641 # Instance "type_instance"
654 # ValuesAbsolute true
655 # ValuesPercentage false
661 # RegisterCmd ReadHolding
673 # Instance "foobar" # optional
674 # Collect "data_name"
683 # ClientId "localhost"
690 # CACert "/etc/ssl/ca.crt"
691 # CertificateFile "/etc/ssl/client.crt"
692 # CertificateKeyFile "/etc/ssl/client.pem"
693 # TLSProtocol "tlsv1.2"
694 # CipherSuite "ciphers"
699 # ClientId "localhost"
710 # Host "database.serv.er"
719 # <Database db_name2>
722 # Socket "/var/run/mysql/mysqld.sock"
724 # SlaveNotifications true
729 # <Host "netapp1.example.com">
734 # Password "aef4Aebe"
741 # GetBufferCache true
753 # IgnoreSelectedIO false
755 # IgnoreSelectedOps false
756 # GetLatency "volume0"
757 # IgnoreSelectedLatency false
764 # IgnoreSelectedCapacity false
767 # IgnoreSelectedSnapshot false
782 # VerboseInterface "All"
783 # QDisc "eth0" "pfifo_fast-1:0"
784 # Class "ppp0" "htb-1:10"
785 # Filter "ppp0" "u32-1:0"
786 # IgnoreSelected false
789 @LOAD_PLUGIN_NETWORK@<Plugin network>
791 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
792 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
793 # SecurityLevel Encrypt
797 # ResolveInterval 14400
798 @LOAD_PLUGIN_NETWORK@ </Server>
802 # Listen "ff18::efc0:4a42" "25826"
803 # <Listen "239.192.74.66" "25826">
805 # AuthFile "/etc/collectd/passwd"
810 # # proxy setup (client and server as above):
813 # # statistics about the network plugin itself
816 # # "garbage collection"
818 @LOAD_PLUGIN_NETWORK@</Plugin>
821 # URL "http://localhost/status?auto"
824 # CACert "/etc/ssl/ca.crt"
827 #<Plugin notify_desktop>
829 # WarningTimeout 5000
833 #<Plugin notify_email>
834 # SMTPServer "localhost"
836 # SMTPUser "my-username"
837 # SMTPPassword "my-password"
838 # From "collectd@main0server.com"
839 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
840 # Subject "Aaaaaa!! %s on %s!!!!!"
841 # Recipient "email1@domain1.net"
842 # Recipient "email2@domain2.com"
845 #<Plugin notify_nagios>
846 # CommandFile "/usr/local/nagios/var/rw/nagios.cmd"
852 # ReverseLookups false
857 # UPS "upsname@hostname:port"
863 # CollectLinks "Summary"
864 # CollectRoutes "Summary"
865 # CollectTopology "Summary"
869 # Device "-s localhost:4304"
870 # Sensor "F10FCA000800"
871 # IgnoreSelected false
875 # <Instance "localhost">
876 # URL "ldap://localhost:389"
879 # CACert "/path/to/ca.crt"
886 # StatusFile "/etc/openvpn/openvpn-status.log"
887 # ImprovedNamingSchema false
888 # CollectCompression true
889 # CollectIndividualUsers true
890 # CollectUserCount false
894 # <Query "out_of_stock">
895 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
898 # InstancesFrom "category"
902 # <Database "product_information">
906 # Query "out_of_stock"
911 # IncludeDir "/my/include/path"
912 # BaseName "Collectd::Plugins"
914 # LoadPlugin Monitorus
928 # Server "server name"
929 # Script "script name"
934 # Host "host.foo.bar"
938 # SourceAddress "1.2.3.4"
945 # Statement "SELECT magic FROM wizard WHERE host = $1;"
949 # InstancePrefix "magic"
953 # <Query rt36_tickets>
954 # Statement "SELECT COUNT(type) AS count, type \
955 # FROM (SELECT CASE \
956 # WHEN resolved = 'epoch' THEN 'open' \
957 # ELSE 'resolved' END AS type \
958 # FROM tickets) type \
962 # InstancePrefix "rt36_tickets"
963 # InstancesFrom "type"
968 # # See contrib/postgresql/collectd_insert.sql for details
969 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
978 # KRBSrvName "kerberos_service_name"
983 # Service "service_name"
984 # Query backend # predefined
988 # Service "collectd_store"
990 # # see collectd.conf(5) for details
996 # <Server "server_name">
998 # Collect "udp-answers" "udp-queries"
999 # Socket "/var/run/pdns.controlsocket"
1001 # <Recursor "recursor_name">
1002 # Collect "questions"
1003 # Collect "cache-hits" "cache-misses"
1004 # Socket "/var/run/pdns_recursor.controlsocket"
1006 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
1015 # IgnoreSelected false
1019 # ModulePath "/path/to/your/python/modules"
1025 # spam "wonderful" "lovely"
1031 # Host "redis.example.com"
1039 # Host "router.example.com"
1042 # Password "dozaiTh4"
1043 # CollectInterface true
1044 # CollectRegistrationTable true
1045 # CollectCPULoad true
1046 # CollectMemory true
1053 # DaemonAddress "unix:/tmp/rrdcached.sock"
1054 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1056 # CreateFilesAsync false
1057 # CollectStatistics true
1061 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1062 # CreateFilesAsync false
1065 # WritesPerSecond 50
1069 # SensorConfigFile "/etc/sensors.conf"
1070 # Sensor "it8712-isa-0290/temperature-temp1"
1071 # Sensor "it8712-isa-0290/fanspeed-fan3"
1072 # Sensor "it8712-isa-0290/voltage-in8"
1073 # IgnoreSelected false
1078 # <Device "AC Voltage">
1079 # Driver "fluke-dmm"
1080 # MinimumInterval 10
1081 # Conn "/dev/ttyUSB2"
1083 # <Device "Sound Level">
1084 # Driver "cem-dt-885x"
1085 # Conn "/dev/ttyUSB1"
1090 # Disk "/^[hs]d[a-f][0-9]?$/"
1091 # IgnoreSelected false
1095 # <Data "powerplus_voltge_input">
1098 # Instance "input_line1"
1099 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1105 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1107 # <Data "std_traffic">
1110 # Instance "IF-MIB::ifDescr"
1111 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1114 # <Host "some.switch.mydomain.org">
1115 # Address "192.168.0.2"
1117 # Community "community_string"
1118 # Collect "std_traffic"
1121 # <Host "some.server.mydomain.org">
1122 # Address "192.168.0.42"
1124 # Community "another_string"
1125 # Collect "std_traffic" "hr_users"
1127 # <Host "some.ups.mydomain.org">
1128 # Address "192.168.0.3"
1130 # Community "more_communities"
1131 # Collect "powerplus_voltge_input"
1139 # DeleteCounters false
1140 # DeleteTimers false
1141 # DeleteGauges false
1144 # TimerPercentile 90.0
1145 # TimerPercentile 95.0
1146 # TimerPercentile 99.0
1154 # ReportByDevice false
1156 # ValuesAbsolute true
1157 # ValuesPercentage false
1161 # <Table "/proc/slabinfo">
1162 # Instance "slabinfo"
1166 # InstancePrefix "active_objs"
1172 # InstancePrefix "objperslab"
1180 # <File "/var/log/exim4/mainlog">
1184 # Regex "S=([1-9][0-9]*)"
1185 # DSType "CounterAdd"
1190 # Regex "\\<R=local_user\\>"
1191 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1192 # DSType "CounterInc"
1194 # Instance "local_user"
1200 # <Metric "dropped">
1202 # Instance "dropped"
1207 # Instance "wire-realtime"
1211 # Type "alerts_per_second"
1215 # Type "kpackets_wire_per_sec.realtime"
1218 # <File "/var/log/snort/snort.stats">
1219 # Instance "snort-eth0"
1221 # Collect "dropped" "mbps" "alerts" "kpps"
1227 # ListeningPorts false
1228 # AllPortsSummary false
1233 #<Plugin teamspeak2>
1240 # Device "/dev/ttyUSB0"
1245 # ForceUseProcfs false
1247 # IgnoreSelected false
1250 #<Plugin tokyotyrant>
1256 ## None of the following option should be set manually
1257 ## This plugin automatically detect most optimal options
1258 ## Only set values here if:
1259 ## - The module asks you to
1260 ## - You want to disable the collection of some data
1261 ## - Your (Intel) CPU is not supported (yet) by the module
1262 ## - The module generates a lot of errors 'MSR offset 0x... read failed'
1263 ## In the last two cases, please open a bug request
1265 # TCCActivationTemp "100"
1267 # PackageCstates "396"
1268 # SystemManagementInterrupt true
1269 # DigitalTemperatureSensor true
1270 # PackageThermalManagement true
1271 # RunningAveragePowerLimit "7"
1275 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1276 # SocketGroup "collectd"
1277 # SocketPerms "0660"
1278 # DeleteSocket false
1282 # UUIDFile "/etc/uuid"
1289 # ShowTemperatures true
1290 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1291 ## then inverted with a IgnoreSelectedTemperature.
1292 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1294 # IgnoreSelectedTemperature true
1296 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1297 ## then inverted with a IgnoreSelectedTemperature.
1298 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1300 # IgnoreSelectedPower true
1304 # This tag support an argument if you want to
1305 # monitor the local instance just use </Instance>
1306 # If you prefer defining another instance you can do
1307 # so by using <Instance "myinstance">
1309 # CollectBackend true
1310 # CollectBan false # Varnish 3 and above
1312 # CollectConnections true
1313 # CollectDirectorDNS false # Varnish 3 only
1315 # CollectFetch false
1317 # CollectObjects false
1318 # CollectPurge false # Varnish 2 only
1319 # CollectSession false
1321 # CollectSMA false # Varnish 2 only
1323 # CollectSM false # Varnish 2 only
1324 # CollectStruct false
1325 # CollectTotals false
1326 # CollectUptime false # Varnish 3 and above
1328 # CollectVSM false # Varnish 4 only
1329 # CollectWorkers false
1334 # Connection "xen:///"
1335 # RefreshInterval 60
1337 # BlockDevice "name:device"
1338 # InterfaceDevice "name:device"
1339 # IgnoreSelected false
1340 # HostnameFormat name
1341 # InterfaceFormat name
1342 # PluginInstanceFormat name
1349 #<Plugin write_graphite>
1354 # ReconnectInterval 0
1355 # LogSendErrors true
1357 # Postfix "collectd"
1359 # AlwaysAppendDS false
1360 # EscapeCharacter "_"
1364 #<Plugin write_http>
1366 # URL "http://example.com/collectd-post"
1368 # Password "weCh3ik0"
1371 # CACert "/etc/ssl/ca.crt"
1372 # CAPath "/etc/ssl/certs/"
1373 # ClientKey "/etc/ssl/client.pem"
1374 # ClientCert "/etc/ssl/client.crt"
1375 # ClientKeyPass "secret"
1376 # Header "X-Custom-Header: custom_value"
1377 # SSLVersion "TLSv1"
1386 #<Plugin write_kafka>
1387 # Property "metadata.broker.list" "localhost:9092"
1388 # <Topic "collectd">
1393 #<Plugin write_mongodb>
1399 # Database "auth_db"
1401 # Password "auth_passwd"
1405 #<Plugin write_redis>
1410 # Prefix "collectd/"
1414 #<Plugin write_riemann>
1422 # AlwaysAppendDS false
1424 # Notifications true
1425 # CheckThresholds false
1426 # EventServicePrefix ""
1429 # Attribute "foo" "bar"
1432 #<Plugin write_sensu>
1437 # AlwaysAppendDS false
1438 # Notifications true
1440 # EventServicePrefix ""
1441 # MetricHandler "influx"
1442 # MetricHandler "default"
1443 # NotificationHandler "flapjack"
1444 # NotificationHandler "howling_monkey"
1447 # Attribute "foo" "bar"
1450 #<Plugin write_tsdb>
1454 # HostTags "status=production"
1456 # AlwaysAppendDS false
1465 ##############################################################################
1466 # Filter configuration #
1467 #----------------------------------------------------------------------------#
1468 # The following configures collectd's filtering mechanism. Before changing #
1469 # anything in this section, please read the `FILTER CONFIGURATION' section #
1470 # in the collectd.conf(5) manual page. #
1471 ##############################################################################
1473 # Load required matches:
1474 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1475 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1476 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1477 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1478 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1480 # Load required targets:
1481 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1482 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1483 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1484 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1485 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1487 #----------------------------------------------------------------------------#
1488 # The following block demonstrates the default behavior if no filtering is #
1489 # configured at all: All values will be sent to all available write plugins. #
1490 #----------------------------------------------------------------------------#
1492 #<Chain "PostCache">
1496 ##############################################################################
1497 # Threshold configuration #
1498 #----------------------------------------------------------------------------#
1499 # The following outlines how to configure collectd's threshold checking #
1500 # plugin. The plugin and possible configuration options are documented in #
1501 # the collectd-threshold(5) manual page. #
1502 ##############################################################################
1504 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1508 # WarningMax 1000.00
1510 # FailureMax 1200.00
1515 # <Plugin "interface">
1517 # <Type "if_octets">
1518 # FailureMax 10000000
1532 # WarningMin 100000000
1537 # DataSource "midterm"