X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=dead93b6154985d67cfb7269e5fcbbc1ae5ad70a;hb=4e3117fff9417061b06d3632544d99678c1943bb;hp=f3ef6759b1fc7ee6573e7b621076954be7fbc503;hpb=8782842eff2082377a50adc223e90daf8de6849f;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index f3ef6759..dead93b6 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -12,11 +12,20 @@ #Hostname "localhost" #FQDNLookup true -#BaseDir "@prefix@/var/lib/@PACKAGE_NAME@" -#PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid" -#PluginDir "@prefix@/lib/@PACKAGE_NAME@" +#BaseDir "@localstatedir@/lib/@PACKAGE_NAME@" +#PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid" +#PluginDir "@libdir@/@PACKAGE_NAME@" #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db" + +#----------------------------------------------------------------------------# +# Interval at which to query values. This may be overwritten on a per-plugin # +# base by using the 'Interval' option of the LoadPlugin block: # +# # +# Interval 60 # +# # +#----------------------------------------------------------------------------# #Interval 10 + #Timeout 2 #ReadThreads 5 @@ -52,6 +61,7 @@ # to missing dependencies or because they have been deactivated explicitly. # ############################################################################## +#@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups @@ -161,6 +171,26 @@ # ription of those options is available in the collectd.conf(5) manual page. # ############################################################################## +# +# +# #Host "unspecified" +# Plugin "cpu" +# #PluginInstance "unspecified" +# Type "cpu" +# #TypeInstance "unspecified" +# +# GroupBy "Host" +# GroupBy "TypeInstance" +# +# CalculateNum false +# CalculateSum false +# CalculateAverage true +# CalculateMinimum false +# CalculateMaximum false +# CalculateStddev false +# +# + # # # Host "localhost" @@ -187,6 +217,7 @@ # # Host "localhost" # Port "3551" +# ReportSeconds true # # @@ -217,7 +248,7 @@ # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv" # StoreRates false # @@ -304,6 +335,7 @@ # #SelectDB "custdb0" # Query "num_of_customers" # #Query "..." +# #Host "..." # # @@ -330,7 +362,7 @@ # # -# SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email" +# SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email" # SocketGroup "collectd" # SocketPerms "0770" # MaxConns 5 @@ -465,8 +497,10 @@ # # -# Host "127.0.0.1" -# Port "11211" +# +# Host "127.0.0.1" +# Port "11211" +# # # @@ -626,6 +660,7 @@ # Host "localhost" # Port 123 # ReverseLookups false +# IncludeUnitID true # # @@ -728,6 +763,11 @@ # ValuesFrom "count" # # +# +# # See contrib/postgresql/collectd_insert.sql for details +# Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);" +# StoreRates true +# # # Host "hostname" # Port "5432" @@ -743,6 +783,12 @@ # Query backend # predefined # Query rt36_tickets # +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # @@ -804,13 +850,13 @@ # # DaemonAddress "unix:/tmp/rrdcached.sock" -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" # CreateFiles true # CollectStatistics true # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" # CacheTimeout 120 # CacheFlush 900 # @@ -867,6 +913,7 @@ # # ReportByDevice false +# ReportBytes true # #