Update docs, bump version to 2.16.0
authorGreg Sabino Mullane <[email protected]>
Sat, 8 Jan 2011 03:13:02 +0000 (22:13 -0500)
committerGreg Sabino Mullane <[email protected]>
Sat, 8 Jan 2011 03:13:02 +0000 (22:13 -0500)
META.yml
Makefile.PL
check_postgres.pl.html

index ac98888210ccefe5b670379ac4dc0186eb864cca..1389151d59781741f102437972333f747a8ca631 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name                        : check_postgres.pl
-version                     : 2.15.5
+version                     : 2.16.0
 abstract                    : Postgres monitoring script
 author:              
   - Greg Sabino Mullane <[email protected]>
@@ -30,7 +30,7 @@ recommends:
 provides:
   check_postgres:
     file                    : check_postgres.pl
-    version                 : 2.15.5
+    version                 : 2.16.0
 
 keywords:
   - Postgres
index b3840fbc4885488242ff9639f91d61f1626ca257..1f19a858a40f45faeb93d018fd7636844a41d099 100644 (file)
@@ -6,7 +6,7 @@ use strict;
 use warnings;
 use 5.006001;
 
-my $VERSION = '2.15.5';
+my $VERSION = '2.16.0';
 
 if ($VERSION =~ /_/) {
     print "WARNING! This is a test version ($VERSION) and should not be used in production!\n";
index cb9fbdaed9dacb62a48850a1ec23b86ffbb3cc7a..3e9bc5d443f5a567711fde77a6fc84b414c3cfe7 100644 (file)
@@ -50,6 +50,7 @@
                <li><a href="#disk_space"><strong>disk_space</strong></a></li>
                <li><a href="#fsm_pages"><strong>fsm_pages</strong></a></li>
                <li><a href="#fsm_relations"><strong>fsm_relations</strong></a></li>
+               <li><a href="#hot_standby_delay"><strong>hot_standby_delay</strong></a></li>
                <li><a href="#index_size"><strong>index_size</strong></a></li>
                <li><a href="#table_size"><strong>table_size</strong></a></li>
                <li><a href="#relation_size"><strong>relation_size</strong></a></li>
 <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.15.4</p>
+<p>This documents describes check_postgres.pl version 2.16.0</p>
 <p>
 </p>
 <hr />
@@ -826,6 +827,18 @@ run this check with short intervals.</p>
 the second line.</p>
 <p>
 </p>
+<h2><a name="hot_standby_delay"><strong>hot_standby_delay</strong></a></h2>
+<p>(<code>symlink: check_hot_standby_delay</code>) Checks the streaming replication lag by computing the delta 
+between the xlog position of a master server and the one of a slave connected to it. The slave_
+server must be in hot_standby (eg. read only) mode, therefore the minimum version to use this_
+action is Postgres 9.0. The <em>--warning</em> and <em>--critical</em> options are the delta between xlog 
+location. These values should match the volume of transactions needed to have the streaming 
+replication disconnect from the master because of too much lag.</p>
+<p>You must provide information on how to reach the second database by a connection 
+parameter ending in the number 2, such as &quot;--dbport2=5543&quot;. If if it not given, 
+the action fails.</p>
+<p>
+</p>
 <h2><a name="index_size"><strong>index_size</strong></a></h2>
 <p>
 </p>
@@ -1567,7 +1580,14 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
 <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_15_4" class="item"><strong>Version 2.15.4</strong></a></strong></dt>
+<dt><strong><a name="version_2_16_0" class="item"><strong>Version 2.16.0</strong></a></strong></dt>
+
+<dd>
+<pre>
+  Add new action 'hot_standby_delay' (Nicolas Thauvin)
+  Add cache-busting for the version-grabbing utilities.</pre>
+</dd>
+<dt><strong><a name="version_2_15_4_january_3_2011" class="item"><strong>Version 2.15.4</strong> January 3, 2011</a></strong></dt>
 
 <dd>
 <pre>
@@ -1601,7 +1621,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
 
 <dd>
 <pre>
-  Add --quiet argument to surpress output on OK Nagios results
+  Add --quiet argument to suppress output on OK Nagios results
   Add index comparison for same_schema (Norman Yamada and Greg Sabino Mullane)
   Use $ENV{PGSERVICE} instead of &quot;service=&quot; to prevent problems (Guillaume Lelarge)
   Add --man option to show the entire manual. (Andy Lester)
@@ -1716,7 +1736,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
   Allow list of web fetch methods to be changed with the --get_method option.
   Add support for the --language argument, which overrides any ENV.
   Add the --no-check_postgresrc flag.
-  Ensure check_postgresrc options are completely overriden by command-line options.
+  Ensure check_postgresrc options are completely overridden by command-line options.
   Fix incorrect warning &gt; critical logic in replicate_rows (Glyn Astill)</pre>
 </dd>
 <dt><strong><strong>Version 2.10.0</strong> (August 3, 2009)</strong></dt>
@@ -1790,8 +1810,8 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
   French translations (Guillaume Lelarge)
   Make the backends search return ok if no matches due to inclusion rules,
     per report by Guillaume Lelarge (Greg)
-  Added comprehensive unit tests (Greg, Jeff Boes, Selena Decklemann)
-  Make fsm_pages and fsm_relatins handle 8.4 servers smoothly. (Greg)
+  Added comprehensive unit tests (Greg, Jeff Boes, Selena Deckelmann)
+  Make fsm_pages and fsm_relations handle 8.4 servers smoothly. (Greg)
   Fix missing 'upd' field in show_dbstats (Andras Fabian)
   Allow ENV{PGCONTROLDATA} and ENV{PGBINDIR}. (Greg)
   Add various Perl module infrastructure (e.g. Makefile.PL) (Greg)