diff options
author | Nicolas Thauvin | 2011-06-27 15:05:54 +0000 |
---|---|---|
committer | Guillaume Lelarge | 2011-06-27 15:05:54 +0000 |
commit | b91182610a046ce657a93f539f3b8e1988a006e3 (patch) | |
tree | 88e8df10837a88f2c41a0e396800d99cdd8cfc23 /check_postgres.pl | |
parent | ccfbebf822895ab25a41c882b0e50cf181dfcc57 (diff) |
Fix check_hot_standby_delay perfdata output
There was a missing space in the perfdata output for this action.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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 |