Skip to content

Commit 2b187cc

Browse files
committed
Update doc, and fix missing title close tag
1 parent 58de936 commit 2b187cc

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

check_postgres.pl.html

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
<html xmlns="http://www.w3.org/1999/xhtml">
44
<head>
5-
<title>check_postgres.pl>
5+
<title>check_postgres.pl</title>
66
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
77

88
</head>
@@ -229,11 +229,11 @@ <h1 id="DATABASE-CONNECTION-OPTIONS">DATABASE CONNECTION OPTIONS</h1>
229229
<dt id="dbservice-NAME"><b>--dbservice=NAME</b></dt>
230230
<dd>
231231

232-
<p>The name of a service inside of the pg_service.conf file. Before version 9.0 of Postgres, this is a global file, usually found in /etc/pg_service.conf. If you are using version 9.0 or higher of Postgres, you can use the file &quot;.pg_service.conf&quot; in the home directory of the user running the script, e.g. nagios.</p>
232+
<p>The name of a service inside of the pg_service.conf file. Before version 9.0 of Postgres, this is a global file, usually found in <i>/etc/pg_service.conf</i>. If you are using version 9.0 or higher of Postgres, you can use the file &quot;.pg_service.conf&quot; in the home directory of the user running the script, e.g. nagios.</p>
233233

234234
<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>
235235

236-
<p>The documentation for this file can be found at https://www.postgresql.org/docs/current/static/libpq-pgservice.html</p>
236+
<p>The documentation for this file can be found at <a href="https://www.postgresql.org/docs/current/static/libpq-pgservice.html">https://www.postgresql.org/docs/current/static/libpq-pgservice.html</a></p>
237237

238238
</dd>
239239
</dl>
@@ -792,7 +792,7 @@ <h2 id="disk_space"><b>disk_space</b></h2>
792792

793793
<pre><code> check_postgres_disk_space --port=5432 --warning=&#39;90%&#39; --critical=&#39;90%&#39;</code></pre>
794794

795-
<p>Example 2: Check that all file systems starting with /dev/sda are smaller than 10 GB and 11 GB (warning and critical)</p>
795+
<p>Example 2: Check that all file systems starting with <i>/dev/sda</i> are smaller than 10 GB and 11 GB (warning and critical)</p>
796796

797797
<pre><code> check_postgres_disk_space --port=5432 --warning=&#39;10 GB&#39; --critical=&#39;11 GB&#39; --include=&quot;~^/dev/sda&quot;</code></pre>
798798

@@ -976,11 +976,11 @@ <h2 id="logfile"><b>logfile</b></h2>
976976

977977
<h2 id="new_version_bc"><b>new_version_bc</b></h2>
978978

979-
<p>(<code>symlink: check_postgres_new_version_bc</code>) Checks if a newer version of the Bucardo program is available. The current version is obtained by running <code>bucardo_ctl --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (Bucardo is a master to slave, and master to master replication system for Postgres: see https://bucardo.org/ for more information). See also the information on the <code>--get_method</code> option.</p>
979+
<p>(<code>symlink: check_postgres_new_version_bc</code>) Checks if a newer version of the Bucardo program is available. The current version is obtained by running <code>bucardo_ctl --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (Bucardo is a master to slave, and master to master replication system for Postgres: see <a href="https://bucardo.org/">https://bucardo.org/</a> for more information). See also the information on the <code>--get_method</code> option.</p>
980980

981981
<h2 id="new_version_box"><b>new_version_box</b></h2>
982982

983-
<p>(<code>symlink: check_postgres_new_version_box</code>) Checks if a newer version of the boxinfo program is available. The current version is obtained by running <code>boxinfo.pl --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (boxinfo is a program for grabbing important information from a server and putting it into a HTML format: see https://bucardo.org/Boxinfo/ for more information). See also the information on the <code>--get_method</code> option.</p>
983+
<p>(<code>symlink: check_postgres_new_version_box</code>) Checks if a newer version of the boxinfo program is available. The current version is obtained by running <code>boxinfo.pl --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (boxinfo is a program for grabbing important information from a server and putting it into a HTML format: see <a href="https://bucardo.org/Boxinfo/">https://bucardo.org/Boxinfo/</a> for more information). See also the information on the <code>--get_method</code> option.</p>
984984

985985
<h2 id="new_version_cp"><b>new_version_cp</b></h2>
986986

@@ -992,7 +992,7 @@ <h2 id="new_version_pg"><b>new_version_pg</b></h2>
992992

993993
<h2 id="new_version_tnm"><b>new_version_tnm</b></h2>
994994

995-
<p>(<code>symlink: check_postgres_new_version_tnm</code>) Checks if a newer version of the tail_n_mail program is available. The current version is obtained by running <code>tail_n_mail --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (tail_n_mail is a log monitoring tool that can send mail when interesting events appear in your Postgres logs. See: https://bucardo.org/tail_n_mail/ for more information). See also the information on the <code>--get_method</code> option.</p>
995+
<p>(<code>symlink: check_postgres_new_version_tnm</code>) Checks if a newer version of the tail_n_mail program is available. The current version is obtained by running <code>tail_n_mail --version</code>. If a major upgrade is available, a warning is returned. If a revision upgrade is available, a critical is returned. (tail_n_mail is a log monitoring tool that can send mail when interesting events appear in your Postgres logs. See: <a href="https://bucardo.org/tail_n_mail/">https://bucardo.org/tail_n_mail/</a> for more information). See also the information on the <code>--get_method</code> option.</p>
996996

997997
<h2 id="pgb_pool_cl_active"><b>pgb_pool_cl_active</b></h2>
998998

@@ -1147,7 +1147,7 @@ <h2 id="replication_slots"><b>replication_slots</b></h2>
11471147

11481148
<h2 id="same_schema"><b>same_schema</b></h2>
11491149

1150-
<p>(<code>symlink: check_postgres_same_schema</code>) Verifies that two or more databases are identical as far as their schema (but not the data within). This is particularly handy for making sure your slaves have not been modified or corrupted in any way when using master to slave replication. Unlike most other actions, this has no warning or critical criteria - the databases are either in sync, or are not. If they are different, a detailed list of the differences is presented.</p>
1150+
<p>(<code>symlink: check_postgres_same_schema</code>) Verifies that two or more databases are identical as far as their schema (but not the data within). Unlike most other actions, this has no warning or critical criteria - the databases are either in sync, or are not. If they are different, a detailed list of the differences is presented.</p>
11511151

11521152
<p>You may want to exclude or filter out certain differences. The way to do this is to add strings to the <code>--filter</code> option. To exclude a type of object, use &quot;noname&quot;, where &#39;name&#39; is the type of object, for example, &quot;noschema&quot;. To exclude objects of a certain type by a regular expression against their name, use &quot;noname=regex&quot;. See the examples below for a better understanding.</p>
11531153

@@ -1508,7 +1508,7 @@ <h1 id="TEST-MODE">TEST MODE</h1>
15081508

15091509
<h1 id="FILES">FILES</h1>
15101510

1511-
<p>In addition to command-line configurations, you can put any options inside of a file. The file <i>.check_postgresrc</i> in the current directory will be used if found. If not found, then the file <i>~/.check_postgresrc</i> will be used. Finally, the file /etc/check_postgresrc will be used if available. The format of the file is option = value, one per line. Any line starting with a &#39;#&#39; will be skipped. Any values loaded from a check_postgresrc file will be overwritten by command-line options. All check_postgresrc files can be ignored by supplying a <code>--no-checkpostgresrc</code> argument.</p>
1511+
<p>In addition to command-line configurations, you can put any options inside of a file. The file <i>.check_postgresrc</i> in the current directory will be used if found. If not found, then the file <i>~/.check_postgresrc</i> will be used. Finally, the file <i>/etc/check_postgresrc</i> will be used if available. The format of the file is option = value, one per line. Any line starting with a &#39;#&#39; will be skipped. Any values loaded from a check_postgresrc file will be overwritten by command-line options. All check_postgresrc files can be ignored by supplying a <code>--no-checkpostgresrc</code> argument.</p>
15121512

15131513
<h1 id="ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</h1>
15141514

@@ -1565,22 +1565,32 @@ <h1 id="MAILING-LIST">MAILING LIST</h1>
15651565

15661566
<p>Three mailing lists are available. For discussions about the program, bug reports, feature requests, and commit notices, send email to check_postgres@bucardo.org</p>
15671567

1568-
<p>https://mail.endcrypt.com/mailman/listinfo/check_postgres</p>
1568+
<p><a href="https://mail.endcrypt.com/mailman/listinfo/check_postgres">https://mail.endcrypt.com/mailman/listinfo/check_postgres</a></p>
15691569

15701570
<p>A low-volume list for announcement of new versions and important notices is the &#39;check_postgres-announce&#39; list:</p>
15711571

1572-
<p>https://mail.endcrypt.com/mailman/listinfo/check_postgres-announce</p>
1572+
<p><a href="https://mail.endcrypt.com/mailman/listinfo/check_postgres-announce">https://mail.endcrypt.com/mailman/listinfo/check_postgres-announce</a></p>
15731573

15741574
<p>Source code changes (via git-commit) are sent to the &#39;check_postgres-commit&#39; list:</p>
15751575

1576-
<p>https://mail.endcrypt.com/mailman/listinfo/check_postgres-commit</p>
1576+
<p><a href="https://mail.endcrypt.com/mailman/listinfo/check_postgres-commit">https://mail.endcrypt.com/mailman/listinfo/check_postgres-commit</a></p>
15771577

15781578
<h1 id="HISTORY">HISTORY</h1>
15791579

15801580
<p>Items not specifically attributed are by GSM (Greg Sabino Mullane).</p>
15811581

15821582
<dl>
15831583

1584+
<dt id="Version-2.25.0-Released-February-3-2020"><b>Version 2.25.0</b> Released February 3, 2020</dt>
1585+
<dd>
1586+
1587+
<pre><code> Allow same_schema objects to be included or excluded with --object and --skipobject
1588+
(Greg Sabino Mullane)
1589+
1590+
Fix to allow mixing service names and other connection parameters for same_schema
1591+
(Greg Sabino Mullane)</code></pre>
1592+
1593+
</dd>
15841594
<dt id="Version-2.24.0-Released-May-30-2018"><b>Version 2.24.0</b> Released May 30, 2018</dt>
15851595
<dd>
15861596

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy