From 908c5aafdd08410034c01ee5798fcb8eccd8661d Mon Sep 17 00:00:00 2001
From: Greg Sabino Mullane check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.5.4
NAME
--mrtg=ratio
.
+
(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
+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.
+For MRTG or simple output, returns the number of seconds.
++
(symlink: check_postgres_connection
) Simply connects, issues a 'SELECT version()', and leaves.
Takes no --warning or --critical options.
+ Add the pitr_lag check.+
Better checking of $opt{dbservice} structure (Cédric Villemain) @@ -1658,7 +1676,7 @@ feature requests, and commit notices, send email to LICENSE AND COPYRIGHT -Copyright (c) 2007-2008 Greg Sabino Mullane <greg@endpoint.com>.
+Copyright (c) 2007-2009 Greg Sabino Mullane <greg@endpoint.com>.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
diff --git a/index.html b/index.html index 7708b7961..bd981f188 100644 --- a/index.html +++ b/index.html @@ -21,14 +21,14 @@ h1 {check_postgres.pl
-check_postgres.pl 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 End Point Corporation and is BSD-licensed. The latest version is 2.5.4, and was released on January 07, 2009.
+check_postgres.pl 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 End Point Corporation and is BSD-licensed. The latest version is 2.6.0, and was released on January 26, 2009.
The latest development version can be downloaded via git:
-- 2.39.5