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:
ff0b1e6
)
Spacing
author
Greg Sabino Mullane
<
[email protected]
>
Mon, 24 Aug 2009 16:01:04 +0000
(12:01 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Mon, 24 Aug 2009 16:01:04 +0000
(12:01 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index d16396aeced8cbddb63b65413c703877eeb3ff1e..be6f4716138a1ecbc50d63f340ff1a9a5caeb8a8 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-2463,13
+2463,13
@@
sub check_backends {
## Always want perf to show all
my $nwarn=$w2;
my $ncrit=$e2;
- if ($e1){
+ if ($e1)
{
$ncrit = $limit-$e2;
}
elsif ($e3) {
$ncrit = (int $e2*$limit/100)
}
- if ($w1){
+ if ($w1)
{
$nwarn = $limit-$w2;
}
elsif ($w3) {