X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=9a8ad1b9f99b8342bbc621683c74bdd58bf69eee;hb=a24bf968e72f9a103a354dcc833619a40849cfcd;hp=0f01f4e5a2eeef2f14ac1458b064e6c942ac7ec8;hpb=f6fda65968056137e693a916b15ce448e0961c7e;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 0f01f4e5..cd65fd27 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -11,12 +11,13 @@ ############################################################################## #Hostname "localhost" -FQDNLookup true +#FQDNLookup true #BaseDir "@prefix@/var/lib/@PACKAGE_NAME@" #PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid" #PluginDir "@prefix@/lib/@PACKAGE_NAME@" #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db" #Interval 10 +#Timeout 2 #ReadThreads 5 ############################################################################## @@ -34,6 +35,7 @@ FQDNLookup true # LogLevel @DEFAULT_LOG_LEVEL@ # File STDOUT # Timestamp true +# PrintSeverity false # # @@ -50,6 +52,7 @@ FQDNLookup true # to missing dependencies or because they have been deactivated explicitly. # ############################################################################## +#@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors @@ -57,11 +60,13 @@ FQDNLookup true #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack -#@BUILD_PLUGIN_COUCHDB_TRUE@LoadPlugin couchdb +#@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq @LOAD_PLUGIN_CSV@LoadPlugin csv #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl +#@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json +#@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk @@ -81,12 +86,16 @@ FQDNLookup true #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load +#@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar +#@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory +#@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql +#@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink @LOAD_PLUGIN_NETWORK@LoadPlugin network #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs @@ -99,12 +108,20 @@ FQDNLookup true #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle -#@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl +#@BUILD_PLUGIN_PERL_TRUE@ +#@BUILD_PLUGIN_PERL_TRUE@ Globals true +#@BUILD_PLUGIN_PERL_TRUE@ +#@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols +#@BUILD_PLUGIN_PYTHON_TRUE@ +#@BUILD_PLUGIN_PYTHON_TRUE@ Globals true +#@BUILD_PLUGIN_PYTHON_TRUE@ +#@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis +#@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors @@ -123,10 +140,14 @@ FQDNLookup true #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid +#@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless +#@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http +#@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms +#@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc ############################################################################## # Plugin configuration # @@ -135,11 +156,27 @@ FQDNLookup true # ription of those options is available in the collectd.conf(5) manual page. # ############################################################################## +# +# +# Host "localhost" +# Port "5672" +# VHost "/" +# User "guest" +# Password "guest" +# Exchange "amq.fanout" +# RoutingKey "collectd" +# Persistent false +# StoreRates false +# +# + # -# URL "http://localhost/status?auto" -# User "www-user" -# Password "secret" -# CACert "/etc/ssl/ca.crt" +# +# URL "http://localhost/status?auto" +# User "www-user" +# Password "secret" +# CACert "/etc/ssl/ca.crt" +# # # @@ -173,7 +210,27 @@ FQDNLookup true # # -# +# +# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" +# StoreRates false +# + +# +# +# URL "http://finance.google.com/finance?q=NYSE%3AAMD" +# User "foo" +# Password "bar" +# MeasureResponseTime false +# +# Regex "]*> *([0-9]*\\.[0-9]+) *" +# DSType "GaugeAverage" +# Type "stock_value" +# Instance "AMD" +# +# +# + +# ## See: http://wiki.apache.org/couchdb/Runtime_Statistics # # Instance "httpd" @@ -204,23 +261,23 @@ FQDNLookup true # # -# -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" -# StoreRates false -# - -# -# -# URL "http://finance.google.com/finance?q=NYSE%3AAMD" -# User "foo" -# Password "bar" -# -# Regex "]*> *([0-9]*\\.[0-9]+) *" -# DSType "GaugeAverage" -# Type "stock_value" -# Instance "AMD" -# -# +# +# +# Host "my_host" +# Instance "some_instance" +# User "collectd" +# Password "thaiNg0I" +# VerifyPeer true +# VerifyHost true +# CACert "/path/to/ca.crt" +# +# +# Type "magic_level" +# #InstancePrefix "prefix-" +# InstanceFrom "td[1]" +# ValuesFrom "td[2]/span[@class=\"level\"]" +# +# # # @@ -250,6 +307,9 @@ FQDNLookup true # MountPoint "/home" # FSType "ext3" # IgnoreSelected false +# ReportByDevice false +# ReportReserved false +# ReportInodes false # # @@ -260,6 +320,7 @@ FQDNLookup true # # Interface "eth0" # IgnoreSource "192.168.0.1" +# SelectNumericQueryTypes true # # @@ -281,6 +342,7 @@ FQDNLookup true # MTime "-5m" # Size "+10k" # Recursive true +# IncludeHidden false # # @@ -301,13 +363,6 @@ FQDNLookup true # # Host "127.0.0.1" # Port "7634" -# -# #----------------------------------------------------------------# -# # `TranslateDevicename' enabled backwards compatibility behavior # -# # and is enabled by default. Setting this option to `false' is # -# # highly recommended. # -# #----------------------------------------------------------------# -# TranslateDevicename false # # @@ -337,7 +392,7 @@ FQDNLookup true # # JVMArg "-verbose:jni" -# JVMArg "-Djava.class.path=/opt/collectd/lib/collectd/bindings/java" +# JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar" # # LoadPlugin "org.collectd.java.Foobar" # @@ -353,6 +408,23 @@ FQDNLookup true # InterfaceDevice "name:device" # IgnoreSelected false # HostnameFormat name +# InterfaceFormat name +# + +# +# CpuPoolStats false +# ReportBySerial false +# + +# +# Interface "wlan0" +# IgnoreSelected false +# Source "SysFS" +# WatchSet "None" +# WatchAdd "node_octets" +# WatchAdd "node_rssi" +# WatchAdd "is_rx_acl" +# WatchAdd "is_scan_active" # # @@ -366,6 +438,7 @@ FQDNLookup true # Key "page_key" # # Regex "(\\d+) bytes sent" +# ExcludeRegex "" # DSType CounterAdd # Type "ipt_octets" # Instance "type_instance" @@ -378,6 +451,26 @@ FQDNLookup true # Port "11211" # +# +# +# RegisterBase 1234 +# RegisterType float +# Type gauge +# Instance "..." +# +# +# +# Address "addr" +# Port "1234" +# Interval 60 +# +# +# Instance "foobar" # optional +# Collect "data_name" +# +# +# + # # # Host "database.serv.er" @@ -395,6 +488,58 @@ FQDNLookup true # # +# +# +# Protocol "https" +# Address "10.0.0.1" +# Port 443 +# User "username" +# Password "aef4Aebe" +# Interval 30 +# +# +# Interval 30 +# GetNameCache true +# GetDirCache true +# GetBufferCache true +# GetInodeCache true +# +# +# +# Interval 30 +# GetBusy true +# +# +# +# Interval 30 +# GetIO "volume0" +# IgnoreSelectedIO false +# GetOps "volume0" +# IgnoreSelectedOps false +# GetLatency "volume0" +# IgnoreSelectedLatency false +# +# +# +# Interval 30 +# GetCapacity "vol0" +# GetCapacity "vol1" +# IgnoreSelectedCapacity false +# GetSnapshot "vol1" +# GetSnapshot "vol3" +# IgnoreSelectedSnapshot false +# +# +# +# Interval 30 +# GetCPULoad true +# GetInterfaces true +# GetDiskOps true +# GetDiskIO true +# +# +# + # # Interface "All" # VerboseInterface "All" @@ -405,12 +550,32 @@ FQDNLookup true # @LOAD_PLUGIN_NETWORK@ +# # client setup: @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826" -@LOAD_PLUGIN_NETWORK@ Server "239.192.74.66" "25826" -# Listen "ff18::efc0:4a42" "25826" -# Listen "239.192.74.66" "25826" +@LOAD_PLUGIN_NETWORK@ +# SecurityLevel Encrypt +# Username "user" +# Password "secret" +# Interface "eth0" +@LOAD_PLUGIN_NETWORK@ # TimeToLive "128" -# Forward false +# +# # server setup: +# Listen "ff18::efc0:4a42" "25826" +# +# SecurityLevel Sign +# AuthFile "/etc/collectd/passwd" +# Interface "eth0" +# +# MaxPacketSize 1024 +# +# # proxy setup (client and server as above): +# Forward true +# +# # statistics about the network plugin itself +# ReportStats false +# +# # "garbage collection" # CacheFlush 1800 @LOAD_PLUGIN_NETWORK@ @@ -465,6 +630,10 @@ FQDNLookup true # # StatusFile "/etc/openvpn/openvpn-status.log" +# ImprovedNamingSchema false +# CollectCompression true +# CollectIndividualUsers true +# CollectUserCount false # # @@ -486,9 +655,10 @@ FQDNLookup true # # IncludeDir "/my/include/path" -# BaseName "Collectd::Plugin" +# BaseName "Collectd::Plugins" # EnableDebugger "" -# LoadPlugin foo +# LoadPlugin Monitorus +# LoadPlugin OpenVZ # # # Foo "Bar" @@ -496,9 +666,24 @@ FQDNLookup true # # +# +# Address "::0" +# Port "30002" +# +# Host "host name" +# Server "server name" +# Script "script name" +# +# + # # Host "host.foo.bar" +# Interval 1.0 +# Timeout 0.9 # TTL 255 +# SourceAddress "1.2.3.4" +# Device "eth0" +# MaxMissed -1 # # @@ -535,6 +720,7 @@ FQDNLookup true # Query magic # # +# Interval 60 # Service "service_name" # Query backend # predefined # Query rt36_tickets @@ -564,6 +750,40 @@ FQDNLookup true # IgnoreSelected false # +# +# ModulePath "/path/to/your/python/modules" +# LogTraces true +# Interactive true +# Import "spam" +# +# +# spam "wonderful" "lovely" +# +# + +# +# +# Host "redis.example.com" +# Port "6379" +# Timeout 2000 +# +# + +# +# +# Host "router.example.com" +# Port "8728" +# User "admin" +# Password "dozaiTh4" +# CollectInterface true +# CollectRegistrationTable true +# CollectCPULoad true +# CollectMemory true +# CollectDF true +# CollectDisk true +# +# + # # DaemonAddress "unix:/tmp/rrdcached.sock" # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd" @@ -656,6 +876,7 @@ FQDNLookup true # # # Regex "\\" +# ExcludeRegex "\\.*mail_spool defer" # DSType "CounterInc" # Type "counter" # Instance "local_user" @@ -695,16 +916,58 @@ FQDNLookup true # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock" # SocketGroup "collectd" # SocketPerms "0660" +# DeleteSocket false # # # UUIDFile "/etc/uuid" # +# +# 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 +# +# CollectCache true +# CollectBackend true +# CollectConnections true +# CollectSHM true +# CollectESI false +# CollectFetch false +# CollectHCB false +# CollectSMA false +# CollectSMS false +# CollectSM false +# CollectTotals false +# CollectWorkers false +# +# + # # Verbose false # +# +# +# User "collectd" +# Password "weCh3ik0" +# VerifyPeer true +# VerifyHost true +# CACert "/etc/ssl/ca.crt" +# Format "Command" +# StoreRates false +# +# + +# +# +# Host "localhost" +# Port "6379" +# Timeout 1000 +# +# + ############################################################################## # Filter configuration # #----------------------------------------------------------------------------# @@ -714,6 +977,8 @@ FQDNLookup true ############################################################################## # Load required matches: +#@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter +#@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff @@ -721,13 +986,64 @@ FQDNLookup true # Load required targets: #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace +#@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set +#@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade #----------------------------------------------------------------------------# # The following block demonstrates the default behavior if no filtering is # # configured at all: All values will be sent to all available write plugins. # #----------------------------------------------------------------------------# -# +# # Target "write" # + +############################################################################## +# Threshold configuration # +#----------------------------------------------------------------------------# +# The following outlines how to configure collectd's threshold checking # +# plugin. The plugin and possible configuration options are documented in # +# the collectd-threshold(5) manual page. # +############################################################################## + +#@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold" +# +# +# WarningMin 0.00 +# WarningMax 1000.00 +# FailureMin 0.00 +# FailureMax 1200.00 +# Invert false +# Instance "bar" +# +# +# +# Instance "eth0" +# +# FailureMax 10000000 +# DataSource "rx" +# +# +# +# +# +# Instance "idle" +# FailureMin 10 +# +# +# +# +# Instance "cached" +# WarningMin 100000000 +# +# +# +# +# DataSource "midterm" +# FailureMax 4 +# Hits 3 +# Hysteresis 3 +# +# +#