From 82f22e281ac0c4280da213fce7a6ae0feb1815c0 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 20 Nov 2012 13:13:01 +0100 Subject: [PATCH] collectd.conf: Added example PostgreSQL writer configuration. --- src/collectd.conf.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index daf2d9a8..db81a4ad 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -761,6 +761,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" @@ -776,6 +781,12 @@ # Query backend # predefined # Query rt36_tickets # +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # -- 2.30.2