$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '2.2.0';
+our $VERSION = '2.2.1';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
=head1 NAME
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, and others
-This documents describes check_postgres.pl version 2.2.0
+This documents describes check_postgres.pl version 2.2.1
=head1 SYNOPSIS
=over 4
+=item B<Version 2.2.1>
+
+ Add MRTG output to fsm_pages and fsm_relations.
+
=item B<Version 2.2.0> (September 25, 2008)
Add fsm_pages and fsm_relations actions. (Robert Treat)
<hr />
<h1><a name="name">NAME</a></h1>
<p><strong>check_postgres.pl</strong> - a Postgres monitoring script for Nagios, MRTG, and others
-This documents describes check_postgres.pl version 2.2.0</p>
+This documents describes check_postgres.pl version 2.2.1</p>
<p>
</p>
<hr />
<p>While you need to pass in the name of the database where pg_freespacemap is installed (and optionally a schema name if you have
installed the module in a non-standard schema), you only need to run this check once per cluster. Also, checking this information
does require obtaining special locks on the free-space-map, so it is recommend you do not run this check with short intervals.</p>
+<p>For MRTG output, returns the percent of free-space-map on the first line, the number of pages currently used on
+the second line.</p>
<p>
</p>
<h2><a name="fsm_relations"><strong>fsm_relations</strong></a></h2>
if you have installed the module in a non-standard schema), you only need to run this check once per cluster. Also,
checking this information does require obtaining special locks on the free-space-map, so it is recommend you do not
run this check with short intervals.</p>
+<p>For MRTG output, returns the percent of free-space-map on the first line, the number of relations currently used on
+the second line.</p>
<p>
</p>
<h2><a name="index_size"><strong>index_size</strong></a></h2>
<h1><a name="history">HISTORY</a></h1>
<p>Items not specifically attributed are by Greg Sabino Mullane.</p>
<dl>
-<dt><strong><a name="item_0"><strong>Version 2.2.0</strong> (September 2008)</a></strong></dt>
+<dt><strong><a name="item_version_2_2e2_2e1"><strong>Version 2.2.1</strong></a></strong></dt>
+
+<dd>
+<pre>
+ Add MRTG output to fsm_pages and fsm_relations.</pre>
+</dd>
+<dt><strong><a name="item_0"><strong>Version 2.2.0</strong> (September 25, 2008)</a></strong></dt>
<dd>
<pre>
<h1>check_postgres.pl</h1>
-<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.2.0</b>, and was released on September 25, 2008.</p>
+<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.2.1</b>, and was released on September 28, 2008.</p>
<ul>
- <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.2.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.2.1</a></li>
</ul>
<ul>
- <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.2.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.2.1</a></li>
<li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl</a></li>
</ul>