From: Nicolas Thauvin Date: Mon, 27 Jun 2011 15:05:54 +0000 (+0200) Subject: Fix check_hot_standby_delay perfdata output X-Git-Tag: 2.18.0~42 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=b91182610a046ce657a93f539f3b8e1988a006e3;p=check_postgres.git Fix check_hot_standby_delay perfdata output There was a missing space in the perfdata output for this action. --- diff --git a/check_postgres.pl b/check_postgres.pl index 847a17a75..0294eecf3 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4338,9 +4338,9 @@ 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', + $db->{perf} .= sprintf ' %s=%s;%s;%s', perfname(msg('hs-receive-delay')), $rec_delta, $warning, $critical; ## Do the check on replay delay in case SR has disconnected because it way too far behind