Skip to content

Commit

Permalink
Releasing check_postgres 2.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
df7cb committed May 30, 2018
1 parent d959449 commit 22ebbb5
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 21 deletions.
4 changes: 2 additions & 2 deletions META.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- #YAML:1.0
name : check_postgres.pl
version : 2.23.0
version : 2.24.0
abstract : Postgres monitoring script
author:
- Greg Sabino Mullane <[email protected]>
Expand Down Expand Up @@ -30,7 +30,7 @@ recommends:
provides:
check_postgres:
file : check_postgres.pl
version : 2.23.0
version : 2.24.0

keywords:
- Postgres
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use strict;
use warnings;
use 5.006001;

my $VERSION = '2.23.0';
my $VERSION = '2.24.0';

if ($VERSION =~ /_/) {
print "WARNING! This is a test version ($VERSION) and should not be used in production!\n";
Expand Down
21 changes: 19 additions & 2 deletions check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ package check_postgres;

binmode STDOUT, ':encoding(UTF-8)';

our $VERSION = '2.23.0';
our $VERSION = '2.24.0';

use vars qw/ %opt $PGBINDIR $PSQL $res $COM $SQL $db /;

Expand Down Expand Up @@ -8721,7 +8721,7 @@ =head1 NAME
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
This documents describes check_postgres.pl version 2.23.0
This documents describes check_postgres.pl version 2.24.0
=head1 SYNOPSIS
Expand Down Expand Up @@ -10661,6 +10661,23 @@ =head1 HISTORY
=over 4
=item B<Version 2.24.0> Released May 30, 2018
Support new_version_pg for PG10
(Michael Pirogov)
Option to skip CYCLE sequences in action sequence
(Christoph Moench-Tegeder)
Output per-database perfdata for pgbouncer pool checks
(George Hansper)
German message translations
(Holger Jacobs)
Consider only client backends in query_time and friends
(David Christensen)
=item B<Version 2.23.0> Released October 31, 2017
Support PostgreSQL 10.
Expand Down
26 changes: 13 additions & 13 deletions check_postgres.pl.asc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAln4bAIACgkQTFprqxLS
p64SXw//VGONL9FCd0TjqCbEmQ7bA578wG1qpser3sZfHzCWD/83H36MMSfMuubf
O0/ey6iHM9MCwZgklWQulNgJfMeFsiX52x+caJ9auGmHCp7ffCsXfVO8dswBCNPk
DqjhtA2ce+HRc2ABJfSOwx86ehOHR1ZZNN85OAVHUyUt5uoz1uZMql7Tn3py6Pvv
tyDLLZrZWx0wkw5r2/sDojN0N2/9K8uPOEJZorityDj2+s/EBLAMtMSFKel65iR/
OggaN64+xGKo8mLNSuq7XcrHoTCKR9eAxxDkv+29kUwQ8QYCYioRzFC4/cKSXB62
Zvp+JVqb9desdYy8LErMrjSz0F1VTWoY8xlXRShmmTskj+aC+RjQP/ETtwkvMA7i
TvJDBd4Xbmz6mTocPVZkNzvou/jC0mA5p17yaZUFR1imyo459xkcLKzuMdkiRHeW
ZAAnKFKIQQByRRx465Y1RJcR6Hfc6G9Cw/rMQRK/wKkZ/VYOHqUPjga1fW13HUMW
PlCShvpwcy6dP27ND1j7pStMc+Y1I2erwZ0pwGiSMysBwRm/F4o8PsvbM1DGdF32
LJaadklKOiOD+2T9BYSAQwMKc64Anh0f7RWPNdL9Q+tREz/JKIrpypaQi7MOG9HV
Gz0PwJXpanLcS5ky1Fn5WvMMS+C+iimSHtdrjVu1MOIDIp0B5gg=
=CJfx
iQIzBAABCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAlsOkQYACgkQTFprqxLS
p64JBw//VCdacZWQ56GJIhkjh2nGnH5rV9PkURQm7NgodE80Yx19EDBBfUiLYTSI
0zNz2V0YwDLQOLFafcD8ZLREpqgnc1KOznShwY1IAE0WrY5ujefRcE5NZLxpimbj
OBONOcXd3n7m2mhyGd2qAlm5WlNDI6WLomq3kXwZReMmx43Z8SLkMnZXl+KSx/Nb
O5zmR4hD07EAZtDzA/t+YToDhGgB38qbbsK4jYtQsVNCt5K8JWhU0MGT0AfVeE7d
r4caCWBYY3v/qrFk/2Zoz9uytVTRMWVXjvPHe2aWPvOY299TG0jLLH10ZaCBcKhZ
XilUN3UAuz7CAr98ZocKamzmURNR/v1b37/yaOj7gAXrx1pRDLn1pKzug62Gncov
jEJaHsLarAxNPCdeeVZKUIGucpoxzxdyYQp7Hb0LA37nuFua5G1evW6cLBCkRhHN
XiMGoPUT1fN0gPcpcAAV995m2/lKywtFNjL0PUU58Gb55rxHNxeksuqSTKdhs1lR
OvtbokDsbeO5rKuKIPlblMa1E8sxluuiqVXBdXsnJApCJYpAxkLWTQPZz79M+bMK
mEBDvQqDci4OgJiLvZ9Ie6Xa1N4bYGoUTBo5xhal6wrawHyIi3iPGcwXQhOnY2f1
FzfQ1U0JP4emlWGVVA5P63wXWGvbSDuoVdpExa6WOnvjGwNS6Us=
=4I7U
-----END PGP SIGNATURE-----
25 changes: 22 additions & 3 deletions check_postgres.pl.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h1 id="NAME">NAME</h1>

<p><b>check_postgres.pl</b> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others</p>

<p>This documents describes check_postgres.pl version 2.23.0</p>
<p>This documents describes check_postgres.pl version 2.24.0</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

Expand All @@ -136,7 +136,7 @@ <h1 id="SYNOPSIS">SYNOPSIS</h1>
## There are many other actions and options, please keep reading.

The latest news and documentation can always be found at:
https://bucardo.org/Check_postgres/</code></pre>
https://bucardo.org/check_postgres/</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

Expand Down Expand Up @@ -1242,7 +1242,7 @@ <h2 id="same_schema"><b>same_schema</b></h2>

<h2 id="sequence1"><b>sequence</b></h2>

<p>(<code>symlink: check_postgres_sequence</code>) Checks how much room is left on all sequences in the database. This is measured as the percent of total possible values that have been used for each sequence. The <i>--warning</i> and <i>--critical</i> options should be expressed as percentages. The default values are <b>85%</b> for the warning and <b>95%</b> for the critical. You may use --include and --exclude to control which sequences are to be checked. Note that this check does account for unusual <b>minvalue</b> and <b>increment by</b> values, but does not care if the sequence is set to cycle or not.</p>
<p>(<code>symlink: check_postgres_sequence</code>) Checks how much room is left on all sequences in the database. This is measured as the percent of total possible values that have been used for each sequence. The <i>--warning</i> and <i>--critical</i> options should be expressed as percentages. The default values are <b>85%</b> for the warning and <b>95%</b> for the critical. You may use --include and --exclude to control which sequences are to be checked. Note that this check does account for unusual <b>minvalue</b> and <b>increment by</b> values. By default it does not care if the sequence is set to cycle or not, and by passing <i>--skipcycled</i> sequenced set to cycle are reported with 0% usage.</p>

<p>The output for Nagios gives the name of the sequence, the percentage used, and the number of &#39;calls&#39; left, indicating how many more times nextval can be called on that sequence before running into the maximum value.</p>

Expand Down Expand Up @@ -1581,6 +1581,25 @@ <h1 id="HISTORY">HISTORY</h1>

<dl>

<dt id="Version-2.24.0-Released-May-30-2018"><b>Version 2.24.0</b> Released May 30, 2018</dt>
<dd>

<pre><code> Support new_version_pg for PG10
(Michael Pirogov)

Option to skip CYCLE sequences in action sequence
(Christoph Moench-Tegeder)

Output per-database perfdata for pgbouncer pool checks
(George Hansper)

German message translations
(Holger Jacobs)

Consider only client backends in query_time and friends
(David Christensen)</code></pre>

</dd>
<dt id="Version-2.23.0-Released-October-31-2017"><b>Version 2.23.0</b> Released October 31, 2017</dt>
<dd>

Expand Down

0 comments on commit 22ebbb5

Please sign in to comment.