From f499a52b43c2680648adcfda8ed1f050121f3358 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 1 Oct 2014 22:50:06 +0000 Subject: [PATCH] Fix collectd formatting. --- roles/collectd/postgres/templates/collectd-postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/collectd/postgres/templates/collectd-postgres.sh b/roles/collectd/postgres/templates/collectd-postgres.sh index 2a86609a31..e029358ff2 100644 --- a/roles/collectd/postgres/templates/collectd-postgres.sh +++ b/roles/collectd/postgres/templates/collectd-postgres.sh @@ -19,7 +19,7 @@ done time="$(date +%s)" for db in {{ ' '.join(databases) }} do - echo "PUTVAL $host/pg_conns/pg_conns-$db $time:$(ps auxwww | grep -c $db)" + echo "PUTVAL $host/pg_conns/current-$db $time:$(ps auxwww | grep -c $db)" done sleep $pause done