From cb7e29367d15829a6703d852fd9717d740a44d9a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 20 Nov 2012 13:17:00 +0100 Subject: [PATCH] collectd.conf: Added example PostgreSQL writer configuration. --- debian/collectd.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/debian/collectd.conf b/debian/collectd.conf index 1dde5b6..8130154 100644 --- a/debian/collectd.conf +++ b/debian/collectd.conf @@ -682,6 +682,12 @@ LoadPlugin users # # # +# +# # See /usr/share/doc/collectd-core/examples/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 @@ -701,6 +707,13 @@ LoadPlugin users # Query backend # predefined # Query rt36_tickets # +# +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # -- 2.30.2