Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5767,7 +5767,7 @@ sub check_new_version_pg {

## Check if a new version of Postgres is available

my $url = 'http://www.postgresql.org/versions.rss';
my $url = 'https://www.postgresql.org/versions.rss';

## Grab the local version
my $info = run_command('SELECT version() AS version');
Expand Down Expand Up @@ -8064,7 +8064,7 @@ sub check_txn_wraparound {
## Supports: Nagios, MRTG
## Warning and critical are the number of transactions performed
## Thus, anything *over* that number will trip the alert
## See: http://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND
## See: https://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND
## It makes no sense to run this more than once on the same cluster

my ($warning, $critical) = validate_range
Expand Down Expand Up @@ -8392,7 +8392,7 @@ =head1 DATABASE CONNECTION OPTIONS
when using this option such as --dbservice="maindatabase sslmode=require"

The documentation for this file can be found at
http://www.postgresql.org/docs/current/static/libpq-pgservice.html
https://www.postgresql.org/docs/current/static/libpq-pgservice.html

=back

Expand Down Expand Up @@ -9858,7 +9858,7 @@ =head2 B<txn_wraparound>
If either option is not given, the default values of 1.3 and 1.4 billion are used. There is no need to run this command
more than once per database cluster. For a more detailed discussion of what this number represents and what to do about
it, please visit the page
L<http://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND>
L<https://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND>

The warning and critical values can have underscores in the number for legibility, as Perl does.

Expand Down
4 changes: 2 additions & 2 deletions check_postgres.pl.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h1 id="DATABASE-CONNECTION-OPTIONS">DATABASE CONNECTION OPTIONS</h1>

<p>This file contains a simple list of connection options. You can also pass additional information when using this option such as --dbservice=&quot;maindatabase sslmode=require&quot;</p>

<p>The documentation for this file can be found at http://www.postgresql.org/docs/current/static/libpq-pgservice.html</p>
<p>The documentation for this file can be found at https://www.postgresql.org/docs/current/static/libpq-pgservice.html</p>

</dd>
</dl>
Expand Down Expand Up @@ -1285,7 +1285,7 @@ <h2 id="txn_time"><b>txn_time</b></h2>

<h2 id="txn_wraparound"><b>txn_wraparound</b></h2>

<p>(<code>symlink: check_postgres_txn_wraparound</code>) Checks how close to transaction wraparound one or more databases are getting. The <i>--warning</i> and <i>--critical</i> options indicate the number of transactions done, and must be a positive integer. If either option is not given, the default values of 1.3 and 1.4 billion are used. There is no need to run this command more than once per database cluster. For a more detailed discussion of what this number represents and what to do about it, please visit the page <a href="http://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND">http://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND</a></p>
<p>(<code>symlink: check_postgres_txn_wraparound</code>) Checks how close to transaction wraparound one or more databases are getting. The <i>--warning</i> and <i>--critical</i> options indicate the number of transactions done, and must be a positive integer. If either option is not given, the default values of 1.3 and 1.4 billion are used. There is no need to run this command more than once per database cluster. For a more detailed discussion of what this number represents and what to do about it, please visit the page <a href="https://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND">https://www.postgresql.org/docs/current/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND</a></p>

<p>The warning and critical values can have underscores in the number for legibility, as Perl does.</p>

Expand Down