$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '2.9.2';
+our $VERSION = '2.9.3';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
$limit ||= $2;
my ($current,$dbname) = ($1,$3);
## Always want perf to show all
- $db->{perf} .= " $dbname=$current";
+ $db->{perf} .= " '$dbname'=$current";
next SLURP if skip_item($dbname);
$total += $current;
}
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.9.2
+This documents describes check_postgres.pl version 2.9.3
=head1 SYNOPSIS
=over 4
+=item B<Version 2.9.3>
+
+ Quote dbname in perf output for the backends check. (Davide Abrigo)
+
=item B<Version 2.9.2> (July 12, 2009)
Allow dots and dashes in database name for the backends check (Davide Abrigo)
<hr />
<h1><a name="name">NAME</a></h1>
<p><strong>check_postgres.pl</strong> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others</p>
-<p>This documents describes check_postgres.pl version 2.9.2</p>
+<p>This documents describes check_postgres.pl version 2.9.3</p>
<p>
</p>
<hr />
<h1><a name="history">HISTORY</a></h1>
<p>Items not specifically attributed are by Greg Sabino Mullane.</p>
<dl>
+<dt><strong><a name="version_2_9_3" class="item"><strong>Version 2.9.3</strong></a></strong></dt>
+
+<dd>
+<pre>
+ Quote dbname in perf output for the backends check. (Davide Abrigo)</pre>
+</dd>
<dt><strong><a name="2" class="item"><strong>Version 2.9.2</strong> (July 12, 2009)</a></strong></dt>
<dd>