From b7715094f987ceb8cfeef6d4310d09ae269d4bd1 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 23 Aug 2009 08:40:05 -0400 Subject: Bump version to 2.11.0 --- check_postgres.pl.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 4 deletions(-) (limited to 'check_postgres.pl.html') diff --git a/check_postgres.pl.html b/check_postgres.pl.html index ed4b85091..87da7dee8 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -81,6 +81,8 @@
check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.10.0
+This documents describes check_postgres.pl version 2.11.0
Allows specification of the method used to fetch information for the new_version_cp
+and new_version_pg
checks. The following programs are tried, in order, to grab the
+information from the web: GET, wget, fetch, curl, lynx, links. To force the use of just
+one (and thus remove the overhead of trying all the others until one of those works),
+enter one of the names as the argument to get_method. For example, a BSD box might enter
+the folling line in their .check_postgresrc
file:
+ get_method=fetch+
Set the language to use for all output messages. Normally, this is detected by examining +the environment variables LC_ALL, LC_MESSAGES, and LANG, but setting this option +will override any such detection.
+@@ -912,7 +933,7 @@ failure, the fourth line will provide more detail on the failure encountered.(check_postgres.pl) is available, by grabbing the version from a small text file on the main page of the home page for the project. Returns a warning if the returned version does not match the one you are running. Recommended interval to check is -once a day. +once a day. See also the information on the
--get_method
option.
--get_method
option.
In addition to command-line configurations, you can put any options inside of a file. The file
+.check_postgresrc in the current directory will be used if found. If not found, then the file
+~/.check_postgresrc will be used. Finally, the file /etc/check_postgresrc will be used if available.
+The format of the file is option = value, one per line. Any line starting with a '#' will be skipped.
+Any values loaded from a check_postgresrc file will be overwritten by command-line options. All
+check_postgresrc files can be ignored by supplying a --no-checkpostgresrc
argument.
+
+The encironment variable $ENV{HOME} is used to look for a .check_postgresrc file.
++
+Since this program uses the psql program, make sure it is accessible to the user running the script. If run as a cronjob, this often means modifying the @@ -1386,6 +1423,18 @@ feature requests, and commit notices, send email to HISTORY
Items not specifically attributed are by Greg Sabino Mullane.
+ Add Nagios perf output to the wal_files check (Cédric Villemain) + Add support for .check_postgresrc, per request from Albe Laurenz. + 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. + Fix incorrect warning > critical logic in replicate_rows (Glyn Astill)+
The index bloat size optimization is rough.
Some actions may not work on older versions of Postgres (before 8.0).
-Please report any problems to greg@endpoint.com.
+Please report any problems to check_postgres@bucardo.org