X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=04d1ab3342aff70ad0baa46d8e0528b6daa7ca21;hb=5a223866595c0d7eb032c3c4fc3c7cd148e59f99;hp=b817e8c4205bf9cc94cbeb9abe1cf00a1be5d406;hpb=94a1816eb0fe9291ccfb966d15eb646e93086368;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index b817e8c4..04d1ab33 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -18,6 +18,13 @@ #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db" #----------------------------------------------------------------------------# +# When enabled, plugins are loaded automatically with the default options # +# when an appropriate block is encountered. # +# Disabled by default. # +#----------------------------------------------------------------------------# +#AutoLoadPlugin 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: # # # @@ -30,6 +37,11 @@ #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 # #----------------------------------------------------------------------------# @@ -67,6 +79,7 @@ #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors +#@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind @@ -124,25 +137,23 @@ #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle -#@BUILD_PLUGIN_PERL_TRUE@ -#@BUILD_PLUGIN_PERL_TRUE@ Globals true -#@BUILD_PLUGIN_PERL_TRUE@ +#@BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl #@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_PYTHON_TRUE@LoadPlugin python #@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 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial +#@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp +#@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail @@ -226,6 +237,10 @@ # ReportSeconds true # +# +# Device "" +# + # # URL "http://localhost/ascent/status/" # User "www-user" @@ -253,6 +268,11 @@ # # +# +# CGroup "libvirt" +# IgnoreSelected false +# + # # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv" # StoreRates false @@ -274,6 +294,41 @@ # # +# +# Instance "test_http_json" +# +# Type "gauge" +# # Expect: 1 +# +# +# Type "gauge" +# # Expect: 2 +# +# +# Type "gauge" +# # Expect: 3 +# +# +# Type "gauge" +# # Expect: 4 +# +# +# Type "gauge" +# # Expect: 5 +# +# +# Type "gauge" +# # Expect: 6 +# +# +# put this as test.json on your webserver, the above config demonstraces +# how to match them. +# { +# "testArray":[1,2], +# "testArrayInbetween":[{"blarg":3},{"blub":4}], +# "testDirectHit":5, +# "testSubLevelHit":{"oneMoreLevel":6} +# } ## See: http://wiki.apache.org/couchdb/Runtime_Statistics # # Instance "httpd" @@ -354,6 +409,8 @@ # ReportByDevice false # ReportReserved false # ReportInodes false +# ValuesAbsolute true +# ValuesPercentage false # # @@ -616,7 +673,7 @@ # Password "secret" # Interface "eth0" @LOAD_PLUGIN_NETWORK@ -# TimeToLive "128" +# TimeToLive 128 # # # server setup: # Listen "ff18::efc0:4a42" "25826" @@ -625,7 +682,7 @@ # AuthFile "/etc/collectd/passwd" # Interface "eth0" # -# MaxPacketSize 1024 +# MaxPacketSize 1452 # # # proxy setup (client and server as above): # Forward true @@ -878,6 +935,19 @@ # IgnoreSelected false # +# +# LogLevel 3 +# +# Driver "fluke-dmm" +# MinimumInterval 10 +# Conn "/dev/ttyUSB2" +# +# +# Driver "cem-dt-885x" +# Conn "/dev/ttyUSB1" +# +# + # # # Type "voltage" @@ -920,6 +990,22 @@ # # +# +# Host "::" +# Port "8125" +# DeleteCounters false +# DeleteTimers false +# DeleteGauges false +# DeleteSets false +# TimerPercentile 90.0 +# TimerPercentile 95.0 +# TimerPercentile 99.0 +# TimerLower false +# TimerUpper false +# TimerSum false +# TimerCount false +# + # # ReportByDevice false # ReportBytes true @@ -1055,15 +1141,23 @@ # # CollectCache true # CollectBackend true +# CollectBan false # Varnish 3 only # CollectConnections true +# CollectDirectorDNS false # Varnish 3 only # CollectSHM true # CollectESI false # CollectFetch false # CollectHCB false -# CollectSMA false +# CollectObjects false +# CollectPurge false # Varnish 2 only +# CollectSession false +# CollectSMA false # Varnish 2 only # CollectSMS false -# CollectSM false +# CollectSM false # Varnish 2 only +# CollectStruct false # CollectTotals false +# CollectUptime false +# CollectVCL false # CollectWorkers false # # @@ -1076,6 +1170,8 @@ # # Host "localhost" # Port "2003" +# Protocol "tcp" +# LogSendErrors true # Prefix "collectd" # Postfix "collectd" # StoreRates true @@ -1123,6 +1219,7 @@ # Protocol UDP # StoreRates true # AlwaysAppendDS false +# TTLFactor 2.0 # # Tag "foobar" #