From: Greg Sabino Mullane
Date: Sat, 8 Jan 2011 03:13:02 +0000 (-0500)
Subject: Update docs, bump version to 2.16.0
X-Git-Tag: 2.16.0~18
X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=13df823747943a7cb0a686c2e8b27ab355537252;p=check_postgres.git
Update docs, bump version to 2.16.0
---
diff --git a/META.yml b/META.yml
index ac9888821..1389151d5 100644
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name : check_postgres.pl
-version : 2.15.5
+version : 2.16.0
abstract : Postgres monitoring script
author:
- Greg Sabino Mullane
@@ -30,7 +30,7 @@ recommends:
provides:
check_postgres:
file : check_postgres.pl
- version : 2.15.5
+ version : 2.16.0
keywords:
- Postgres
diff --git a/Makefile.PL b/Makefile.PL
index b3840fbc4..1f19a858a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,7 @@ use strict;
use warnings;
use 5.006001;
-my $VERSION = '2.15.5';
+my $VERSION = '2.16.0';
if ($VERSION =~ /_/) {
print "WARNING! This is a test version ($VERSION) and should not be used in production!\n";
diff --git a/check_postgres.pl.html b/check_postgres.pl.html
index cb9fbdaed..3e9bc5d44 100644
--- a/check_postgres.pl.html
+++ b/check_postgres.pl.html
@@ -50,6 +50,7 @@
disk_space
fsm_pages
fsm_relations
+ hot_standby_delay
index_size
table_size
relation_size
@@ -116,7 +117,7 @@
check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.15.4
+This documents describes check_postgres.pl version 2.16.0
@@ -826,6 +827,18 @@ run this check with short intervals.
the second line.
+
+(symlink: check_hot_standby_delay) Checks the streaming replication lag by computing the delta
+between the xlog position of a master server and the one of a slave connected to it. The slave_
+server must be in hot_standby (eg. read only) mode, therefore the minimum version to use this_
+action is Postgres 9.0. The --warning and --critical options are the delta between xlog
+location. These values should match the volume of transactions needed to have the streaming
+replication disconnect from the master because of too much lag.
+You must provide information on how to reach the second database by a connection
+parameter ending in the number 2, such as "--dbport2=5543". If if it not given,
+the action fails.
+
+
@@ -1567,7 +1580,14 @@ feature requests, and commit notices, send email to HISTORY
Items not specifically attributed are by Greg Sabino Mullane.
-- Version 2.15.4
+- Version 2.16.0
+
+-
+
+ Add new action 'hot_standby_delay' (Nicolas Thauvin)
+ Add cache-busting for the version-grabbing utilities.
+
+- Version 2.15.4 January 3, 2011
-
@@ -1601,7 +1621,7 @@ feature requests, and commit notices, send email to
- Version 2.10.0 (August 3, 2009)
@@ -1790,8 +1810,8 @@ feature requests, and commit notices, send email to