diff options
-rw-r--r-- | check_postgres.pl.asc | 6 | ||||
-rw-r--r-- | check_postgres.pl.html | 22 | ||||
-rw-r--r-- | index.html | 8 |
3 files changed, 27 insertions, 9 deletions
diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc index 4a7638957..23135a20c 100644 --- a/check_postgres.pl.asc +++ b/check_postgres.pl.asc @@ -1,6 +1,6 @@ -----BEGIN PGP SIGNATURE----- -iEYEABEDAAYFAkl8zmkACgkQvJuQZxSWSshspACdEmkY//HnOm8tITiAu6Yt0Mr0 -UHgAoMDoUy7dRmkKwAoqxI5k4eXQfCNH -=cCZG +iEYEABEDAAYFAkl97UcACgkQvJuQZxSWSsjesgCbBQWoA/vndbNK3FO/ECA80BVy +POYAoI/k6i56S/boaUvBSY2rbUmgxOgO +=cL4F -----END PGP SIGNATURE----- diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 9a6140413..2b564ce74 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -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> @@ -1218,6 +1230,12 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr <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) Fix time display in timesync action output (Selena Deckelmann) Fix documentation typos (Josh Tolley)</pre> @@ -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 <<a href="mailto:greg@endpoint.com">greg@endpoint.com</a>>.</p> +<p>Copyright (c) 2007-2009 Greg Sabino Mullane <<a href="mailto:greg@endpoint.com">greg@endpoint.com</a>>.</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> diff --git a/index.html b/index.html index 7708b7961..bd981f188 100644 --- a/index.html +++ b/index.html @@ -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> |