X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=e7428fb0d0a0cc58bafd139794e1da8f55eadc8e;hb=67c4689b74c69cbd3444e9860eae07bad439066b;hp=ebddb2b8e7d37df701ca96094ccb955a6abf41ae;hpb=d8e1728e5198087a77ecae83fcd8d63f6d4aad54;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index ebddb2b8..e7428fb0 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -12,13 +12,23 @@ #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 +#WriteThreads 5 ############################################################################## # Logging # @@ -208,6 +218,7 @@ # # Host "localhost" # Port "3551" +# ReportSeconds true # # @@ -238,7 +249,7 @@ # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv" # StoreRates false # @@ -325,6 +336,7 @@ # #SelectDB "custdb0" # Query "num_of_customers" # #Query "..." +# #Host "..." # # @@ -351,7 +363,7 @@ # # -# SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email" +# SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email" # SocketGroup "collectd" # SocketPerms "0770" # MaxConns 5 @@ -486,8 +498,10 @@ # # -# Host "127.0.0.1" -# Port "11211" +# +# Host "127.0.0.1" +# Port "11211" +# # # @@ -647,6 +661,7 @@ # Host "localhost" # Port 123 # ReverseLookups false +# IncludeUnitID true # # @@ -749,6 +764,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" @@ -764,6 +784,12 @@ # Query backend # predefined # Query rt36_tickets # +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # @@ -825,13 +851,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 # @@ -888,6 +914,7 @@ # # ReportByDevice false +# ReportBytes true # #