From efd7b16dab7fc2aaa6c48caa223d09d6429aae0d Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 2 Mar 2010 11:04:10 -0500 Subject: warning and critical may be empty, so use %s not %d --- 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 8033ba368..2729ce6a7 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3975,7 +3975,7 @@ WHERE current_query <> ''$USERWHERECLAUSE $MRTG and do_mrtg({one => $maxtime, msg => $whodunit}); - $db->{perf} .= sprintf q{'%s'=%s;%d;%d}, + $db->{perf} .= sprintf q{'%s'=%s;%s;%s}, $whodunit, $maxtime, $warning, -- cgit v1.2.3