From 908c5aafdd08410034c01ee5798fcb8eccd8661d Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 26 Jan 2009 12:05:13 -0500 Subject: [PATCH] Update version. --- check_postgres.pl.asc | 6 +++--- check_postgres.pl.html | 22 ++++++++++++++++++++-- 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 @@
  • autovac_freeze
  • backends
  • bloat
  • +
  • checkpoint
  • connection
  • custom_query
  • database_size
  • @@ -92,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.5.4

    +This documents describes check_postgres.pl version 2.6.0


    @@ -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 --mrtg=ratio.

    +

    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 +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.

    +

    +

    connection

    (symlink: check_postgres_connection) Simply connects, issues a 'SELECT version()', and leaves. Takes no --warning or --critical options.

    @@ -1216,6 +1228,12 @@ feature requests, and commit notices, send email to Version 2.5.4 (January 7, 2009) +
    +
    +  Add the pitr_lag check.
    +
    +
    Version 2.5.4 (January 7, 2009)
    +
       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