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:
6aefdea
)
Last of the major perfname tweaks
author
Greg Sabino Mullane
<
[email protected]
>
Wed, 9 Feb 2011 13:38:33 +0000
(08:38 -0500)
committer
Greg Sabino Mullane
<
[email protected]
>
Wed, 9 Feb 2011 13:38:33 +0000
(08:38 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 9a9967b2ed34399e248fdc45e199063327d642b7..2e70a37e7ba314a12a08369bfbfec99b821c7cb7 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-7337,7
+7337,8
@@
sub check_wal_files {
next;
}
my $msg = qq{$numfiles};
- $db->{perf} .= " '$db->{host}'=$numfiles;$warning;$critical";
+ $db->{perf} .= sprintf '%s=%s;%s;%s',
+ perfname(msg('files')), $numfiles, $warning, $critical;
if (length $critical and $numfiles > $critical) {
add_critical $msg;
}