[check_postgres] [commit] Need additional zero to support previous fix.

check_postgres at bucardo.org check_postgres at bucardo.org
Fri Mar 13 14:42:51 UTC 2009


Committed by Greg Sabino Mullane <greg at endpoint.com>

Need additional zero to support previous fix.

---
 check_postgres.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/check_postgres.pl b/check_postgres.pl
index 33f6a6f..d1538fa 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -4374,7 +4374,7 @@ sub show_dbstats {
 				next SLURP unless $keepit;
 			}
 			my $template = "backends:%d commits:%d rollbacks:%d read:%d hit:%d ret:%d fetch:%d ins:%d upd: %d del:%d";
-			my $msg = sprintf "$template", @stats, (0,0,0,0);
+			my $msg = sprintf "$template", @stats, (0,0,0,0,0);
 			print "$msg dbname:$dbname\n";
 		}
 	}
-- 
1.6.0.5



More information about the Check_postgres mailing list