diff options
author | Greg Sabino Mullane | 2013-02-09 04:24:06 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2013-02-09 04:24:06 +0000 |
commit | 4261802d4b29468de01ba0bfb4ae78ef35c3c457 (patch) | |
tree | b4fcd20c88f3346443be246cf89e00f3f94e3565 | |
parent | 9b35523b9d8b5d3e38bc9d9b060c243738f7dd96 (diff) |
Bump year to 2013 and some minor HTML adjustments.
-rw-r--r-- | README | 4 | ||||
-rwxr-xr-x | check_postgres.pl | 2 | ||||
-rw-r--r-- | check_postgres.pl.html | 17 |
3 files changed, 14 insertions, 9 deletions
@@ -1,4 +1,4 @@ -check_postgres is Copyright (C) 2007-2012, Greg Sabino Mullane +check_postgres is Copyright (C) 2007-2013, Greg Sabino Mullane This is check_postgres, a monitoring tool for Postgres. @@ -76,7 +76,7 @@ https://mail.endcrypt.com/mailman/listinfo/check_postgres-commit COPYRIGHT: ---------- - Copyright (c) 2007-2012 Greg Sabino Mullane + Copyright (c) 2007-2013 Greg Sabino Mullane LICENSE INFORMATION: diff --git a/check_postgres.pl b/check_postgres.pl index fdd9236a1..e3b3a0cd0 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -10404,7 +10404,7 @@ Some example Nagios configuration settings using this script: =head1 LICENSE AND COPYRIGHT -Copyright (c) 2007-2012 Greg Sabino Mullane <[email protected]>. +Copyright (c) 2007-2013 Greg Sabino Mullane <[email protected]>. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/check_postgres.pl.html b/check_postgres.pl.html index fb2c82768..454ffe217 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -139,7 +139,7 @@ check_postgres_connection --db=pluto</pre> <pre> ## Warn if > 100 locks, critical if > 200, or > 20 exclusive - check_postgres_locks --warning=100 --critical="total=200;exclusive=20"</pre> + check_postgres_locks --warning=100 --critical="total=200:exclusive=20"</pre> <pre> ## Show the current number of idle connections on port 6543: check_postgres_txn_idle --port=6543 --output=simple</pre> @@ -405,7 +405,7 @@ one version of the PostgreSQL executables on your system, or if there are not in your path. Note that this option is in all uppercase. By default, this option is <em>not allowed</em>. To enable it, you must change the <code>$NO_PSQL_OPTION</code> near the top of the script to 0. Avoid using this option if you can, and instead use -environement variable c<PGBINDIR> or hard-coded <code>$PGBINDIR</code> variable, also near +environment variable c<PGBINDIR> or hard-coded <code>$PGBINDIR</code> variable, also near the top of the script, to set the path to the PostgreSQL to use.</p> </dd> <dt><strong><a name="psql_path" class="item"><strong>--PSQL=PATH</strong></a></strong></dt> @@ -887,7 +887,7 @@ maps to a file system: these can be included or excluded. See the <a href="#basic_filtering">BASIC FILTERING</a> section for more details.</p> <p>Example 1: Make sure that no file system is over 90% for the database on port 5432.</p> <pre> - check_postgres_disk_space --port=5432 --warning='90%' --critical="90%'</pre> + check_postgres_disk_space --port=5432 --warning='90%' --critical='90%'</pre> <p>Example 2: Check that all file systems starting with /dev/sda are smaller than 10 GB and 11 GB (warning and critical)</p> <pre> check_postgres_disk_space --port=5432 --warning='10 GB' --critical='11 GB' --include="~^/dev/sda"</pre> @@ -1074,13 +1074,13 @@ which represent the total number of locks, or they can be broken down by type of Valid lock names are <code>'total'</code>, <code>'waiting'</code>, or the name of a lock type used by Postgres. These names are case-insensitive and do not need the "lock" part on the end, so <strong>exclusive</strong> will match 'ExclusiveLock'. The format is name=number, with different -items separated by semicolons.</p> +items separated by colons or semicolons (or any other symbol).</p> <p>Example 1: Warn if the number of locks is 100 or more, and critical if 200 or more, on host garrett</p> <pre> check_postgres_locks --host=garrett --warning=100 --critical=200</pre> <p>Example 2: On the host artemus, warn if 200 or more locks exist, and give a critical if over 250 total locks exist, or if over 20 exclusive locks exist, or if over 5 connections are waiting for a lock.</p> <pre> - check_postgres_locks --host=artemus --warning=200 --critical="total=250;waiting=5;exclusive=20"</pre> + check_postgres_locks --host=artemus --warning=200 --critical="total=250:waiting=5:exclusive=20"</pre> <p>For MRTG output, returns the number of locks on the first line, and the name of the database on the fourth line.</p> <p> </p> @@ -1807,6 +1807,11 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr Allow txn_idle to work again for < 8.3 servers by switching to query_time.</pre> <pre> Cache sequence information to speed up same_schema runs.</pre> +<pre> + Adjust docs to show colon as a better separator inside args for locks + (Charles Sprickman)</pre> +<pre> + Fix undefined $SQL2 error in check_txn_idle [github issue 16] (Patric Bechtel)</pre> </dd> <dt><strong><a name="version_2_19_0_january_17_2012" class="item"><strong>Version 2.19.0</strong> January 17, 2012</a></strong></dt> @@ -2643,7 +2648,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr </p> <hr /> <h1><a name="license_and_copyright">LICENSE AND COPYRIGHT</a></h1> -<p>Copyright (c) 2007-2012 Greg Sabino Mullane <<a href="mailto:[email protected]">[email protected]</a>>.</p> +<p>Copyright (c) 2007-2013 Greg Sabino Mullane <<a href="mailto:[email protected]">[email protected]</a>>.</p> <p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p> <pre> |