diff options
-rwxr-xr-x | check_postgres.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 9c8a3d2f7..77f057747 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2260,7 +2260,7 @@ sub check_backends { for $db (@{$info->{db}}) { my ($limit,$total,$grandtotal) = (0,0,0); - SLURP: while ($db->{slurp} =~ /(\d+) \| (\d+)\s+\|\s+(\w+)\s*/gsm) { + SLURP: while ($db->{slurp} =~ /(\d+) \| (\d+)\s+\|\s+([\w\-\.]+)\s*/gsm) { $grandtotal++; $limit ||= $2; my ($current,$dbname) = ($1,$3); @@ -7359,6 +7359,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B<Version 2.9.2> + + Allow dots and dashes in database name for the backends check (Davide Abrigo) + =item B<Version 2.9.1> (June 12, 2009) Fix for multiple databases with the check_bloat action (Mark Kirkwood) |