X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=dead93b6154985d67cfb7269e5fcbbc1ae5ad70a;hb=4e3117fff9417061b06d3632544d99678c1943bb;hp=9f5dedcdf0ad64d38566212bb53fdb4f48f03fea;hpb=3faf514fd9b869cadda0f895e14e5036313c7781;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 9f5dedcd..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 @@ -208,6 +217,7 @@ # # Host "localhost" # Port "3551" +# ReportSeconds true # # @@ -238,7 +248,7 @@ # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv" # StoreRates false # @@ -325,6 +335,7 @@ # #SelectDB "custdb0" # Query "num_of_customers" # #Query "..." +# #Host "..." # # @@ -351,7 +362,7 @@ # # -# SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email" +# SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email" # SocketGroup "collectd" # SocketPerms "0770" # MaxConns 5 @@ -752,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" @@ -767,6 +783,12 @@ # Query backend # predefined # Query rt36_tickets # +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # @@ -828,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 #