Skip to content

Commit

Permalink
Release 2.5
Browse files Browse the repository at this point in the history
From merge request #274
  • Loading branch information
ioguix authored Nov 24, 2020
1 parent 844e499 commit 8009e0e
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 16 deletions.
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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

6 changes: 3 additions & 3 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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<Author: Open PostgreSQL Monitoring Development Group>
S<Copyright: (C) 2012-2020 Open PostgreSQL Monitoring Development Group>

3 changes: 2 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions check_pgactivity
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -64,7 +64,7 @@ delete $ENV{'LANGUAGE'};

$| = 1;

$VERSION = '2.5dev';
$VERSION = '2.5';
$PROGRAM = 'check_pgactivity';

my $PG_VERSION_MIN = 70400;
Expand Down Expand Up @@ -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
Expand All @@ -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<Author: Open PostgreSQL Monitoring Development Group>
S<Copyright: (C) 2012-2020 Open PostgreSQL Monitoring Development Group>
=cut
7 changes: 5 additions & 2 deletions check_pgactivity.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 <[email protected]> 2.5-1
- new major release 2.5

* Wed Jan 30 2019 Christophe Courtois <[email protected]> 2.4-1
- new major release 2.4

Expand Down

0 comments on commit 8009e0e

Please sign in to comment.