X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=81d70552801bc6ce78a2adba2024a91bb990e766;hb=33e60ef35f745c56b1a5936272b1dd8b0cf63d12;hp=9f5dedcdf0ad64d38566212bb53fdb4f48f03fea;hpb=3faf514fd9b869cadda0f895e14e5036313c7781;p=collectd.git
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 9f5dedcd..81d70552 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
#
@@ -351,7 +361,7 @@
#
#
-# SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
+# SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
# SocketGroup "collectd"
# SocketPerms "0770"
# MaxConns 5
@@ -752,6 +762,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 +782,12 @@
# Query backend # predefined
# Query rt36_tickets
#
+#
+# Service "collectd_store"
+# Writer sqlstore
+# # see collectd.conf(5) for details
+# CommitInterval 30
+#
#
#
@@ -828,13 +849,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
#