diff options
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; } |