Update version.
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 26 Jan 2009 17:05:13 +0000 (12:05 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 26 Jan 2009 17:05:13 +0000 (12:05 -0500)
check_postgres.pl.asc
check_postgres.pl.html
index.html

index 4a7638957537c884a2f9816d8b5735ad3ec51d50..23135a20c638134be5411a74314b03b7fedd4c88 100644 (file)
@@ -1,6 +1,6 @@
 -----BEGIN PGP SIGNATURE-----
 
-iEYEABEDAAYFAkl8zmkACgkQvJuQZxSWSshspACdEmkY//HnOm8tITiAu6Yt0Mr0
-UHgAoMDoUy7dRmkKwAoqxI5k4eXQfCNH
-=cCZG
+iEYEABEDAAYFAkl97UcACgkQvJuQZxSWSsjesgCbBQWoA/vndbNK3FO/ECA80BVy
+POYAoI/k6i56S/boaUvBSY2rbUmgxOgO
+=cL4F
 -----END PGP SIGNATURE-----
index 9a6140413c4c93d7f48ee9db9c0f11414be7fabf..2b564ce74c5da1e67bca7e1835c9410fb3432281 100644 (file)
@@ -39,6 +39,7 @@
                <li><a href="#autovac_freeze"><strong>autovac_freeze</strong></a></li>
                <li><a href="#backends"><strong>backends</strong></a></li>
                <li><a href="#bloat"><strong>bloat</strong></a></li>
+               <li><a href="#checkpoint"><strong>checkpoint</strong></a></li>
                <li><a href="#connection"><strong>connection</strong></a></li>
                <li><a href="#custom_query"><strong>custom_query</strong></a></li>
                <li><a href="#database_size"><strong>database_size</strong></a></li>
@@ -92,7 +93,7 @@
 <hr />
 <h1><a name="name">NAME</a></h1>
 <p><strong>check_postgres.pl</strong> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.5.4</p>
+This documents describes check_postgres.pl version 2.6.0</p>
 <p>
 </p>
 <hr />
@@ -481,6 +482,17 @@ name, table name, and index name information. If you want to output the bloat ra
 times larger the relation is compared to how large it should be), just pass in <code>--mrtg=ratio</code>.</p>
 <p>
 </p>
+<h2><a name="checkpoint"><strong>checkpoint</strong></a></h2>
+<p>(<code>symlink: check_postgres_checkpoint</code>) Determines how long since the last checkpoint has 
+been run. This must run on the same server as the database that is being checked. The 
+data directory must be set, either by the environment variable <code>PGDATA</code>, or passing 
+the <code>--datadir</code> argument. It returns the number of seconds since the last checkpoint 
+was run, as determined by parsing the call to <code>pg_controldata</code>. Because of this, the 
+pg_controldata executable must be available in the current path.</p>
+<p>At least one warning or critical argument must be set.</p>
+<p>For MRTG or simple output, returns the number of seconds.</p>
+<p>
+</p>
 <h2><a name="connection"><strong>connection</strong></a></h2>
 <p>(<code>symlink: check_postgres_connection</code>) Simply connects, issues a 'SELECT version()', and leaves.
 Takes no <em>--warning</em> or <em>--critical</em> options.</p>
@@ -1216,6 +1228,12 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
 <dl>
 <dt><strong><a name="item_4"><strong>Version 2.5.4</strong> (January 7, 2009)</a></strong></dt>
 
+<dd>
+<pre>
+  Add the pitr_lag check.</pre>
+</dd>
+<dt><strong><strong>Version 2.5.4</strong> (January 7, 2009)</strong></dt>
+
 <dd>
 <pre>
   Better checking of $opt{dbservice} structure (Cédric Villemain)
@@ -1658,7 +1676,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr
 </p>
 <hr />
 <h1><a name="license_and_copyright">LICENSE AND COPYRIGHT</a></h1>
-<p>Copyright (c) 2007-2008 Greg Sabino Mullane &lt;<a href="mailto:greg@endpoint.com">greg@endpoint.com</a>&gt;.</p>
+<p>Copyright (c) 2007-2009 Greg Sabino Mullane &lt;<a href="mailto:greg@endpoint.com">greg@endpoint.com</a>&gt;.</p>
 <p>Redistribution and use in source and binary forms, with or without 
 modification, are permitted provided that the following conditions are met:</p>
 <pre>
index 7708b796135d62649326b6514de820383e0c54c5..bd981f188c2282a761b4f5050a5ef4adf538dbf1 100644 (file)
@@ -21,14 +21,14 @@ h1 {
 
 <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.5.4</b>, and was released on January 07, 2009.</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.6.0</b>, and was released on January 26, 2009.</p>
 
 <ul>
- <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.5.4</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.6.0</a></li>
 </ul>
 <ul>
- <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.5.4</a></li>
- <li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.5.4</a></li>
+ <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 2.6.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.6.0</a></li>
 </ul>
 
 <p>The latest development version can be downloaded via git:</p>