diff options
author | Greg Sabino Mullane | 2011-02-09 13:38:33 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-02-09 13:38:33 +0000 |
commit | 45eff9103be4baff8e146cbc0aadc0d8e25173a1 (patch) | |
tree | 0abec449ae69c26177ffb05789a2033fa5745147 /check_postgres.pl | |
parent | 6aefdea1b89a7d1dd496a9e0dcc2bfbc7473b82d (diff) |
Last of the major perfname tweaks
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 9a9967b2e..2e70a37e7 100755 --- 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; } |