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 begnning 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_CONNTRACK_TRUE@LoadPlugin conntrack
103 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
104 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
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_HDDTEMP_TRUE@LoadPlugin hddtemp
125 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
126 #@BUILD_PLUGIN_IPC_TRUE@@BUILD_PLUGIN_IPC_TRUE@LoadPlugin ipc
127 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
128 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
129 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
130 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
131 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
132 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
133 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
134 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
135 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
136 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
137 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
138 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
139 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
140 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
141 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
142 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
143 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
144 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
145 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
146 @LOAD_PLUGIN_NETWORK@LoadPlugin network
147 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
148 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
149 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
150 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
151 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
152 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
153 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
154 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
155 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
156 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
157 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
158 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
159 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
160 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
161 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
162 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
163 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
164 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
165 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
166 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
167 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
168 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
169 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
170 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
171 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
172 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
173 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
174 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
175 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
176 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
177 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
178 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
179 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
180 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
181 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
182 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
183 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
184 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
185 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
186 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
187 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
188 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
189 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
190 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
191 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
192 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
193 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
194 #@BUILD_PLUGIN_VIRT_TRUE@LoadPlugin virt
195 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
196 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
197 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
198 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
199 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
200 #@BUILD_PLUGIN_WRITE_KAFKA_TRUE@LoadPlugin write_kafka
201 #@BUILD_PLUGIN_WRITE_LOG_TRUE@LoadPlugin write_log
202 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
203 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
204 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
205 #@BUILD_PLUGIN_WRITE_SENSU_TRUE@LoadPlugin write_sensu
206 #@BUILD_PLUGIN_WRITE_TSDB_TRUE@LoadPlugin write_tsdb
207 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
208 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
209 #@BUILD_PLUGIN_ZONE_TRUE@LoadPlugin zone
210 #@BUILD_PLUGIN_ZOOKEEPER_TRUE@LoadPlugin zookeeper
212 ##############################################################################
213 # Plugin configuration #
214 #----------------------------------------------------------------------------#
215 # In this section configuration stubs for each plugin are provided. A desc- #
216 # ription of those options is available in the collectd.conf(5) manual page. #
217 ##############################################################################
219 #<Plugin aggregation>
221 # #Host "unspecified"
223 # #PluginInstance "unspecified"
225 # #TypeInstance "unspecified"
228 # GroupBy "TypeInstance"
232 # CalculateAverage true
233 # CalculateMinimum false
234 # CalculateMaximum false
235 # CalculateStddev false
246 # Exchange "amq.fanout"
247 # RoutingKey "collectd"
250 # ConnectionRetryDelay 0
256 # URL "http://localhost/status?auto"
259 # CACert "/etc/ssl/ca.crt"
267 # PersistentConnection true
275 # URL "http://localhost/ascent/status/"
278 # CACert "/etc/ssl/ca.crt"
281 #<Plugin "barometer">
282 # Device "/dev/i2c-0";
285 # TemperatureOffset 0.0
288 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
292 # ValuesPercentage false
297 # URL "http://localhost:8053/"
303 # ZoneMaintStats true
304 # ResolverStats false
312 # Zone "127.in-addr.arpa/IN"
317 # LongRunAvgLatency false
318 # ConvertSpecialMetricTypes true
320 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
323 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
326 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
329 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
335 # IgnoreSelected false
341 # ValuesPercentage false
345 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
350 # <Page "stock_quotes">
351 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
357 # CACert "/path/to/ca.crt"
358 # Header "X-Custom-Header: foobar"
361 # MeasureResponseTime false
362 # MeasureResponseCode false
364 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
365 # DSType "GaugeAverage"
373 # <URL "http://localhost:80/test.json">
374 # Instance "test_http_json"
375 # <Key "testArray/0">
379 # <Key "testArray/1">
383 # <Key "testArrayInbetween/0/blarg">
387 # <Key "testArrayInbetween/1/blub">
391 # <Key "testDirectHit">
395 # <Key "testSubLevelHit/oneMoreLevel">
400 # put this as test.json on your webserver, the above config demonstraces
404 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
406 # "testSubLevelHit":{"oneMoreLevel":6}
408 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
409 # <URL "http://localhost:5984/_stats">
411 # <Key "httpd/requests/count">
412 # Type "http_requests"
415 # <Key "httpd_request_methods/*/count">
416 # Type "http_request_methods"
419 # <Key "httpd_status_codes/*/count">
420 # Type "http_response_codes"
423 ## Database status metrics:
424 # <URL "http://localhost:5984/_all_dbs">
426 # <Key "*/doc_count">
429 # <Key "*/doc_del_count">
432 # <Key "*/disk_size">
439 # <URL "http://localhost/stats.xml">
441 # Instance "some_instance"
443 # Password "thaiNg0I"
447 # CACert "/path/to/ca.crt"
448 # Header "X-Custom-Header: foobar"
451 # <XPath "table[@id=\"magic_level\"]/tr">
453 # #InstancePrefix "prefix-"
454 # InstanceFrom "td[1]"
455 # ValuesFrom "td[2]/span[@class=\"level\"]"
461 # <Query "num_of_customers">
462 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
465 # InstancesFrom "c_key"
466 # ValuesFrom "c_value"
469 # <Database "customers_db">
471 # DriverOption "host" "localhost"
472 # DriverOption "username" "collectd"
473 # DriverOption "password" "AeXohy0O"
474 # DriverOption "dbname" "custdb0"
475 # #SelectDB "custdb0"
476 # Query "num_of_customers"
484 # Device "192.168.0.2:/mnt/nfs"
487 # IgnoreSelected false
488 # ReportByDevice false
489 # ReportReserved false
491 # ValuesAbsolute true
492 # ValuesPercentage false
496 # Disk "/^[hs]d[a-f][0-9]?$/"
497 # IgnoreSelected false
499 # UdevNameAttr "DEVNAME"
504 # IgnoreSource "192.168.0.1"
505 # SelectNumericQueryTypes true
509 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
510 # SocketGroup "collectd"
517 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
518 # Map "multicast" "if_multicast"
523 # Exec "user:group" "/path/to/exec"
524 # NotificationExec "user:group" "/path/to/exec"
528 # ValuesAbsolute true
529 # ValuesPercentage false
533 # <Directory "/path/to/dir">
539 # IncludeHidden false
544 # MCReceiveFrom "239.2.11.71" "8649"
545 # <Metric "swap_total">
547 # TypeInstance "total"
550 # <Metric "swap_free">
552 # TypeInstance "free"
564 # IgnoreSelected false
568 # Sensor "some_sensor"
569 # Sensor "another_one"
570 # IgnoreSelected false
571 # NotifySensorAdd false
572 # NotifySensorRemove true
573 # NotifySensorNotPresent false
584 # IgnoreSelected true
588 # JVMArg "-verbose:jni"
589 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
591 # LoadPlugin "org.collectd.java.Foobar"
592 # <Plugin "org.collectd.java.Foobar">
593 # # To be parsed by the plugin
598 # ReportRelative true
603 # ReportBySerial false
608 # IgnoreSelected false
611 # WatchAdd "node_octets"
612 # WatchAdd "node_rssi"
613 # WatchAdd "is_rx_acl"
614 # WatchAdd "is_scan_active"
624 # IgnoreSelected false
628 # <Page "plugin_instance">
632 # Regex "(\\d+) bytes sent"
633 # ExcludeRegex "<lines to be excluded>"
636 # Instance "type_instance"
649 # ValuesAbsolute true
650 # ValuesPercentage false
656 # RegisterCmd ReadHolding
668 # Instance "foobar" # optional
669 # Collect "data_name"
676 # Host "database.serv.er"
685 # <Database db_name2>
688 # Socket "/var/run/mysql/mysqld.sock"
690 # SlaveNotifications true
695 # <Host "netapp1.example.com">
700 # Password "aef4Aebe"
707 # GetBufferCache true
719 # IgnoreSelectedIO false
721 # IgnoreSelectedOps false
722 # GetLatency "volume0"
723 # IgnoreSelectedLatency false
730 # IgnoreSelectedCapacity false
733 # IgnoreSelectedSnapshot false
748 # VerboseInterface "All"
749 # QDisc "eth0" "pfifo_fast-1:0"
750 # Class "ppp0" "htb-1:10"
751 # Filter "ppp0" "u32-1:0"
752 # IgnoreSelected false
755 @LOAD_PLUGIN_NETWORK@<Plugin network>
757 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
758 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
759 # SecurityLevel Encrypt
763 # ResolveInterval 14400
764 @LOAD_PLUGIN_NETWORK@ </Server>
768 # Listen "ff18::efc0:4a42" "25826"
769 # <Listen "239.192.74.66" "25826">
771 # AuthFile "/etc/collectd/passwd"
776 # # proxy setup (client and server as above):
779 # # statistics about the network plugin itself
782 # # "garbage collection"
784 @LOAD_PLUGIN_NETWORK@</Plugin>
787 # URL "http://localhost/status?auto"
790 # CACert "/etc/ssl/ca.crt"
793 #<Plugin notify_desktop>
795 # WarningTimeout 5000
799 #<Plugin notify_email>
800 # SMTPServer "localhost"
802 # SMTPUser "my-username"
803 # SMTPPassword "my-password"
804 # From "collectd@main0server.com"
805 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
806 # Subject "Aaaaaa!! %s on %s!!!!!"
807 # Recipient "email1@domain1.net"
808 # Recipient "email2@domain2.com"
814 # ReverseLookups false
819 # UPS "upsname@hostname:port"
825 # CollectLinks "Summary"
826 # CollectRoutes "Summary"
827 # CollectTopology "Summary"
831 # Device "-s localhost:4304"
832 # Sensor "F10FCA000800"
833 # IgnoreSelected false
837 # <Instance "localhost">
838 # URL "ldap://localhost:389"
841 # CACert "/path/to/ca.crt"
848 # StatusFile "/etc/openvpn/openvpn-status.log"
849 # ImprovedNamingSchema false
850 # CollectCompression true
851 # CollectIndividualUsers true
852 # CollectUserCount false
856 # <Query "out_of_stock">
857 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
860 # InstancesFrom "category"
864 # <Database "product_information">
868 # Query "out_of_stock"
873 # IncludeDir "/my/include/path"
874 # BaseName "Collectd::Plugins"
876 # LoadPlugin Monitorus
890 # Server "server name"
891 # Script "script name"
896 # Host "host.foo.bar"
900 # SourceAddress "1.2.3.4"
907 # Statement "SELECT magic FROM wizard WHERE host = $1;"
911 # InstancePrefix "magic"
915 # <Query rt36_tickets>
916 # Statement "SELECT COUNT(type) AS count, type \
917 # FROM (SELECT CASE \
918 # WHEN resolved = 'epoch' THEN 'open' \
919 # ELSE 'resolved' END AS type \
920 # FROM tickets) type \
924 # InstancePrefix "rt36_tickets"
925 # InstancesFrom "type"
930 # # See contrib/postgresql/collectd_insert.sql for details
931 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
940 # KRBSrvName "kerberos_service_name"
945 # Service "service_name"
946 # Query backend # predefined
950 # Service "collectd_store"
952 # # see collectd.conf(5) for details
958 # <Server "server_name">
960 # Collect "udp-answers" "udp-queries"
961 # Socket "/var/run/pdns.controlsocket"
963 # <Recursor "recursor_name">
964 # Collect "questions"
965 # Collect "cache-hits" "cache-misses"
966 # Socket "/var/run/pdns_recursor.controlsocket"
968 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
977 # IgnoreSelected false
981 # ModulePath "/path/to/your/python/modules"
987 # spam "wonderful" "lovely"
993 # Host "redis.example.com"
1001 # Host "router.example.com"
1004 # Password "dozaiTh4"
1005 # CollectInterface true
1006 # CollectRegistrationTable true
1007 # CollectCPULoad true
1008 # CollectMemory true
1015 # DaemonAddress "unix:/tmp/rrdcached.sock"
1016 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1018 # CreateFilesAsync false
1019 # CollectStatistics true
1023 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1024 # CreateFilesAsync false
1027 # WritesPerSecond 50
1031 # SensorConfigFile "/etc/sensors.conf"
1032 # Sensor "it8712-isa-0290/temperature-temp1"
1033 # Sensor "it8712-isa-0290/fanspeed-fan3"
1034 # Sensor "it8712-isa-0290/voltage-in8"
1035 # IgnoreSelected false
1040 # <Device "AC Voltage">
1041 # Driver "fluke-dmm"
1042 # MinimumInterval 10
1043 # Conn "/dev/ttyUSB2"
1045 # <Device "Sound Level">
1046 # Driver "cem-dt-885x"
1047 # Conn "/dev/ttyUSB1"
1052 # Disk "/^[hs]d[a-f][0-9]?$/"
1053 # IgnoreSelected false
1057 # <Data "powerplus_voltge_input">
1060 # Instance "input_line1"
1061 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1067 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1069 # <Data "std_traffic">
1072 # Instance "IF-MIB::ifDescr"
1073 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1076 # <Host "some.switch.mydomain.org">
1077 # Address "192.168.0.2"
1079 # Community "community_string"
1080 # Collect "std_traffic"
1083 # <Host "some.server.mydomain.org">
1084 # Address "192.168.0.42"
1086 # Community "another_string"
1087 # Collect "std_traffic" "hr_users"
1089 # <Host "some.ups.mydomain.org">
1090 # Address "192.168.0.3"
1092 # Community "more_communities"
1093 # Collect "powerplus_voltge_input"
1101 # DeleteCounters false
1102 # DeleteTimers false
1103 # DeleteGauges false
1105 # TimerPercentile 90.0
1106 # TimerPercentile 95.0
1107 # TimerPercentile 99.0
1115 # ReportByDevice false
1117 # ValuesAbsolute true
1118 # ValuesPercentage false
1122 # <Table "/proc/slabinfo">
1123 # Instance "slabinfo"
1127 # InstancePrefix "active_objs"
1133 # InstancePrefix "objperslab"
1141 # <File "/var/log/exim4/mainlog">
1145 # Regex "S=([1-9][0-9]*)"
1146 # DSType "CounterAdd"
1151 # Regex "\\<R=local_user\\>"
1152 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1153 # DSType "CounterInc"
1155 # Instance "local_user"
1161 # <Metric "dropped">
1163 # Instance "dropped"
1168 # Instance "wire-realtime"
1172 # Type "alerts_per_second"
1176 # Type "kpackets_wire_per_sec.realtime"
1179 # <File "/var/log/snort/snort.stats">
1180 # Instance "snort-eth0"
1182 # Collect "dropped" "mbps" "alerts" "kpps"
1188 # ListeningPorts false
1189 # AllPortsSummary false
1194 #<Plugin teamspeak2>
1201 # Device "/dev/ttyUSB0"
1206 # ForceUseProcfs false
1208 # IgnoreSelected false
1211 #<Plugin tokyotyrant>
1217 ## None of the following option should be set manually
1218 ## This plugin automatically detect most optimal options
1219 ## Only set values here if:
1220 ## - The module ask you to
1221 ## - You want to disable the collection of some data
1222 ## - Your (intel) CPU is not supported (yet) by the module
1223 ## - The module generate a lot of errors 'MSR offset 0x... read failed'
1224 ## In the last two cases, please open a bug request
1226 # TCCActivationTemp "100"
1228 # PackageCstates "396"
1229 # SystemManagementInterrupt true
1230 # DigitalTemperatureSensor true
1231 # PackageThermalManagement true
1232 # RunningAveragePowerLimit "7"
1236 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1237 # SocketGroup "collectd"
1238 # SocketPerms "0660"
1239 # DeleteSocket false
1243 # UUIDFile "/etc/uuid"
1250 # ShowTemperatures true
1251 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1252 ## then inverted with a IgnoreSelectedTemperature.
1253 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1255 # IgnoreSelectedTemperature true
1257 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1258 ## then inverted with a IgnoreSelectedTemperature.
1259 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1261 # IgnoreSelectedPower true
1265 # This tag support an argument if you want to
1266 # monitor the local instance just use </Instance>
1267 # If you prefer defining another instance you can do
1268 # so by using <Instance "myinstance">
1270 # CollectBackend true
1271 # CollectBan false # Varnish 3 and above
1273 # CollectConnections true
1274 # CollectDirectorDNS false # Varnish 3 only
1276 # CollectFetch false
1278 # CollectObjects false
1279 # CollectPurge false # Varnish 2 only
1280 # CollectSession false
1282 # CollectSMA false # Varnish 2 only
1284 # CollectSM false # Varnish 2 only
1285 # CollectStruct false
1286 # CollectTotals false
1287 # CollectUptime false # Varnish 3 and above
1289 # CollectVSM false # Varnish 4 only
1290 # CollectWorkers false
1295 # Connection "xen:///"
1296 # RefreshInterval 60
1298 # BlockDevice "name:device"
1299 # InterfaceDevice "name:device"
1300 # IgnoreSelected false
1301 # HostnameFormat name
1302 # InterfaceFormat name
1303 # PluginInstanceFormat name
1310 #<Plugin write_graphite>
1315 # LogSendErrors true
1317 # Postfix "collectd"
1319 # AlwaysAppendDS false
1320 # EscapeCharacter "_"
1324 #<Plugin write_http>
1326 # URL "http://example.com/collectd-post"
1328 # Password "weCh3ik0"
1331 # CACert "/etc/ssl/ca.crt"
1332 # CAPath "/etc/ssl/certs/"
1333 # ClientKey "/etc/ssl/client.pem"
1334 # ClientCert "/etc/ssl/client.crt"
1335 # ClientKeyPass "secret"
1336 # SSLVersion "TLSv1"
1345 #<Plugin write_kafka>
1346 # Property "metadata.broker.list" "localhost:9092"
1347 # <Topic "collectd">
1352 #<Plugin write_mongodb>
1358 # Database "auth_db"
1360 # Password "auth_passwd"
1364 #<Plugin write_redis>
1372 #<Plugin write_riemann>
1380 # AlwaysAppendDS false
1382 # Notifications true
1383 # CheckThresholds false
1384 # EventServicePrefix ""
1387 # Attribute "foo" "bar"
1390 #<Plugin write_sensu>
1395 # AlwaysAppendDS false
1396 # Notifications true
1398 # EventServicePrefix ""
1399 # MetricHandler "influx"
1400 # MetricHandler "default"
1401 # NotificationHandler "flapjack"
1402 # NotificationHandler "howling_monkey"
1405 # Attribute "foo" "bar"
1408 #<Plugin write_tsdb>
1412 # HostTags "status=production"
1414 # AlwaysAppendDS false
1423 ##############################################################################
1424 # Filter configuration #
1425 #----------------------------------------------------------------------------#
1426 # The following configures collectd's filtering mechanism. Before changing #
1427 # anything in this section, please read the `FILTER CONFIGURATION' section #
1428 # in the collectd.conf(5) manual page. #
1429 ##############################################################################
1431 # Load required matches:
1432 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1433 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1434 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1435 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1436 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1438 # Load required targets:
1439 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1440 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1441 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1442 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1443 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1445 #----------------------------------------------------------------------------#
1446 # The following block demonstrates the default behavior if no filtering is #
1447 # configured at all: All values will be sent to all available write plugins. #
1448 #----------------------------------------------------------------------------#
1450 #<Chain "PostCache">
1454 ##############################################################################
1455 # Threshold configuration #
1456 #----------------------------------------------------------------------------#
1457 # The following outlines how to configure collectd's threshold checking #
1458 # plugin. The plugin and possible configuration options are documented in #
1459 # the collectd-threshold(5) manual page. #
1460 ##############################################################################
1462 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1466 # WarningMax 1000.00
1468 # FailureMax 1200.00
1473 # <Plugin "interface">
1475 # <Type "if_octets">
1476 # FailureMax 10000000
1490 # WarningMin 100000000
1495 # DataSource "midterm"