check_postgres.git
14 years agoShow an "s" for perf output per Nagios guidelines.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:54:43 +0000 (12:54 -0500)]
Show an "s" for perf output per Nagios guidelines.

14 years agoMove the archive_ready sub up
Greg Sabino Mullane [Thu, 3 Feb 2011 17:48:13 +0000 (12:48 -0500)]
Move the archive_ready sub up

14 years agoBump vesion to 2.18.0, not recent changes
Greg Sabino Mullane [Thu, 3 Feb 2011 17:46:21 +0000 (12:46 -0500)]
Bump vesion to 2.18.0, not recent changes

14 years agoConsolidate txn_idle, txn_time, and query_time, with major cleanup.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:38:02 +0000 (12:38 -0500)]
Consolidate txn_idle, txn_time, and query_time, with major cleanup.
Add vv argument as shorthand for "very verbose"

14 years agoCleanup of txn_idle
Greg Sabino Mullane [Thu, 3 Feb 2011 16:32:29 +0000 (11:32 -0500)]
Cleanup of txn_idle

14 years agoShow information about the top offender for the txn_idle action.
Greg Sabino Mullane [Thu, 3 Feb 2011 16:11:12 +0000 (11:11 -0500)]
Show information about the top offender for the txn_idle action.
Clean up the tests.

14 years agoSpelling police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:59:03 +0000 (00:59 -0500)]
Spelling police.

14 years agoCuddle police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:58:03 +0000 (00:58 -0500)]
Cuddle police.

14 years agoReturn empty, not undef, for "ccount"
Greg Sabino Mullane [Thu, 3 Feb 2011 05:54:28 +0000 (00:54 -0500)]
Return empty, not undef, for "ccount"

14 years agoBump version and redo html docs.
Greg Sabino Mullane [Wed, 2 Feb 2011 22:35:13 +0000 (17:35 -0500)]
Bump version and redo html docs.

14 years agoAdd credit and bug numbers, bump version.
Greg Sabino Mullane [Wed, 2 Feb 2011 22:33:47 +0000 (17:33 -0500)]
Add credit and bug numbers, bump version.

14 years agoSupport non-standard version strings in the bloat check.
Michel Sijmons [Wed, 2 Feb 2011 22:30:01 +0000 (17:30 -0500)]
Support non-standard version strings in the bloat check.
With help from Gurjeet Singh

14 years agoSet maxliagn to 8 in the bloat check if box identified as '64-bit'
Michel Sijmons [Wed, 2 Feb 2011 22:27:22 +0000 (17:27 -0500)]
Set maxliagn to 8 in the bloat check if box identified as '64-bit'

14 years agoTypo.
Greg Sabino Mullane [Tue, 25 Jan 2011 23:49:35 +0000 (18:49 -0500)]
Typo.

14 years agoTypo.
Greg Sabino Mullane [Tue, 25 Jan 2011 23:45:55 +0000 (18:45 -0500)]
Typo.

14 years agoMake new_version_cp test work correctly for dot-zero revisions.
Greg Sabino Mullane [Tue, 25 Jan 2011 05:18:10 +0000 (00:18 -0500)]
Make new_version_cp test work correctly for dot-zero revisions.

14 years agoIn message string, $ should be $1
Greg Sabino Mullane [Tue, 25 Jan 2011 05:12:39 +0000 (00:12 -0500)]
In message string, $ should be $1

14 years agoThe wal_files check must take a positive integer, not just any ol' integer.
Greg Sabino Mullane [Tue, 25 Jan 2011 04:48:12 +0000 (23:48 -0500)]
The wal_files check must take a positive integer, not just any ol' integer.

14 years agoDuh
Greg Sabino Mullane [Tue, 25 Jan 2011 02:35:29 +0000 (21:35 -0500)]
Duh

14 years agoAllow check_txn_idle to accept multiple arguments, in "$int for $time" format.
David E. Wheeler [Tue, 25 Jan 2011 02:06:58 +0000 (21:06 -0500)]
Allow check_txn_idle to accept multiple arguments, in "$int for $time" format.
Add validate_integer_for_time() function.
Tests for the above.

14 years agoHave percent option check strip out the % char, for ease in future comparisons.
Greg Sabino Mullane [Mon, 24 Jan 2011 20:53:32 +0000 (15:53 -0500)]
Have percent option check strip out the % char, for ease in future comparisons.

14 years agoSpelling tweaks.
Greg Sabino Mullane [Mon, 24 Jan 2011 18:40:25 +0000 (13:40 -0500)]
Spelling tweaks.

14 years agoBump version to 2.17.0, not recent commit in changes.
Greg Sabino Mullane [Mon, 24 Jan 2011 17:37:44 +0000 (12:37 -0500)]
Bump version to 2.17.0, not recent commit in changes.

14 years agoDon't force percentage args to an int.
Greg Sabino Mullane [Mon, 24 Jan 2011 17:35:49 +0000 (12:35 -0500)]
Don't force percentage args to an int.

14 years agoAdd support for "and" and "or" to the critical/warnings options, with tests.
David E. Wheeler [Mon, 24 Jan 2011 17:34:37 +0000 (12:34 -0500)]
Add support for "and" and "or" to the critical/warnings options, with tests.

14 years agoMinor typos
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:39 +0000 (22:13 -0500)]
Minor typos

14 years agoNew signature
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:15 +0000 (22:13 -0500)]
New signature

14 years agoNew signature
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:04 +0000 (22:13 -0500)]
New signature

14 years agoNote need for Makefile.PL rebuild after changing version number. 2.16.0
Greg Sabino Mullane [Fri, 21 Jan 2011 04:39:18 +0000 (23:39 -0500)]
Note need for Makefile.PL rebuild after changing version number.

14 years agoSet release date.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:38:24 +0000 (23:38 -0500)]
Set release date.

14 years agoSymlink for local testing ease.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:36:47 +0000 (23:36 -0500)]
Symlink for local testing ease.

14 years agoTesting fixes.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:35:42 +0000 (23:35 -0500)]
Testing fixes.

14 years agoTypo.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:03:15 +0000 (23:03 -0500)]
Typo.

14 years agoLoosen regex in test.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:02:41 +0000 (23:02 -0500)]
Loosen regex in test.

14 years agoMinor translation string cleanups.
Greg Sabino Mullane [Thu, 20 Jan 2011 22:08:26 +0000 (17:08 -0500)]
Minor translation string cleanups.

14 years agoCredit last change.
Greg Sabino Mullane [Thu, 20 Jan 2011 22:01:56 +0000 (17:01 -0500)]
Credit last change.

14 years agoDo not use tgisconstraint in Postgres 9.0+
Guillaume Lelarge [Thu, 20 Jan 2011 22:00:06 +0000 (17:00 -0500)]
Do not use tgisconstraint in Postgres 9.0+

14 years agoFrench transalations.
Guillaume Lelarge [Tue, 18 Jan 2011 04:08:29 +0000 (23:08 -0500)]
French transalations.

14 years agoRemove tab that snuck in.
Greg Sabino Mullane [Fri, 14 Jan 2011 01:22:34 +0000 (20:22 -0500)]
Remove tab that snuck in.

14 years agoAllow /usr/local/etc as an alternative location for the check_postgresrc file (Hywel...
Greg Sabino Mullane [Fri, 14 Jan 2011 01:22:07 +0000 (20:22 -0500)]
Allow /usr/local/etc as an alternative location for the check_postgresrc file (Hywel Mallett)

14 years agoBetter checks for the bloat check.
Greg Sabino Mullane [Fri, 14 Jan 2011 01:09:46 +0000 (20:09 -0500)]
Better checks for the bloat check.

14 years agoFix problem with going to next method for new_version_pg (bug #65)
Greg Sabino Mullane [Fri, 14 Jan 2011 01:07:44 +0000 (20:07 -0500)]
Fix problem with going to next method for new_version_pg (bug #65)

14 years agoMinor P::C inspired things.
Greg Sabino Mullane [Tue, 11 Jan 2011 04:35:13 +0000 (23:35 -0500)]
Minor P::C inspired things.

14 years agoSpelling fixes.
Greg Sabino Mullane [Sat, 8 Jan 2011 03:38:36 +0000 (22:38 -0500)]
Spelling fixes.

14 years agoAdd French translation placeholders.
Greg Sabino Mullane [Sat, 8 Jan 2011 03:32:19 +0000 (22:32 -0500)]
Add French translation placeholders.

14 years agoMerge branch 'master' of [email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Sat, 8 Jan 2011 03:13:25 +0000 (22:13 -0500)]
Merge branch 'master' of [email protected]:/var/lib/git/check_postgres

14 years agoUpdate docs, bump version to 2.16.0
Greg Sabino Mullane [Sat, 8 Jan 2011 03:13:02 +0000 (22:13 -0500)]
Update docs, bump version to 2.16.0

14 years agoNew action 'hot_standby_delay' from a very, very slightly modified patch from Nicolas...
Greg Sabino Mullane [Sat, 8 Jan 2011 03:08:21 +0000 (22:08 -0500)]
New action 'hot_standby_delay' from a very, very slightly modified patch from Nicolas Thauvin

14 years agoAdd comment clarifying the value measured by the 'checkpoint' action
David Christensen [Fri, 7 Jan 2011 05:25:27 +0000 (23:25 -0600)]
Add comment clarifying the value measured by the 'checkpoint' action

14 years agoAdd cache-busting for the version-grabbing utilities.
Greg Sabino Mullane [Tue, 4 Jan 2011 15:53:11 +0000 (10:53 -0500)]
Add cache-busting for the version-grabbing utilities.
Move the non-cache-busting methods to lower priorities.
Per mailing list post from Aleksey Tsaloli

14 years agoAdd release date for 2.15.4 and redo signatures. 2.15.4
Greg Sabino Mullane [Mon, 3 Jan 2011 19:08:32 +0000 (14:08 -0500)]
Add release date for 2.15.4 and redo signatures.

14 years agoSignatures for 2.15.4
Greg Sabino Mullane [Mon, 3 Jan 2011 19:07:22 +0000 (14:07 -0500)]
Signatures for 2.15.4

14 years agoFixes for custom_query.
Greg Sabino Mullane [Mon, 3 Jan 2011 19:04:30 +0000 (14:04 -0500)]
Fixes for custom_query.

14 years agoBetter parsing of output for corner cases.
Greg Sabino Mullane [Mon, 3 Jan 2011 18:10:26 +0000 (13:10 -0500)]
Better parsing of output for corner cases.

14 years agoTranslations cleanup.
Greg Sabino Mullane [Mon, 3 Jan 2011 18:07:52 +0000 (13:07 -0500)]
Translations cleanup.

14 years agoAdd test check for listener: no greater than version 8.4.
Greg Sabino Mullane [Mon, 3 Jan 2011 17:58:19 +0000 (12:58 -0500)]
Add test check for listener: no greater than version 8.4.
Clean up the test section a bit.

14 years agoCannot test listener action of postgres 9.0 and up
Greg Sabino Mullane [Mon, 3 Jan 2011 17:46:50 +0000 (12:46 -0500)]
Cannot test listener action of postgres 9.0 and up

14 years agoFix for fsm_relations tests.
Greg Sabino Mullane [Mon, 3 Jan 2011 17:45:00 +0000 (12:45 -0500)]
Fix for fsm_relations tests.

14 years agoFix fsm_pages tests.
Greg Sabino Mullane [Mon, 3 Jan 2011 17:43:13 +0000 (12:43 -0500)]
Fix fsm_pages tests.

14 years agoMinor test tweaks.
Greg Sabino Mullane [Mon, 3 Jan 2011 17:30:31 +0000 (12:30 -0500)]
Minor test tweaks.

14 years agoBetter wording from Hywel Mallett
Greg Sabino Mullane [Mon, 3 Jan 2011 17:12:21 +0000 (12:12 -0500)]
Better wording from Hywel Mallett

14 years agoBetter spell checking of POD, cleanup some existing misspellings.
Greg Sabino Mullane [Mon, 3 Jan 2011 17:09:31 +0000 (12:09 -0500)]
Better spell checking of POD, cleanup some existing misspellings.

14 years agoMisspelling per bug #64
Greg Sabino Mullane [Mon, 3 Jan 2011 16:47:59 +0000 (11:47 -0500)]
Misspelling per bug #64

14 years agoBump copyright to 2011
Greg Sabino Mullane [Mon, 3 Jan 2011 16:43:50 +0000 (11:43 -0500)]
Bump copyright to 2011

14 years agoBump version to 2.15.4
Greg Sabino Mullane [Mon, 3 Jan 2011 16:41:26 +0000 (11:41 -0500)]
Bump version to 2.15.4

14 years agoSig for 2.15.3
Greg Sabino Mullane [Mon, 3 Jan 2011 16:41:20 +0000 (11:41 -0500)]
Sig for 2.15.3

14 years agoFix warning when using symlinks
Greg Sabino Mullane [Mon, 3 Jan 2011 16:40:07 +0000 (11:40 -0500)]
Fix warning when using symlinks
(Greg Sabino Mullane, reported by Peter Eisentraut in bug #63)

14 years agoMake txn_idle show OK if none found. 2.15.3
Greg Sabino Mullane [Thu, 30 Dec 2010 18:17:32 +0000 (13:17 -0500)]
Make txn_idle show OK if none found.

14 years agoSignatures for 2.15.2 2.15.2
Greg Sabino Mullane [Tue, 28 Dec 2010 22:08:48 +0000 (17:08 -0500)]
Signatures for 2.15.2

14 years agoMore tweaks to bloat display.
Greg Sabino Mullane [Tue, 28 Dec 2010 22:07:32 +0000 (17:07 -0500)]
More tweaks to bloat display.

14 years agoMove archive_command docs around.
Greg Sabino Mullane [Tue, 28 Dec 2010 15:46:31 +0000 (10:46 -0500)]
Move archive_command docs around.

14 years agoVersion 2.15.2 prep
Greg Sabino Mullane [Tue, 28 Dec 2010 01:13:58 +0000 (20:13 -0500)]
Version 2.15.2 prep

14 years agoBetter perf output for bloat action.
Greg Sabino Mullane [Tue, 28 Dec 2010 01:12:30 +0000 (20:12 -0500)]
Better perf output for bloat action.

14 years agoAdd release dates.
Greg Sabino Mullane [Tue, 28 Dec 2010 01:10:57 +0000 (20:10 -0500)]
Add release dates.

14 years agoBetter formatting of sizes in "bloat" action. 2.15.0
Greg Sabino Mullane [Mon, 27 Dec 2010 23:33:35 +0000 (18:33 -0500)]
Better formatting of sizes in "bloat" action.

14 years agoNew signatures for 2.15.1 (spelling errors)
Greg Sabino Mullane [Mon, 27 Dec 2010 18:12:06 +0000 (13:12 -0500)]
New signatures for 2.15.1 (spelling errors)

14 years agoExplicit sub name
Greg Sabino Mullane [Mon, 27 Dec 2010 18:09:11 +0000 (13:09 -0500)]
Explicit sub name

14 years agoSpelling fixes.
Greg Sabino Mullane [Mon, 27 Dec 2010 18:07:10 +0000 (13:07 -0500)]
Spelling fixes.

14 years agoSignatures for version 2.15.1
Greg Sabino Mullane [Mon, 27 Dec 2010 17:51:40 +0000 (12:51 -0500)]
Signatures for version 2.15.1

14 years agoFix order of documentation per bug #60. 2.15.1
Greg Sabino Mullane [Mon, 27 Dec 2010 17:41:17 +0000 (12:41 -0500)]
Fix order of documentation per bug #60.
Add a new test to check on internal documentation.

14 years agoFor connection test, return critical, not unknown, on FATAL errors
Greg Sabino Mullane [Mon, 27 Dec 2010 17:04:47 +0000 (12:04 -0500)]
For connection test, return critical, not unknown, on FATAL errors

14 years agoBump version to 2.15.1
Greg Sabino Mullane [Mon, 27 Dec 2010 16:44:14 +0000 (11:44 -0500)]
Bump version to 2.15.1

14 years agoFixed problem when examining items in pg_settings.
Greg Sabino Mullane [Mon, 27 Dec 2010 16:43:09 +0000 (11:43 -0500)]
Fixed problem when examining items in pg_settings.

14 years agoAdd --quiet argument.
Greg Sabino Mullane [Mon, 8 Nov 2010 18:00:10 +0000 (13:00 -0500)]
Add --quiet argument.

14 years agoMerge branch 'master' of [email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Fri, 15 Oct 2010 16:21:51 +0000 (12:21 -0400)]
Merge branch 'master' of [email protected]:/var/lib/git/check_postgres

14 years agoHandle %y in logfilename template.
Greg Sabino Mullane [Fri, 15 Oct 2010 16:21:30 +0000 (12:21 -0400)]
Handle %y in logfilename template.

14 years agoMinor docs fix
Joshua Tolley [Wed, 29 Sep 2010 17:27:20 +0000 (11:27 -0600)]
Minor docs fix

14 years agoMerge branch 'master' of [email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Tue, 14 Sep 2010 15:42:49 +0000 (11:42 -0400)]
Merge branch 'master' of [email protected]:/var/lib/git/check_postgres

14 years agoNote latest change.
Greg Sabino Mullane [Tue, 14 Sep 2010 15:42:32 +0000 (11:42 -0400)]
Note latest change.

14 years agoEdit docs to match other actions better
Joshua Tolley [Mon, 30 Aug 2010 16:26:35 +0000 (10:26 -0600)]
Edit docs to match other actions better

14 years agoFix typo
Joshua Tolley [Mon, 30 Aug 2010 14:54:00 +0000 (08:54 -0600)]
Fix typo

14 years agoAdd docs for new pgb_ checks
Joshua Tolley [Mon, 30 Aug 2010 14:41:31 +0000 (08:41 -0600)]
Add docs for new pgb_ checks

14 years agoFix txn_time to work properly given psql with -x
Joshua Tolley [Mon, 30 Aug 2010 14:04:40 +0000 (08:04 -0600)]
Fix txn_time to work properly given psql with -x

14 years agoAdd several checks for pgbouncer pool statistics
Joshua Tolley [Fri, 27 Aug 2010 20:05:51 +0000 (14:05 -0600)]
Add several checks for pgbouncer pool statistics

14 years agoNew action to check on the number of archive files in "ready" status
Jehan-Guillaume (ioguix) de Rorthais [Wed, 11 Aug 2010 18:10:39 +0000 (14:10 -0400)]
New action to check on the number of archive files in "ready" status

14 years agoUpdate Changes
Greg Sabino Mullane [Wed, 11 Aug 2010 17:56:26 +0000 (13:56 -0400)]
Update Changes

14 years agoSeparate perfdata with spaces, per spec.
Jehan-Guillaume (ioguix) de Rorthais [Wed, 11 Aug 2010 17:55:27 +0000 (13:55 -0400)]
Separate perfdata with spaces, per spec.

14 years agoAdd correct name.
Greg Sabino Mullane [Tue, 20 Jul 2010 15:04:40 +0000 (11:04 -0400)]
Add correct name.

14 years agoFix the regex that matches psql/edb-psql
Sivakumar.K [Tue, 20 Jul 2010 15:03:35 +0000 (11:03 -0400)]
Fix the regex that matches psql/edb-psql

14 years agoAdd new check: new_version_tnm
Greg Sabino Mullane [Mon, 19 Jul 2010 20:14:09 +0000 (16:14 -0400)]
Add new check: new_version_tnm
Checks if a newer version of tail_n_mail is available.
Refactored all the new_version_* subs into a common routine.
Fixed up the related tests.