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 @@
  • BASIC FILTERING
  • USER NAME FILTERING
  • TEST MODE
  • +
  • FILES
  • +
  • ENVIRONMENT VARIABLES
  • TIPS AND TRICKS
  • DEPENDENCIES
  • DEVELOPMENT
  • @@ -101,7 +103,7 @@

    NAME

    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


    @@ -377,6 +379,25 @@ other systems are supported yet.

    which determine if the output is displayed or not, where 'a' = all, 'c' = critical, 'w' = warning, 'o' = ok, and 'u' = unknown. Letters can be combined.

    +
    --get_method=VAL
    + +
    +

    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
    +
    +
    --language=VAL
    + +
    +

    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. +once a day. See also the information on the --get_method option.

    new_version_pg

    @@ -921,7 +942,8 @@ exists for each database connected to. Note that this only checks for revision, going from 8.3.6 to 8.3.7. Revisions are always 100% binary compatible and involve no dump and restore to upgrade. Revisions are made to address bugs, so upgrading as soon as possible is always recommended. Returns a warning if you do not have the latest revision. -It is recommended this check is run at least once a day.

    +It is recommended this check is run at least once a day. See also the information on +the --get_method option.

    prepared_txns

    @@ -1332,6 +1354,21 @@ of Postgres is new enough, and if stats_row_level is enabled.


    +

    FILES

    +

    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.

    +

    +

    +
    +

    ENVIRONMENT VARIABLES

    +

    The encironment variable $ENV{HOME} is used to look for a .check_postgresrc file.

    +

    +

    +

    TIPS AND TRICKS

    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.

    +
    Version 2.11.0
    + +
    +
    +  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)
    +
    Version 2.10.0 (August 3, 2009)
    @@ -1915,7 +1964,7 @@ feature requests, and commit notices, send email to BUGS AND LIMITATIONS

    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


    -- cgit v1.2.3