diff options
author | Greg Sabino Mullane | 2009-08-27 17:05:46 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-08-27 17:05:46 +0000 |
commit | 6c416a229706948db4c4fac9175e4b92ba76b092 (patch) | |
tree | 20dfbd98d8e021d0f3e623aeb5286dab5d0a2f78 /check_postgres.pl.html | |
parent | a5d59393e5c00107962172ad7847aa0b7a4a8c95 (diff) |
Update docs.
Diffstat (limited to 'check_postgres.pl.html')
-rw-r--r-- | check_postgres.pl.html | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/check_postgres.pl.html b/check_postgres.pl.html index d30194ed7..ba54b1804 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -1017,6 +1017,8 @@ provide a <code>--verbose</code> argument, which will output one item per line.< to the <code>--warning</code> option. To exclude a type of object, use "noobjectnames". To exclude objects of a certain type by a regular expression against their name, use "noobjectname=regex". See the examples for a better understanding.</p> +<p>You may exclude all objects of a certain name by using the <code>exclude</code> option. It takes a Perl +regular expression as its argument.</p> <p>The types of objects that can be filtered are:</p> <dl> <dt><strong><a name="user" class="item">user</a></strong></dt> @@ -1046,13 +1048,16 @@ functions.</p> parameter ending in the number 2, such as "--dbport2=5543"</p> <p>Example 1: Verify that two databases on hosts star and line are the same:</p> <pre> - check_postgres_same_schema --dbhost=star --dbhost=line</pre> + check_postgres_same_schema --dbhost=star --dbhost2=line</pre> <p>Example 2: Same as before, but exclude any triggers with "slony" in their name</p> <pre> - check_postgres_same_schema --dbhost=star --dbhost=line --warning="notrigger=slony"</pre> -<p>Example 2: Same as before, but also exclude all indexes</p> + check_postgres_same_schema --dbhost=star --dbhost2=line --warning="notrigger=slony"</pre> +<p>Example 3: Same as before, but also exclude all indexes</p> <pre> - check_postgres_same_schema --dbhost=star --dbhost=line --warning="notrigger=slony noindexes"</pre> + check_postgres_same_schema --dbhost=star --dbhost2=line --warning="notrigger=slony noindexes"</pre> +<p>Example 3: Don't show anything starting with "pg_catalog"</p> +<pre> + check_postgres_same_schema --dbhost=star --dbhost2=line --exclude="^pg_catalog"</pre> <p> </p> <h2><a name="sequence"><strong>sequence</strong></a></h2> @@ -1423,6 +1428,16 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr <h1><a name="history">HISTORY</a></h1> <p>Items not specifically attributed are by Greg Sabino Mullane.</p> <dl> +<dt><strong><a name="version_2_11_1" class="item"><strong>Version 2.11.1</strong></a></strong></dt> + +<dd> +<pre> + Proper Nagios output for last_vacuum|analyze actions. (Cédric Villemain) + Proper Nagios output for locks action. (Cédric Villemain) + Proper Nagios output for txn_wraparound action. (Cédric Villemain) + Fix for constraints with embedded newlines for same_schema. + Allow --exclude for all items when using same_schema.</pre> +</dd> <dt><strong><a name="0" class="item"><strong>Version 2.11.0</strong> (August 23, 2009)</a></strong></dt> <dd> |