From: Greg Sabino Mullane Date: Wed, 4 Feb 2009 16:17:59 +0000 (-0500) Subject: Docs, first pass X-Git-Tag: 2.9.0~187 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b7e4c20d0101b5dd0b2fbf8b11a4a52ca399da37;p=check_postgres.git Docs, first pass --- diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 2b564ce74..7327a8592 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -93,7 +93,7 @@

NAME

check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others -This documents describes check_postgres.pl version 2.6.0

+This documents describes check_postgres.pl version 2.6.1


@@ -484,12 +484,15 @@ times larger the relation is compared to how large it should be), just pass in <

checkpoint

(symlink: check_postgres_checkpoint) 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 PGDATA, or passing +been run. This must run on the same server as the database that is being checked. This check is +meant to run on a ``warm standby'' server that is actively processing shipped WAL files, and is meant +to check that your warm standby is truly 'warm'. The data directory must be set, either by the +environment variable PGDATA, or passing the --datadir argument. It returns the number of seconds since the last checkpoint was run, as determined by parsing the call to pg_controldata. Because of this, the pg_controldata executable must be available in the current path.

At least one warning or critical argument must be set.

+

This action requires the Date::Parse module.

For MRTG or simple output, returns the number of seconds.

@@ -755,7 +758,7 @@ and relation as the fourth line.

Checks how long it has been since vacuum (or analyze) was last run on each table in one or more databases. Use of these actions requires that the target database is version 8.3 or greater, or that the version is 8.2 and the -configuration variable stats_rows_level is enabled. Tables can be filtered with the +configuration variable stats_row_level is enabled. Tables can be filtered with the --include and --exclude options. See the BASIC FILTERING section for more details. Tables can also be filtered by their owner by use of the @@ -1200,6 +1203,7 @@ instead of symlinks, so that the plugin only gets compiled one time.

The settings_checksum action requires the Digest::MD5 module.

+

The checkpoint action requires the Date::Parse module.

Some actions require access to external programs. If psql is not explicitly specified, the command which is used to find it. The program /bin/df is needed by the disk_space action.

@@ -1226,13 +1230,19 @@ feature requests, and commit notices, send email to HISTORY

Items not specifically attributed are by Greg Sabino Mullane.

-
Version 2.5.4 (January 7, 2009)
+
Version 2.6.1 (February 4, 2009)
+ +
+
+  Only require Date::Parse to be loaded if using the checkpoint action.
+
+
Version 2.6.0 (January 26, 2009)
-  Add the pitr_lag check.
+ Add the 'checkpoint' action.
-
Version 2.5.4 (January 7, 2009)
+
Version 2.5.4 (January 7, 2009)
@@ -1252,7 +1262,7 @@ feature requests, and commit notices, send email to Version 2.5.1 (December 11, 2008)
+
Version 2.5.1 (December 11, 2008)
@@ -1261,7 +1271,7 @@ feature requests, and commit notices, send email to Version 2.5.0 (December 4, 2008)
+
Version 2.5.0 (December 4, 2008)