From: Nicolas Thauvin Date: Fri, 19 Aug 2011 16:25:31 +0000 (-0400) Subject: Fix space in perfdata for hot_standby_delay action. X-Git-Tag: 2.18.0~8 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=6445c7a67a4155f4f7d61d60d7cc6447b983babd;p=check_postgres.git Fix space in perfdata for hot_standby_delay action. --- diff --git a/check_postgres.pl b/check_postgres.pl index 9654a918f..0c08e8939 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4637,7 +4637,7 @@ sub check_hot_standby_delay { $MRTG and do_mrtg({one => $rep_delta, two => $rec_delta}); - $db->{perf} = sprintf ' %s=%s;%s;%s', + $db->{perf} = sprintf ' %s=%s;%s;%s ', perfname(msg('hs-replay-delay')), $rep_delta, $warning, $critical; $db->{perf} .= sprintf ' %s=%s;%s;%s', perfname(msg('hs-receive-delay')), $rec_delta, $warning, $critical;