X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=debian%2Fcollectd.conf;h=6bb8516f40bf2d993295e40042564551ac20b44c;hb=0f8535b07d47e1fa0f5ff3ca15396e2e759c5301;hp=e0476575b77f1234f89dca1a6d223266dfbacef4;hpb=c38ca79e1cdece35384cefe90bae15f4553a291a;p=pkg-collectd.git diff --git a/debian/collectd.conf b/debian/collectd.conf index e047657..6bb8516 100644 --- a/debian/collectd.conf +++ b/debian/collectd.conf @@ -18,6 +18,20 @@ FQDNLookup true #PluginDir "/usr/lib/collectd" #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" +#----------------------------------------------------------------------------# +# When enabled, plugins are loaded automatically with the default options # +# when an appropriate block is encountered. # +# Disabled by default. # +#----------------------------------------------------------------------------# +#AutoLoadPlugin false + +#----------------------------------------------------------------------------# +# When enabled, internal statistics are collected, using "collectd" as the # +# plugin name. # +# Disabled by default. # +#----------------------------------------------------------------------------# +#CollectInternalStats false + #----------------------------------------------------------------------------# # Interval at which to query values. This may be overwritten on a per-plugin # # base by using the 'Interval' option of the LoadPlugin block: # @@ -27,9 +41,15 @@ FQDNLookup true #----------------------------------------------------------------------------# #Interval 10 -#Timeout 2 -#ReadThreads 5 -#WriteThreads 5 +#MaxReadInterval 86400 +#Timeout 2 +#ReadThreads 5 +#WriteThreads 5 + +# Limit the size of the write queue. Default is no limit. Setting up a limit +# is recommended for servers handling a high volume of traffic. +#WriteQueueLimitHigh 1000000 +#WriteQueueLimitLow 800000 ############################################################################## # Logging # @@ -41,6 +61,7 @@ FQDNLookup true #LoadPlugin logfile LoadPlugin syslog +#LoadPlugin log_logstash # # LogLevel "info" @@ -53,6 +74,11 @@ LoadPlugin syslog LogLevel info +# +# LogLevel info +# File "/var/log/collectd.json.log" +# + ############################################################################## # LoadPlugin section # #----------------------------------------------------------------------------# @@ -64,12 +90,17 @@ LoadPlugin syslog #LoadPlugin apache #LoadPlugin apcups #LoadPlugin ascent +#LoadPlugin barometer LoadPlugin battery #LoadPlugin bind +#LoadPlugin ceph +#LoadPlugin cgroups +#LoadPlugin chrony #LoadPlugin conntrack #LoadPlugin contextswitch LoadPlugin cpu #LoadPlugin cpufreq +#LoadPlugin cpusleep #LoadPlugin csv #LoadPlugin curl #LoadPlugin curl_json @@ -78,22 +109,30 @@ LoadPlugin cpu LoadPlugin df LoadPlugin disk #LoadPlugin dns +#LoadPlugin dpdkstat +#LoadPlugin drbd #LoadPlugin email LoadPlugin entropy #LoadPlugin ethstat #LoadPlugin exec +#LoadPlugin fhcount #LoadPlugin filecount #LoadPlugin fscache #LoadPlugin gmond +#LoadPlugin gps +#LoadPlugin hugepages #LoadPlugin hddtemp +#LoadPlugin intel_rdt LoadPlugin interface +#LoadPlugin ipc #LoadPlugin ipmi #LoadPlugin iptables #LoadPlugin ipvs LoadPlugin irq #LoadPlugin java -#LoadPlugin libvirt LoadPlugin load +#LoadPlugin lua +#LoadPlugin lvm #LoadPlugin madwifi #LoadPlugin mbmon #LoadPlugin md @@ -101,6 +140,7 @@ LoadPlugin load #LoadPlugin memcached LoadPlugin memory #LoadPlugin modbus +#LoadPlugin mqtt #LoadPlugin multimeter #LoadPlugin mysql #LoadPlugin netlink @@ -109,28 +149,31 @@ LoadPlugin memory #LoadPlugin nginx #LoadPlugin notify_desktop #LoadPlugin notify_email +#LoadPlugin notify_nagios #LoadPlugin ntpd #LoadPlugin numa #LoadPlugin nut #LoadPlugin olsrd +#LoadPlugin onewire +#LoadPlugin openldap #LoadPlugin openvpn -# -# Globals true -# +#LoadPlugin perl #LoadPlugin pinba #LoadPlugin ping #LoadPlugin postgresql #LoadPlugin powerdns LoadPlugin processes #LoadPlugin protocols -# -# Globals true -# +#LoadPlugin python +#LoadPlugin redis #LoadPlugin rrdcached LoadPlugin rrdtool #LoadPlugin sensors #LoadPlugin serial +#LoadPlugin sigrok +#LoadPlugin smart #LoadPlugin snmp +#LoadPlugin statsd LoadPlugin swap #LoadPlugin table #LoadPlugin tail @@ -140,18 +183,29 @@ LoadPlugin swap #LoadPlugin ted #LoadPlugin thermal #LoadPlugin tokyotyrant +#LoadPlugin turbostat #LoadPlugin unixsock #LoadPlugin uptime LoadPlugin users #LoadPlugin uuid #LoadPlugin varnish +#LoadPlugin virt #LoadPlugin vmem #LoadPlugin vserver #LoadPlugin wireless #LoadPlugin write_graphite #LoadPlugin write_http +#LoadPlugin write_kafka +#LoadPlugin write_log #LoadPlugin write_mongodb +#LoadPlugin write_prometheus +#LoadPlugin write_redis #LoadPlugin write_riemann +#LoadPlugin write_sensu +#LoadPlugin write_tsdb +#LoadPlugin xencpu +#LoadPlugin zfs_arc +#LoadPlugin zookeeper ############################################################################## # Plugin configuration # @@ -160,7 +214,7 @@ LoadPlugin users # ription of those options is available in the collectd.conf(5) manual page. # ############################################################################## -# +# # # #Host "unspecified" # Plugin "cpu" @@ -194,6 +248,7 @@ LoadPlugin users # RoutingKey "collectd" # Persistent false # StoreRates false +# ConnectionRetryDelay 0 # # @@ -219,6 +274,7 @@ LoadPlugin users # Host "localhost" # Port "3551" # ReportSeconds true +# PersistentConnection true # # @@ -230,7 +286,23 @@ LoadPlugin users # CACert "/etc/ssl/ca.crt" # -# +# +# Device "/dev/i2c-0"; +# Oversampling 512 +# PressureOffset 0.0 +# TemperatureOffset 0.0 +# Normalization 2 +# Altitude 238.0 +# TemperatureSensor "myserver/onewire-F10FCA000800/temperature" +# + +# +# ValuesPercentage false +# ReportDegraded false +# QueryStateFS false +# + +# # URL "http://localhost:8053/" # # ParseTime false @@ -251,6 +323,40 @@ LoadPlugin users # # +# +# LongRunAvgLatency false +# ConvertSpecialMetricTypes true +# +# SocketPath "/var/run/ceph/ceph-osd.0.asok" +# +# +# SocketPath "/var/run/ceph/ceph-osd.1.asok" +# +# +# SocketPath "/var/run/ceph/ceph-mon.ceph1.asok" +# +# +# SocketPath "/var/run/ceph/ceph-mds.ceph1.asok" +# +# + +# +# Host "localhost" +# Port "323" +# Timeout "2" +# + +# +# CGroup "libvirt" +# IgnoreSelected false +# + +# +# ReportByCpu true +# ReportByState true +# ValuesPercentage false +# + # # DataDir "/var/lib/collectd/csv" # StoreRates false @@ -261,10 +367,15 @@ LoadPlugin users # URL "http://finance.google.com/finance?q=NYSE%3AAMD" # User "foo" # Password "bar" -# VerifyPeer false -# VerifyHost false -# CACert "/etc/ssl/ca.crt" +# Digest false +# VerifyPeer true +# VerifyHost true +# CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" +# # MeasureResponseTime false +# MeasureResponseCode false # # Regex "]*> *([0-9]*\\.[0-9]+) *" # DSType "GaugeAverage" @@ -305,15 +416,18 @@ LoadPlugin users # # -# +# # # Host "my_host" # Instance "some_instance" # User "collectd" # Password "thaiNg0I" +# Digest false # VerifyPeer true # VerifyHost true # CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" # # # Type "magic_level" @@ -371,14 +485,18 @@ LoadPlugin users IgnoreSelected true # ReportByDevice false -# ReportReserved false # ReportInodes false + +# ValuesAbsolute true +# ValuesPercentage false # # Disk "hda" # Disk "/sda[23]/" # IgnoreSelected false +# UseBSDName false +# UdevNameAttr "DEVNAME" # # @@ -387,6 +505,16 @@ LoadPlugin users # SelectNumericQueryTypes false # +# +# Interval 1 +# Coremask "0xf" +# ProcessType "secondary" +# FilePrefix "rte" +# EnabledPortMask 0xffff +# PortName "interface1" +# PortName "interface2" +# + # # SocketFile "/var/run/collectd-email" # SocketGroup "collectd" @@ -407,6 +535,11 @@ LoadPlugin users # NotificationExec user "/path/to/exec" # +# +# ValuesAbsolute true +# ValuesPercentage false +# + # # # Instance "foodir" @@ -434,14 +567,35 @@ LoadPlugin users # # +# +# Host "127.0.0.1" +# Port "2947" +# Timeout 0.015 +# PauseConnect 5 +# + # # Host "127.0.0.1" # Port 7634 # +# +# ReportPerNodeHP true +# ReportRootHP true +# ValuesPages true +# ValuesBytes false +# ValuesPercentage false +# + +# +# Cores "0-2" +# + # # Interface "eth0" # IgnoreSelected false +# ReportInactive true +# UniqueName false # # @@ -455,6 +609,7 @@ LoadPlugin users # # Chain "table" "chain" +# Chain6 "table" "chain" # # @@ -475,15 +630,14 @@ LoadPlugin users # # -# -# Connection "xen:///" -# RefreshInterval 60 -# Domain "name" -# BlockDevice "name:device" -# InterfaceDevice "name:device" -# IgnoreSelected false -# HostnameFormat name -# InterfaceFormat name +# +# ReportRelative true +# + +# +# BasePath "/usr/share/collectd/lua" +# Script "script1.lua" +# Script "script2.lua" # # @@ -525,14 +679,21 @@ LoadPlugin users # # Socket "/var/run/memcached.sock" # or: -# Host "127.0.0.1" +# #Host "memcache.example.com" +# Address "127.0.0.1" # Port "11211" # # +# +# ValuesAbsolute true +# ValuesPercentage false +# + # # # RegisterBase 1234 +# RegisterCmd ReadHolding # RegisterType float # Type gauge # Instance "..." @@ -550,6 +711,35 @@ LoadPlugin users # # +# +# +# Host "localhost" +# Port 1883 +# ClientId "localhost" +# User "user" +# Password "secret" +# QoS 0 +# Prefix "collectd" +# StoreRates true +# Retain false +# CACert "/etc/ssl/ca.crt" +# CertificateFile "/etc/ssl/client.crt" +# CertificateKeyFile "/etc/ssl/client.pem" +# TLSProtocol "tlsv1.2" +# CipherSuite "ciphers" +# +# +# Host "localhost" +# Port 1883 +# ClientId "localhost" +# User "user" +# Password "secret" +# QoS 2 +# Topic "collectd/#" +# CleanSession true +# +# + # # # Host "database.serv.er" @@ -557,15 +747,30 @@ LoadPlugin users # User "db_user" # Password "secret" # Database "db_name" +# SSLKey "/path/to/key.pem" +# SSLCert "/path/to/cert.pem" +# SSLCA "/path/to/ca.pem" +# SSLCAPath "/path/to/cas/" +# SSLCipher "DHE-RSA-AES256-SHA" # MasterStats true +# ConnectTimeout 10 +# InnodbStats true # # # +# Alias "squeeze" # Host "localhost" # Socket "/var/run/mysql/mysqld.sock" # SlaveStats true # SlaveNotifications true # +# +# +# Alias "galera" +# Host "localhost" +# Socket "/var/run/mysql/mysqld.sock" +# WsrepStats true +# # # @@ -585,8 +790,9 @@ LoadPlugin users # Username "user" # Password "secret" # Interface "eth0" +# ResolveInterval 14400 # -# TimeToLive "128" +# TimeToLive 128 # # # server setup: # Listen "ff18::efc0:4a42" "25826" @@ -595,7 +801,7 @@ LoadPlugin users # AuthFile "/etc/collectd/passwd" # Interface "eth0" # -# MaxPacketSize 1024 +# MaxPacketSize 1452 # # # proxy setup (client and server as above): # Forward true @@ -635,6 +841,10 @@ LoadPlugin users # Recipient "email2@domain2.com" # +# +# CommandFile "/var/lib/icinga/rw/icinga.cmd" +# + # # Host "localhost" # Port 123 @@ -654,6 +864,23 @@ LoadPlugin users # CollectTopology "Summary" # +# +# Device "-s localhost:4304" +# Sensor "F10FCA000800" +# IgnoreSelected false +# + +# +# +# URL "ldap://localhost:389" +# StartTLS false +# VerifyHost true +# CACert "/path/to/ca.crt" +# Timeout -1 +# Version 3 +# +# + # # StatusFile "/etc/openvpn/openvpn-status.log" # ImprovedNamingSchema false @@ -793,6 +1020,14 @@ LoadPlugin users # # +# +# +# Host "redis.example.com" +# Port "6379" +# Timeout 2000 +# +# + # # DaemonAddress "unix:/var/run/rrdcached.sock" # DataDir "/var/lib/rrdcached/db/collectd" @@ -834,6 +1069,24 @@ LoadPlugin users # IgnoreSelected false # +# +# LogLevel 3 +# +# Driver "fluke-dmm" +# MinimumInterval 10 +# Conn "/dev/ttyUSB2" +# +# +# Driver "cem-dt-885x" +# Conn "/dev/ttyUSB1" +# +# + +# +# Disk "/^[hs]d[a-f][0-9]?$/" +# IgnoreSelected false +# + # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a # comprehensive sample configuration. # @@ -881,6 +1134,23 @@ LoadPlugin users # # +# +# Host "::" +# Port "8125" +# DeleteCounters false +# DeleteTimers false +# DeleteGauges false +# DeleteSets false +# CounterSum false +# TimerPercentile 90.0 +# TimerPercentile 95.0 +# TimerPercentile 99.0 +# TimerLower false +# TimerUpper false +# TimerSum false +# TimerCount false +# + # # ReportByDevice false # ReportBytes true @@ -905,9 +1175,10 @@ LoadPlugin users # # -# +# # # Instance "exim" +# Interval 60 # # Regex "S=([1-9][0-9]*)" # DSType "CounterAdd" @@ -922,9 +1193,30 @@ LoadPlugin users # Instance "local_user" # # +# +# #Use the following log format in nginx: +# #log_format response_time '[$host] "$upstream_response_time" ...' +# Instance "apache" +# +# Regex "^\\S+ \"([0-9.]+)\"" +# +# Percentile 80 # -> latency-foo-80 +# Percentile 95 # -> latency-foo-95 +# Percentile 99 # -> latency-foo-99 +# Bucket 0 0.1 # -> bucket-latency-foo-0_0.1 +# Bucket 0.1 0.2 # -> bucket-latency-foo-0.1_0.2 +# Bucket 0.2 0.5 # -> bucket-latency-foo-0.2_0.5 +# Bucket 0.5 1.0 # -> bucket-latency-foo-0.5_1 +# Bucket 1.0 2.0 # -> bucket-latency-foo-1_2 +# Bucket 2.0 0 # -> bucket-latency-foo-2_inf +# +# Type "latency" +# Instance "foo" +# +# # -# +# # # Type "percent" # Instance "dropped" @@ -953,6 +1245,7 @@ LoadPlugin users # # ListeningPorts false +# AllPortsSummary false # LocalPort "25" # RemotePort "25" # @@ -979,6 +1272,25 @@ LoadPlugin users # Port "1978" # +# +## None of the following option should be set manually +## This plugin automatically detect most optimal options +## Only set values here if: +## - The module asks you to +## - You want to disable the collection of some data +## - Your (Intel) CPU is not supported (yet) by the module +## - The module generates a lot of errors 'MSR offset 0x... read failed' +## In the last two cases, please open a bug request +# +# TCCActivationTemp "100" +# CoreCstates "392" +# PackageCstates "396" +# SystemManagementInterrupt true +# DigitalTemperatureSensor true +# PackageThermalManagement true +# RunningAveragePowerLimit "7" +# + # # SocketFile "/var/run/collectd-unixsock" # SocketGroup "collectd" @@ -991,24 +1303,53 @@ LoadPlugin users # # -# -# CollectCache true -# CollectBackend true -# CollectConnections true -# CollectSHM true -# CollectESI false -# CollectFetch false -# CollectHCB false -# CollectSMA false -# CollectSMS false -# CollectSM false -# CollectTotals false -# CollectWorkers false -# -# -# -# CollectCache true -# +# This tag support an argument if you want to +# monitor the local instance just use +# If you prefer defining another instance you can do +# so by using +# +# CollectBackend true +# CollectBan false # Varnish 3 and above +# CollectCache true +# CollectConnections true +# CollectDirectorDNS false # Varnish 3 only +# CollectESI false +# CollectFetch false +# CollectHCB false +# CollectObjects false +# CollectPurge false # Varnish 2 only +# CollectSession false +# CollectSHM true +# CollectSMA false # Varnish 2 & 4 only +# CollectSMS false +# CollectSM false # Varnish 2 only +# CollectStruct false +# CollectTotals false +# CollectUptime false # Varnish 3 and above +# CollectVCL false +# CollectVSM false # Varnish 4 only +# CollectWorkers false +# CollectLock false # Varnish 4 only +# CollectMempool false # Varnish 4 only +# CollectManagement false # Varnish 4 only +# CollectSMF false # Varnish 4 only +# CollectVBE false # Varnish 4 only +# CollectMSE false # Varnish-Plus 4 only +# +# + +# +# Connection "xen:///" +# RefreshInterval 60 +# Domain "name" +# BlockDevice "name:device" +# BlockDeviceFormat target +# BlockDeviceFormatBasename false +# InterfaceDevice "name:device" +# IgnoreSelected false +# HostnameFormat name +# InterfaceFormat name +# PluginInstanceFormat name # # @@ -1019,24 +1360,50 @@ LoadPlugin users # # Host "localhost" # Port "2003" +# Protocol "tcp" +# ReconnectInterval 0 +# LogSendErrors true # Prefix "collectd" # Postfix "collectd" # StoreRates true # AlwaysAppendDS false # EscapeCharacter "_" +# SeparateInstances false +# PreserveSeparator false +# DropDuplicateFields false # # # -# +# +# URL "http://example.com/collectd-post" # User "collectd" # Password "secret" # VerifyPeer true # VerifyHost true # CACert "/etc/ssl/ca.crt" +# CAPath "/etc/ssl/certs/" +# ClientKey "/etc/ssl/client.pem" +# ClientCert "/etc/ssl/client.crt" +# ClientKeyPass "secret" +# Header "X-Custom-Header: custom_value" +# SSLVersion "TLSv1" # Format "Command" +# Metrics true +# Notifications false # StoreRates false -# +# BufferSize 4096 +# LowSpeedLimit 0 +# Timeout 0 +# Prefix "collectd/" +# +# + +# +# Property "metadata.broker.list" "localhost:9092" +# +# Format JSON +# # # @@ -1045,6 +1412,21 @@ LoadPlugin users # Port "27017" # Timeout 1000 # StoreRates false +# Database "auth_db" +# User "auth_user" +# Password "auth_passwd" +# +# + +# +# Port "9103" +# + +# +# +# Host "localhost" +# Port "6379" +# Timeout 1000 # # @@ -1052,13 +1434,54 @@ LoadPlugin users # # Host "localhost" # Port 5555 -# Protocol UDP +# Protocol TCP +# Batch true +# BatchMaxSize 8192 +# StoreRates true +# AlwaysAppendDS false +# TTLFactor 2.0 +# Notifications true +# CheckThresholds false +# EventServicePrefix "" +# +# Tag "foobar" +# Attribute "foo" "bar" +# + +# +# +# Host "localhost" +# Port 3030 # StoreRates true # AlwaysAppendDS false +# Notifications true +# Metrics true +# EventServicePrefix "" +# MetricHandler "influx" +# MetricHandler "default" +# NotificationHandler "flapjack" +# NotificationHandler "howling_monkey" # # Tag "foobar" +# Attribute "foo" "bar" +# + +# +# +# Host "localhost" +# Port "4242" +# HostTags "status=production" +# StoreRates false +# AlwaysAppendDS false +# +# + +# +# Host "localhost" +# Port "2181" # -Include "/etc/collectd/filters.conf" -Include "/etc/collectd/thresholds.conf" + + Filter "*.conf" +