projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87756a5
)
Correct extra space in perfdata
author
Adrien nayrat
<
[email protected]
>
Thu, 13 Nov 2014 13:02:39 +0000
(14:02 +0100)
committer
Christoph Berg
<
[email protected]
>
Thu, 26 May 2016 17:37:26 +0000
(19:37 +0200)
The extra space result in two spaces between the metrics and its incorrectly parse by centreon.
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 56ff7bfa10c5a490b27118f0d0ac8b0bc369684d..527ab3802b2e807d69545a3a6f1e796b952e0e8b 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-5121,7
+5121,7
@@
sub check_hot_standby_delay {
{one => $rep_delta, two => $rec_delta});
if (defined $rep_delta) {
- $db->{perf} = sprintf ' %s=%s;%s;%s
',
+ $db->{perf} = sprintf ' %s=%s;%s;%s',
perfname(msg('hs-replay-delay')), $rep_delta, $warning, $critical;
}
if (defined $rec_delta) {