2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
7 ##############################################################################
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon. #
11 ##############################################################################
15 #BaseDir "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir "@libdir@/@PACKAGE_NAME@"
18 #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options #
22 # when an appropriate <Plugin ...> block is encountered. #
23 # Disabled by default. #
24 #----------------------------------------------------------------------------#
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the #
30 # Disabled by default. #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block: #
40 #----------------------------------------------------------------------------#
43 #MaxReadInterval 86400
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow 800000
53 ##############################################################################
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log #
57 # messages generated when loading or configuring other plugins can be #
59 ##############################################################################
61 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
62 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
63 @LOAD_PLUGIN_LOG_LOGSTASH@LoadPlugin log_logstash
66 # LogLevel @DEFAULT_LOG_LEVEL@
72 #<Plugin log_logstash>
73 # LogLevel @DEFAULT_LOG_LEVEL@
74 # File "@localstatedir@/log/@PACKAGE_NAME@.json.log"
78 # LogLevel @DEFAULT_LOG_LEVEL@
81 ##############################################################################
82 # LoadPlugin section #
83 #----------------------------------------------------------------------------#
84 # Lines beginning with a single `#' belong to plugins which have been built #
85 # but are disabled by default. #
87 # Lines beginning with `##' belong to plugins which have not been built due #
88 # to missing dependencies or because they have been deactivated explicitly. #
89 ##############################################################################
91 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
92 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
93 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
94 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
95 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
96 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
97 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
98 #@BUILD_PLUGIN_BAROMETER_TRUE@LoadPlugin barometer
99 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
100 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
101 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
102 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
103 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
104 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
105 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
106 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
107 @LOAD_PLUGIN_CSV@LoadPlugin csv
108 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
109 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
110 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
111 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
112 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
113 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
114 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
115 #@BUILD_PLUGIN_DRBD_TRUE@LoadPlugin drbd
116 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
117 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
118 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
119 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
120 #@BUILD_PLUGIN_FHCOUNT_TRUE@LoadPlugin fhcount
121 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
122 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
123 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
124 #@BUILD_PLUGIN_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_IPMI_TRUE@LoadPlugin ipmi
128 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
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_MIC_TRUE@LoadPlugin mic
142 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
143 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
144 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
145 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
146 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
147 @LOAD_PLUGIN_NETWORK@LoadPlugin network
148 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
149 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
150 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
151 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
152 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
153 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
154 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
155 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
156 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
157 #@BUILD_PLUGIN_OPENLDAP_TRUE@LoadPlugin openldap
158 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
159 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
160 #@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
161 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
162 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
163 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
164 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
165 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
166 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
167 #@BUILD_PLUGIN_PYTHON_TRUE@LoadPlugin python
168 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
169 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
170 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
171 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
172 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
173 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
174 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
175 #@BUILD_PLUGIN_SMART_TRUE@LoadPlugin smart
176 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
177 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
178 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
179 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
180 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
181 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
182 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
183 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
184 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
185 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
186 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
187 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
188 #@BUILD_PLUGIN_TURBOSTAT_TRUE@LoadPlugin turbostat
189 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
190 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
191 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
192 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
193 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
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_ZOOKEEPER_TRUE@LoadPlugin zookeeper
211 ##############################################################################
212 # Plugin configuration #
213 #----------------------------------------------------------------------------#
214 # In this section configuration stubs for each plugin are provided. A desc- #
215 # ription of those options is available in the collectd.conf(5) manual page. #
216 ##############################################################################
218 #<Plugin aggregation>
220 # #Host "unspecified"
222 # #PluginInstance "unspecified"
224 # #TypeInstance "unspecified"
227 # GroupBy "TypeInstance"
231 # CalculateAverage true
232 # CalculateMinimum false
233 # CalculateMaximum false
234 # CalculateStddev false
245 # Exchange "amq.fanout"
246 # RoutingKey "collectd"
249 # ConnectionRetryDelay 0
255 # URL "http://localhost/status?auto"
258 # CACert "/etc/ssl/ca.crt"
273 # URL "http://localhost/ascent/status/"
276 # CACert "/etc/ssl/ca.crt"
279 #<Plugin "barometer">
280 # Device "/dev/i2c-0";
283 # TemperatureOffset 0.0
286 # TemperatureSensor "myserver/onewire-F10FCA000800/temperature"
290 # ValuesPercentage false
291 # ReportDegraded false
295 # URL "http://localhost:8053/"
301 # ZoneMaintStats true
302 # ResolverStats false
310 # Zone "127.in-addr.arpa/IN"
315 # LongRunAvgLatency false
316 # ConvertSpecialMetricTypes true
318 # SocketPath "/var/run/ceph/ceph-osd.0.asok"
321 # SocketPath "/var/run/ceph/ceph-osd.1.asok"
324 # SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
327 # SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
333 # IgnoreSelected false
339 # ValuesPercentage false
343 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
348 # <Page "stock_quotes">
349 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
355 # CACert "/path/to/ca.crt"
356 # Header "X-Custom-Header: foobar"
359 # MeasureResponseTime false
360 # MeasureResponseCode false
362 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
363 # DSType "GaugeAverage"
371 # <URL "http://localhost:80/test.json">
372 # Instance "test_http_json"
373 # <Key "testArray/0">
377 # <Key "testArray/1">
381 # <Key "testArrayInbetween/0/blarg">
385 # <Key "testArrayInbetween/1/blub">
389 # <Key "testDirectHit">
393 # <Key "testSubLevelHit/oneMoreLevel">
398 # put this as test.json on your webserver, the above config demonstraces
402 # "testArrayInbetween":[{"blarg":3},{"blub":4}],
404 # "testSubLevelHit":{"oneMoreLevel":6}
406 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
407 # <URL "http://localhost:5984/_stats">
409 # <Key "httpd/requests/count">
410 # Type "http_requests"
413 # <Key "httpd_request_methods/*/count">
414 # Type "http_request_methods"
417 # <Key "httpd_status_codes/*/count">
418 # Type "http_response_codes"
421 ## Database status metrics:
422 # <URL "http://localhost:5984/_all_dbs">
424 # <Key "*/doc_count">
427 # <Key "*/doc_del_count">
430 # <Key "*/disk_size">
437 # <URL "http://localhost/stats.xml">
439 # Instance "some_instance"
441 # Password "thaiNg0I"
445 # CACert "/path/to/ca.crt"
446 # Header "X-Custom-Header: foobar"
449 # <XPath "table[@id=\"magic_level\"]/tr">
451 # #InstancePrefix "prefix-"
452 # InstanceFrom "td[1]"
453 # ValuesFrom "td[2]/span[@class=\"level\"]"
459 # <Query "num_of_customers">
460 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
463 # InstancesFrom "c_key"
464 # ValuesFrom "c_value"
467 # <Database "customers_db">
469 # DriverOption "host" "localhost"
470 # DriverOption "username" "collectd"
471 # DriverOption "password" "AeXohy0O"
472 # DriverOption "dbname" "custdb0"
473 # #SelectDB "custdb0"
474 # Query "num_of_customers"
482 # Device "192.168.0.2:/mnt/nfs"
485 # IgnoreSelected false
486 # ReportByDevice false
488 # ValuesAbsolute true
489 # ValuesPercentage false
493 # Disk "/^[hs]d[a-f][0-9]?$/"
494 # IgnoreSelected false
496 # UdevNameAttr "DEVNAME"
501 # IgnoreSource "192.168.0.1"
502 # SelectNumericQueryTypes true
506 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
507 # SocketGroup "collectd"
514 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
515 # Map "multicast" "if_multicast"
520 # Exec "user:group" "/path/to/exec"
521 # NotificationExec "user:group" "/path/to/exec"
525 # ValuesAbsolute true
526 # ValuesPercentage false
530 # <Directory "/path/to/dir">
536 # IncludeHidden false
541 # MCReceiveFrom "239.2.11.71" "8649"
542 # <Metric "swap_total">
544 # TypeInstance "total"
547 # <Metric "swap_free">
549 # TypeInstance "free"
561 # IgnoreSelected false
565 # Sensor "some_sensor"
566 # Sensor "another_one"
567 # IgnoreSelected false
568 # NotifySensorAdd false
569 # NotifySensorRemove true
570 # NotifySensorNotPresent false
582 # IgnoreSelected true
586 # JVMArg "-verbose:jni"
587 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
589 # LoadPlugin "org.collectd.java.Foobar"
590 # <Plugin "org.collectd.java.Foobar">
591 # # To be parsed by the plugin
596 # ReportRelative true
601 # ReportBySerial false
606 # IgnoreSelected false
609 # WatchAdd "node_octets"
610 # WatchAdd "node_rssi"
611 # WatchAdd "is_rx_acl"
612 # WatchAdd "is_scan_active"
622 # IgnoreSelected false
626 # <Page "plugin_instance">
630 # Regex "(\\d+) bytes sent"
631 # ExcludeRegex "<lines to be excluded>"
634 # Instance "type_instance"
647 # ValuesAbsolute true
648 # ValuesPercentage false
654 # RegisterCmd ReadHolding
666 # Instance "foobar" # optional
667 # Collect "data_name"
674 # Host "database.serv.er"
683 # <Database db_name2>
686 # Socket "/var/run/mysql/mysqld.sock"
688 # SlaveNotifications true
693 # <Host "netapp1.example.com">
698 # Password "aef4Aebe"
705 # GetBufferCache true
717 # IgnoreSelectedIO false
719 # IgnoreSelectedOps false
720 # GetLatency "volume0"
721 # IgnoreSelectedLatency false
728 # IgnoreSelectedCapacity false
731 # IgnoreSelectedSnapshot false
746 # VerboseInterface "All"
747 # QDisc "eth0" "pfifo_fast-1:0"
748 # Class "ppp0" "htb-1:10"
749 # Filter "ppp0" "u32-1:0"
750 # IgnoreSelected false
753 @LOAD_PLUGIN_NETWORK@<Plugin network>
755 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
756 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
757 # SecurityLevel Encrypt
761 # ResolveInterval 14400
762 @LOAD_PLUGIN_NETWORK@ </Server>
766 # Listen "ff18::efc0:4a42" "25826"
767 # <Listen "239.192.74.66" "25826">
769 # AuthFile "/etc/collectd/passwd"
774 # # proxy setup (client and server as above):
777 # # statistics about the network plugin itself
780 # # "garbage collection"
782 @LOAD_PLUGIN_NETWORK@</Plugin>
785 # URL "http://localhost/status?auto"
788 # CACert "/etc/ssl/ca.crt"
791 #<Plugin notify_desktop>
793 # WarningTimeout 5000
797 #<Plugin notify_email>
798 # SMTPServer "localhost"
800 # SMTPUser "my-username"
801 # SMTPPassword "my-password"
802 # From "collectd@main0server.com"
803 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
804 # Subject "Aaaaaa!! %s on %s!!!!!"
805 # Recipient "email1@domain1.net"
806 # Recipient "email2@domain2.com"
812 # ReverseLookups false
817 # UPS "upsname@hostname:port"
823 # CollectLinks "Summary"
824 # CollectRoutes "Summary"
825 # CollectTopology "Summary"
829 # Device "-s localhost:4304"
830 # Sensor "F10FCA000800"
831 # IgnoreSelected false
835 # <Instance "localhost">
836 # URL "ldap://localhost:389"
839 # CACert "/path/to/ca.crt"
846 # StatusFile "/etc/openvpn/openvpn-status.log"
847 # ImprovedNamingSchema false
848 # CollectCompression true
849 # CollectIndividualUsers true
850 # CollectUserCount false
854 # <Query "out_of_stock">
855 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
858 # InstancesFrom "category"
862 # <Database "product_information">
866 # Query "out_of_stock"
871 # IncludeDir "/my/include/path"
872 # BaseName "Collectd::Plugins"
874 # LoadPlugin Monitorus
888 # Server "server name"
889 # Script "script name"
894 # Host "host.foo.bar"
898 # SourceAddress "1.2.3.4"
905 # Statement "SELECT magic FROM wizard WHERE host = $1;"
909 # InstancePrefix "magic"
913 # <Query rt36_tickets>
914 # Statement "SELECT COUNT(type) AS count, type \
915 # FROM (SELECT CASE \
916 # WHEN resolved = 'epoch' THEN 'open' \
917 # ELSE 'resolved' END AS type \
918 # FROM tickets) type \
922 # InstancePrefix "rt36_tickets"
923 # InstancesFrom "type"
928 # # See contrib/postgresql/collectd_insert.sql for details
929 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
938 # KRBSrvName "kerberos_service_name"
943 # Service "service_name"
944 # Query backend # predefined
948 # Service "collectd_store"
950 # # see collectd.conf(5) for details
956 # <Server "server_name">
958 # Collect "udp-answers" "udp-queries"
959 # Socket "/var/run/pdns.controlsocket"
961 # <Recursor "recursor_name">
962 # Collect "questions"
963 # Collect "cache-hits" "cache-misses"
964 # Socket "/var/run/pdns_recursor.controlsocket"
966 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
975 # IgnoreSelected false
979 # ModulePath "/path/to/your/python/modules"
985 # spam "wonderful" "lovely"
991 # Host "redis.example.com"
999 # Host "router.example.com"
1002 # Password "dozaiTh4"
1003 # CollectInterface true
1004 # CollectRegistrationTable true
1005 # CollectCPULoad true
1006 # CollectMemory true
1013 # DaemonAddress "unix:/tmp/rrdcached.sock"
1014 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1016 # CreateFilesAsync false
1017 # CollectStatistics true
1021 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
1022 # CreateFilesAsync false
1025 # WritesPerSecond 50
1029 # SensorConfigFile "/etc/sensors.conf"
1030 # Sensor "it8712-isa-0290/temperature-temp1"
1031 # Sensor "it8712-isa-0290/fanspeed-fan3"
1032 # Sensor "it8712-isa-0290/voltage-in8"
1033 # IgnoreSelected false
1038 # <Device "AC Voltage">
1039 # Driver "fluke-dmm"
1040 # MinimumInterval 10
1041 # Conn "/dev/ttyUSB2"
1043 # <Device "Sound Level">
1044 # Driver "cem-dt-885x"
1045 # Conn "/dev/ttyUSB1"
1050 # Disk "/^[hs]d[a-f][0-9]?$/"
1051 # IgnoreSelected false
1055 # <Data "powerplus_voltge_input">
1058 # Instance "input_line1"
1059 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
1065 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
1067 # <Data "std_traffic">
1070 # Instance "IF-MIB::ifDescr"
1071 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
1074 # <Host "some.switch.mydomain.org">
1075 # Address "192.168.0.2"
1077 # Community "community_string"
1078 # Collect "std_traffic"
1081 # <Host "some.server.mydomain.org">
1082 # Address "192.168.0.42"
1084 # Community "another_string"
1085 # Collect "std_traffic" "hr_users"
1087 # <Host "some.ups.mydomain.org">
1088 # Address "192.168.0.3"
1090 # Community "more_communities"
1091 # Collect "powerplus_voltge_input"
1099 # DeleteCounters false
1100 # DeleteTimers false
1101 # DeleteGauges false
1103 # TimerPercentile 90.0
1104 # TimerPercentile 95.0
1105 # TimerPercentile 99.0
1113 # ReportByDevice false
1115 # ValuesAbsolute true
1116 # ValuesPercentage false
1120 # <Table "/proc/slabinfo">
1121 # Instance "slabinfo"
1125 # InstancePrefix "active_objs"
1131 # InstancePrefix "objperslab"
1139 # <File "/var/log/exim4/mainlog">
1143 # Regex "S=([1-9][0-9]*)"
1144 # DSType "CounterAdd"
1149 # Regex "\\<R=local_user\\>"
1150 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1151 # DSType "CounterInc"
1153 # Instance "local_user"
1159 # <Metric "dropped">
1161 # Instance "dropped"
1166 # Instance "wire-realtime"
1170 # Type "alerts_per_second"
1174 # Type "kpackets_wire_per_sec.realtime"
1177 # <File "/var/log/snort/snort.stats">
1178 # Instance "snort-eth0"
1180 # Collect "dropped" "mbps" "alerts" "kpps"
1186 # ListeningPorts false
1187 # AllPortsSummary false
1192 #<Plugin teamspeak2>
1199 # Device "/dev/ttyUSB0"
1204 # ForceUseProcfs false
1206 # IgnoreSelected false
1209 #<Plugin tokyotyrant>
1215 ## None of the following option should be set manually
1216 ## This plugin automatically detect most optimal options
1217 ## Only set values here if:
1218 ## - The module ask you to
1219 ## - You want to disable the collection of some data
1220 ## - Your (intel) CPU is not supported (yet) by the module
1221 ## - The module generate a lot of errors 'MSR offset 0x... read failed'
1222 ## In the last two cases, please open a bug request
1224 # TCCActivationTemp "100"
1226 # PackageCstates "396"
1227 # SystemManagementInterrupt true
1228 # DigitalTemperatureSensor true
1229 # PackageThermalManagement true
1230 # RunningAveragePowerLimit "7"
1234 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1235 # SocketGroup "collectd"
1236 # SocketPerms "0660"
1237 # DeleteSocket false
1241 # UUIDFile "/etc/uuid"
1248 # ShowTemperatures true
1249 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1250 ## then inverted with a IgnoreSelectedTemperature.
1251 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1253 # IgnoreSelectedTemperature true
1255 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1256 ## then inverted with a IgnoreSelectedTemperature.
1257 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1259 # IgnoreSelectedPower true
1263 # This tag support an argument if you want to
1264 # monitor the local instance just use </Instance>
1265 # If you prefer defining another instance you can do
1266 # so by using <Instance "myinstance">
1268 # CollectBackend true
1269 # CollectBan false # Varnish 3 and above
1271 # CollectConnections true
1272 # CollectDirectorDNS false # Varnish 3 only
1274 # CollectFetch false
1276 # CollectObjects false
1277 # CollectPurge false # Varnish 2 only
1278 # CollectSession false
1280 # CollectSMA false # Varnish 2 only
1282 # CollectSM false # Varnish 2 only
1283 # CollectStruct false
1284 # CollectTotals false
1285 # CollectUptime false # Varnish 3 and above
1287 # CollectVSM false # Varnish 4 only
1288 # CollectWorkers false
1293 # Connection "xen:///"
1294 # RefreshInterval 60
1296 # BlockDevice "name:device"
1297 # InterfaceDevice "name:device"
1298 # IgnoreSelected false
1299 # HostnameFormat name
1300 # InterfaceFormat name
1301 # PluginInstanceFormat name
1308 #<Plugin write_graphite>
1313 # LogSendErrors true
1315 # Postfix "collectd"
1317 # AlwaysAppendDS false
1318 # EscapeCharacter "_"
1322 #<Plugin write_http>
1324 # URL "http://example.com/collectd-post"
1326 # Password "weCh3ik0"
1329 # CACert "/etc/ssl/ca.crt"
1330 # CAPath "/etc/ssl/certs/"
1331 # ClientKey "/etc/ssl/client.pem"
1332 # ClientCert "/etc/ssl/client.crt"
1333 # ClientKeyPass "secret"
1334 # SSLVersion "TLSv1"
1343 #<Plugin write_kafka>
1344 # Property "metadata.broker.list" "localhost:9092"
1345 # <Topic "collectd">
1350 #<Plugin write_mongodb>
1356 # Database "auth_db"
1358 # Password "auth_passwd"
1362 #<Plugin write_redis>
1370 #<Plugin write_riemann>
1378 # AlwaysAppendDS false
1380 # Notifications true
1381 # CheckThresholds false
1382 # EventServicePrefix ""
1385 # Attribute "foo" "bar"
1388 #<Plugin write_sensu>
1393 # AlwaysAppendDS false
1394 # Notifications true
1396 # EventServicePrefix ""
1397 # MetricHandler "influx"
1398 # MetricHandler "default"
1399 # NotificationHandler "flapjack"
1400 # NotificationHandler "howling_monkey"
1403 # Attribute "foo" "bar"
1406 #<Plugin write_tsdb>
1410 # HostTags "status=production"
1412 # AlwaysAppendDS false
1421 ##############################################################################
1422 # Filter configuration #
1423 #----------------------------------------------------------------------------#
1424 # The following configures collectd's filtering mechanism. Before changing #
1425 # anything in this section, please read the `FILTER CONFIGURATION' section #
1426 # in the collectd.conf(5) manual page. #
1427 ##############################################################################
1429 # Load required matches:
1430 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1431 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1432 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1433 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1434 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1436 # Load required targets:
1437 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1438 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1439 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1440 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1441 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1443 #----------------------------------------------------------------------------#
1444 # The following block demonstrates the default behavior if no filtering is #
1445 # configured at all: All values will be sent to all available write plugins. #
1446 #----------------------------------------------------------------------------#
1448 #<Chain "PostCache">
1452 ##############################################################################
1453 # Threshold configuration #
1454 #----------------------------------------------------------------------------#
1455 # The following outlines how to configure collectd's threshold checking #
1456 # plugin. The plugin and possible configuration options are documented in #
1457 # the collectd-threshold(5) manual page. #
1458 ##############################################################################
1460 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1464 # WarningMax 1000.00
1466 # FailureMax 1200.00
1471 # <Plugin "interface">
1473 # <Type "if_octets">
1474 # FailureMax 10000000
1488 # WarningMin 100000000
1493 # DataSource "midterm"