From 8009e0e6ab209578edde25f8bd58b80fc2a06955 Mon Sep 17 00:00:00 2001 From: "Jehan-Guillaume (ioguix) de Rorthais" Date: Tue, 24 Nov 2020 11:49:05 +0100 Subject: [PATCH] Release 2.5 From merge request #274 --- CHANGELOG.md | 29 ++++++++++++++++++++++++++++- LICENSE | 2 +- README | 6 +++--- README.pod | 6 +++--- RELEASING.md | 3 ++- check_pgactivity | 10 +++++----- check_pgactivity.spec | 7 +++++-- 7 files changed, 47 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b599b9df..c8f5eea2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,36 @@ Changelog ========= +2020-11-24 v2.5: + + - add: new `oldest_xmin` service + - add: new `extensions_versions` service + - add: new `checksum_errors` service + - add: support for v13 and other improvements on `replication_slots` + - add: v13 compatibility for service `wal_files` + - add: various documentation details and examples + - add: support service `replication_slots` on standby + - add: accept single `b` or `o` as size unit + - add: json and json_strict output formats + - add: `size` and/or `delta` thresholds for `database_size` service + - add: thresholds are now optional for service `database_size` + - add: support for v12 and v13 `archive_folder` + - regression: threshold `repslot` becomes `spilled` in service `replication_slots` + - regression: in services latest_vacuum and latest_analyze: a critical alert + is now raised on tables that were never analyzed/vacuumed or whose maintenance date was lost due to a crash + - fix: avoid alerts for lack of maintenance on inactive db + - fix: forbid rare cases of division by zero in `wal_files` + - fix: do not alert on missing file in `temp_files` for v10+ + - fix: detect lack of maintenance in `last_vacuum` and `last_analyze` for never maintained tables + - fix: backend count for v10+ + - fix: replace NaN with "U" for strict outputs + - fix: do not count walsenders as part of `max_connections` + - fix: broken `archiver` service with v10+ + - fix: perl warning when archiver is not active + 2019-01-30 v2.4: - - add a new uptime service + - add a new `uptime` service - add ability to filter by application_name in longest_query and oldest_idlexact service - add minimal delta size to pgdump_backup service to avoid alert when backup grows small in size - allow psql connections without providing connection arguments: diff --git a/LICENSE b/LICENSE index a86a840f..662fc6bb 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2012-2019, Open PostgreSQL Monitoring Development Group (OPMDG). +Copyright (c) 2012-2020, Open PostgreSQL Monitoring Development Group (OPMDG). Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement diff --git a/README b/README index 28334477..91ed9fff 100644 --- a/README +++ b/README @@ -1260,13 +1260,13 @@ COMPATIBILITY check_pgactivity -p 5433 -h slave --service hit_ratio --dbinclude importantone -w 90% -c 80% VERSION - check_pgactivity version 2.4, released on Wed Jan 30 2019 + check_pgactivity version 2.5, released on Tue Nov 24 2020 LICENSING This program is open source, licensed under the PostgreSQL license. For license terms, see the LICENSE provided with the sources. AUTHORS - Author: Open PostgreSQL Monitoring Development Group Copyright: (C) - 2012-2019 Open PostgreSQL Monitoring Development Group + Author: Open PostgreSQL Monitoring Development Group + Copyright: (C) 2012-2020 Open PostgreSQL Monitoring Development Group diff --git a/README.pod b/README.pod index ef5449d4..ecd55d58 100644 --- a/README.pod +++ b/README.pod @@ -1302,7 +1302,7 @@ pg_ls_waldir =head1 VERSION -check_pgactivity version 2.4, released on Wed Jan 30 2019 +check_pgactivity version 2.5, released on Tue Nov 24 2020 =head1 LICENSING @@ -1311,6 +1311,6 @@ For license terms, see the LICENSE provided with the sources. =head1 AUTHORS -Author: Open PostgreSQL Monitoring Development Group -Copyright: (C) 2012-2019 Open PostgreSQL Monitoring Development Group +S +S diff --git a/RELEASING.md b/RELEASING.md index 207bb7d2..ebb30ae3 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -88,13 +88,14 @@ Ping packager on mailing list pgsql-pkg-yum if needed to update the RPM on PGDG ## Nagios Exchange Update: + * the release number * the services list * add latest packages, zip and tarball. https://exchange.nagios.org/directory/Plugins/Databases/PostgresQL/check_pgactivity/details -Ask Thomas (frost242) Reiss or Jehan-Guillaume (ioguix) de Rorthais for credentials. +Ask Thomas (frost242) Reiss or Jehan-Guillaume (ioguix) de Rorthais for credentials. ## Submit a news on postgresql.org diff --git a/check_pgactivity b/check_pgactivity index 0b461955..437f0999 100755 --- a/check_pgactivity +++ b/check_pgactivity @@ -2,7 +2,7 @@ # This program is open source, licensed under the PostgreSQL License. # For license terms, see the LICENSE file. # -# Copyright (C) 2012-2019: Open PostgreSQL Monitoring Development Group +# Copyright (C) 2012-2020: Open PostgreSQL Monitoring Development Group =head1 NAME @@ -64,7 +64,7 @@ delete $ENV{'LANGUAGE'}; $| = 1; -$VERSION = '2.5dev'; +$VERSION = '2.5'; $PROGRAM = 'check_pgactivity'; my $PG_VERSION_MIN = 70400; @@ -9063,7 +9063,7 @@ __END__ =head1 VERSION -check_pgactivity version 2.4, released on Wed Jan 30 2019 +check_pgactivity version 2.5, released on Tue Nov 24 2020 =head1 LICENSING @@ -9072,7 +9072,7 @@ For license terms, see the LICENSE provided with the sources. =head1 AUTHORS -Author: Open PostgreSQL Monitoring Development Group -Copyright: (C) 2012-2019 Open PostgreSQL Monitoring Development Group +S +S =cut diff --git a/check_pgactivity.spec b/check_pgactivity.spec index ceaa9909..d1f90571 100644 --- a/check_pgactivity.spec +++ b/check_pgactivity.spec @@ -1,7 +1,7 @@ -%global _tag REL2_4 +%global _tag REL2_5 Name: nagios-plugins-pgactivity -Version: 2.4 +Version: 2.5 Release: 1 Summary: PostgreSQL monitoring plugin for Nagios License: PostgreSQL @@ -32,6 +32,9 @@ install -D -p -m 0755 check_pgactivity %{buildroot}/%{_libdir}/nagios/plugins/ch %doc README LICENSE %changelog +* Tue Nov 24 2020 Jehan-Guillaume de Rorthais 2.5-1 +- new major release 2.5 + * Wed Jan 30 2019 Christophe Courtois 2.4-1 - new major release 2.4