diff options
author | Greg Sabino Mullane | 2010-03-02 16:04:10 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-03-02 16:04:10 +0000 |
commit | efd7b16dab7fc2aaa6c48caa223d09d6429aae0d (patch) | |
tree | 877814e0bb780adb67751a7809638865f4dd3235 /check_postgres.pl | |
parent | 7f69dd9e1bd8020e1aa20a414f754423d1574beb (diff) |
warning and critical may be empty, so use %s not %d
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 <> '<IDLE>'$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, |