From: Sebastian Harl Date: Tue, 20 Nov 2012 12:13:01 +0000 (+0100) Subject: collectd.conf: Added example PostgreSQL writer configuration. X-Git-Tag: collectd-5.2.1~11^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=refs%2Fheads%2Fsh%2Fcollectd-5.2;p=collectd.git collectd.conf: Added example PostgreSQL writer configuration. --- 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 +# # #