From 880fb450e9a7f5ea57718e8e50e7748d91d04ea6 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 3 Feb 2011 12:54:43 -0500 Subject: Show an "s" for perf output per Nagios guidelines. --- check_postgres.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index b39d473f1..0bbadf1f5 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1100,7 +1100,7 @@ sub add_response { $db->{host} eq '' ? '' : qq{(host:$db->{host}) }, defined $db->{port} ? ($db->{port} eq $opt{defaultport} ? '' : qq{(port=$db->{port}) }) : ''; $header =~ s/\s+$//; - my $perf = ($opt{showtime} and $db->{totaltime} and $action ne 'bloat') ? "time=$db->{totaltime}" : ''; + my $perf = ($opt{showtime} and $db->{totaltime} and $action ne 'bloat') ? "time=$db->{totaltime}s" : ''; if ($db->{perf}) { $perf .= " $db->{perf}"; } -- cgit v1.2.3