check_postgres.git
16 years agoAllow week and year in some time inputs.
Greg Sabino Mullane [Fri, 17 Apr 2009 21:34:25 +0000 (17:34 -0400)]
Allow week and year in some time inputs.

16 years agoAdd bad_fake_version() func back in.
Greg Sabino Mullane [Fri, 17 Apr 2009 14:23:13 +0000 (10:23 -0400)]
Add bad_fake_version() func back in.

16 years agoTesting tweaks.
Greg Sabino Mullane [Tue, 14 Apr 2009 17:47:26 +0000 (13:47 -0400)]
Testing tweaks.

16 years agoMerge branch 'master' of bucardo@lt2:htdocs/nagios_postgres
Greg Sabino Mullane [Tue, 14 Apr 2009 17:44:05 +0000 (13:44 -0400)]
Merge branch 'master' of bucardo@lt2:htdocs/nagios_postgres

16 years agoAdd two new tests for fsm_pages and fsm_relations.
Greg Sabino Mullane [Tue, 14 Apr 2009 03:28:54 +0000 (23:28 -0400)]
Add two new tests for fsm_pages and fsm_relations.
Minor tweak to version test, adjust CP_Testing.pm a little.

16 years agoRemove --schema entirely - use search_path instead.
Greg Sabino Mullane [Tue, 14 Apr 2009 02:55:38 +0000 (22:55 -0400)]
Remove --schema entirely - use search_path instead.

16 years agoMerge commit 'HEAD'; branch 'tests'
Selena Deckelmann [Mon, 13 Apr 2009 23:04:19 +0000 (16:04 -0700)]
Merge commit 'HEAD'; branch 'tests'

16 years agoAdding tests for connection, database_size
Selena Deckelmann [Fri, 10 Apr 2009 21:09:15 +0000 (14:09 -0700)]
Adding tests for connection, database_size

16 years agoFinally fix the space-in-directory issues - Jeff Boes.
Greg Sabino Mullane [Fri, 10 Apr 2009 16:30:48 +0000 (12:30 -0400)]
Finally fix the space-in-directory issues - Jeff Boes.

16 years agoNew 'listen' test from Jeff Boes.
Greg Sabino Mullane [Fri, 10 Apr 2009 16:14:44 +0000 (12:14 -0400)]
New 'listen' test from Jeff Boes.
Add new get_dbname method to CP_Testing.pm

16 years agoTypo
Greg Sabino Mullane [Fri, 10 Apr 2009 15:50:19 +0000 (11:50 -0400)]
Typo

16 years agoRevert bad quoting.
Greg Sabino Mullane [Thu, 9 Apr 2009 23:11:09 +0000 (19:11 -0400)]
Revert bad quoting.

16 years agoRefactored version.
Greg Sabino Mullane [Thu, 9 Apr 2009 23:07:13 +0000 (19:07 -0400)]
Refactored version.

16 years agoMore space stuff.
Greg Sabino Mullane [Thu, 9 Apr 2009 18:36:02 +0000 (14:36 -0400)]
More space stuff.

16 years agoAttempt to fix space quoting problems.
Greg Sabino Mullane [Thu, 9 Apr 2009 17:59:43 +0000 (13:59 -0400)]
Attempt to fix space quoting problems.

16 years agoFrench translations from Jean-Paul Argudo
Greg Sabino Mullane [Thu, 9 Apr 2009 14:53:27 +0000 (10:53 -0400)]
French translations from Jean-Paul Argudo
Minor refactoring and cleanup.

16 years agoTest for the sequence action.
Greg Sabino Mullane [Thu, 9 Apr 2009 03:17:58 +0000 (23:17 -0400)]
Test for the sequence action.

16 years agoAllow emptyok to actually work.
Greg Sabino Mullane [Thu, 9 Apr 2009 02:48:10 +0000 (22:48 -0400)]
Allow emptyok to actually work.

16 years agoUser version.rss file to get Postgres revision information, per suggestion from Guill...
Greg Sabino Mullane [Wed, 8 Apr 2009 18:08:05 +0000 (14:08 -0400)]
User version.rss file to get Postgres revision information, per suggestion from Guillaume Lelarge

16 years agoMake Perl::Critic happy.
Greg Sabino Mullane [Tue, 7 Apr 2009 23:08:18 +0000 (19:08 -0400)]
Make Perl::Critic happy.

16 years agoTwo cool new checks: new_version_cp and new_version_pg to check if you
Greg Sabino Mullane [Tue, 7 Apr 2009 22:35:37 +0000 (18:35 -0400)]
Two cool new checks: new_version_cp and new_version_pg to check if you
have the latest and greatest check_postgres.pl and that you are running
the latest revision of Postgres.

16 years agoAllow --dbservice to work on older versions (Cédric Villemain)
Greg Sabino Mullane [Tue, 7 Apr 2009 19:35:11 +0000 (15:35 -0400)]
Allow --dbservice to work on older versions (Cédric Villemain)

16 years agoPut in a common testing schema.
Greg Sabino Mullane [Tue, 7 Apr 2009 17:55:36 +0000 (13:55 -0400)]
Put in a common testing schema.
Allow fake functions as well.
Add wal_files test, clean up others with some refactoring.

16 years agoUpdate spellcheck info
Greg Sabino Mullane [Tue, 7 Apr 2009 17:50:36 +0000 (13:50 -0400)]
Update spellcheck info

16 years agoFix typos, mention pg_service.conf in same breath as .pgpass
Greg Sabino Mullane [Mon, 6 Apr 2009 03:18:57 +0000 (23:18 -0400)]
Fix typos, mention pg_service.conf in same breath as .pgpass

16 years agoFix up broken perf data in txn_wraparound, and make the ordering consisten by name...
Greg Sabino Mullane [Fri, 27 Mar 2009 15:18:01 +0000 (11:18 -0400)]
Fix up broken perf data in txn_wraparound, and make the ordering consisten by name (Cédric Villemain)
Rewrote the whole txn_wraparound bit, and fixed an incorrect regex (Greg)

16 years agoColon to equaly
Greg Sabino Mullane [Fri, 27 Mar 2009 14:12:32 +0000 (10:12 -0400)]
Colon to equaly

16 years agoAdd additional summary stats to dbstats output. Based on patch by Andras Fabian,...
Greg Sabino Mullane [Fri, 27 Mar 2009 03:00:22 +0000 (23:00 -0400)]
Add additional summary stats to dbstats output. Based on patch by Andras Fabian, with documentation added.

16 years agoChange colon to space in query_time perf output, per Cédric Villemain
Greg Sabino Mullane [Thu, 26 Mar 2009 20:27:52 +0000 (16:27 -0400)]
Change colon to space in query_time perf output, per Cédric Villemain

16 years agoDoc typo, caught by Cédriv Villemain.
Greg Sabino Mullane [Wed, 25 Mar 2009 13:46:41 +0000 (09:46 -0400)]
Doc typo, caught by Cédriv Villemain.

16 years agoUpdate docs.
Greg Sabino Mullane [Tue, 24 Mar 2009 16:20:14 +0000 (12:20 -0400)]
Update docs.

16 years agoAdd test for locks.
Greg Sabino Mullane [Tue, 24 Mar 2009 16:19:45 +0000 (12:19 -0400)]
Add test for locks.

16 years agoNote and credit recent changes.
Greg Sabino Mullane [Mon, 23 Mar 2009 22:23:21 +0000 (18:23 -0400)]
Note and credit recent changes.

16 years agoSet the stats to zero if we error out early due to USERWHERECLAUSE. Andras Fabian.
Greg Sabino Mullane [Mon, 23 Mar 2009 22:20:45 +0000 (18:20 -0400)]
Set the stats to zero if we error out early due to USERWHERECLAUSE. Andras Fabian.

16 years agoFix typo, add missing exabyte regex. Both found by Selena Deckelmann.
Greg Sabino Mullane [Mon, 23 Mar 2009 19:12:47 +0000 (15:12 -0400)]
Fix typo, add missing exabyte regex. Both found by Selena Deckelmann.
Tidy up the sizing docs section.

16 years agoNeed additional zero to support previous fix.
Greg Sabino Mullane [Fri, 13 Mar 2009 14:42:28 +0000 (10:42 -0400)]
Need additional zero to support previous fix.

16 years agoFix dbstats typo - thanks to Andras Fabian for finding this.
Greg Sabino Mullane [Thu, 12 Mar 2009 15:06:44 +0000 (11:06 -0400)]
Fix dbstats typo - thanks to Andras Fabian for finding this.

16 years agoMerge branch 'master' of bucardo@lt2:htdocs/nagios_postgres
Greg Sabino Mullane [Tue, 10 Mar 2009 01:49:42 +0000 (21:49 -0400)]
Merge branch 'master' of bucardo@lt2:htdocs/nagios_postgres

16 years agoTypo in docs, caught by Robert Treat.
Greg Sabino Mullane [Mon, 9 Mar 2009 21:22:17 +0000 (17:22 -0400)]
Typo in docs, caught by Robert Treat.

16 years agoFix typo (tnxtime != txntime)
Joshua Tolley [Mon, 9 Mar 2009 19:59:30 +0000 (13:59 -0600)]
Fix typo (tnxtime != txntime)

16 years agoRemove pg_catalog specifier.
Greg Sabino Mullane [Mon, 9 Mar 2009 16:50:21 +0000 (12:50 -0400)]
Remove pg_catalog specifier.

16 years agoTest for the 'version' action, plus some fixes revealed by same.
Greg Sabino Mullane [Fri, 27 Feb 2009 03:57:02 +0000 (22:57 -0500)]
Test for the 'version' action, plus some fixes revealed by same.

16 years agoAdd new test, rename and cleanup others.
Greg Sabino Mullane [Wed, 25 Feb 2009 22:13:19 +0000 (17:13 -0500)]
Add new test, rename and cleanup others.

16 years agoTweak checkpoint action, make crititcal or warning mandatory.
Greg Sabino Mullane [Wed, 25 Feb 2009 22:07:04 +0000 (17:07 -0500)]
Tweak checkpoint action, make crititcal or warning mandatory.

16 years agoShow the slave host when doing replicate_row.
Greg Sabino Mullane [Tue, 24 Feb 2009 18:19:27 +0000 (13:19 -0500)]
Show the slave host when doing replicate_row.

16 years agoNew test for replicate_row.
Greg Sabino Mullane [Tue, 24 Feb 2009 17:50:21 +0000 (12:50 -0500)]
New test for replicate_row.

16 years agoTweak MRTG things in replicate_row.
Greg Sabino Mullane [Tue, 24 Feb 2009 17:48:57 +0000 (12:48 -0500)]
Tweak MRTG things in replicate_row.

16 years agoBegin unit tests with "backend" action.
Greg Sabino Mullane [Tue, 24 Feb 2009 02:27:39 +0000 (21:27 -0500)]
Begin unit tests with "backend" action.

16 years agoChanges suggested by new unit test.
Greg Sabino Mullane [Tue, 24 Feb 2009 02:24:37 +0000 (21:24 -0500)]
Changes suggested by new unit test.

16 years agoTypo, caught by Cédric Villemain
Greg Sabino Mullane [Mon, 23 Feb 2009 12:31:40 +0000 (07:31 -0500)]
Typo, caught by Cédric Villemain

16 years agoAlways show all databases in the perf output, and order them, per suggestion by Cédri...
Greg Sabino Mullane [Sat, 21 Feb 2009 15:02:25 +0000 (10:02 -0500)]
Always show all databases in the perf output, and order them, per suggestion by Cédric Villemain

16 years agoComplete French translations by Guillaume Lelarge.
Greg Sabino Mullane [Sat, 21 Feb 2009 14:53:41 +0000 (09:53 -0500)]
Complete French translations by Guillaume Lelarge.

16 years agoTypo caught by Guillaume Lelarge
Greg Sabino Mullane [Sat, 21 Feb 2009 14:50:57 +0000 (09:50 -0500)]
Typo caught by Guillaume Lelarge

16 years agoFix missing arg problem in msg() calls. Remove debug line.
Greg Sabino Mullane [Fri, 20 Feb 2009 14:49:31 +0000 (09:49 -0500)]
Fix missing arg problem in msg() calls. Remove debug line.

16 years agoTweak the backend action per report by Guillaume Lelarge. Made a notice
Greg Sabino Mullane [Wed, 18 Feb 2009 18:00:35 +0000 (13:00 -0500)]
Tweak the backend action per report by Guillaume Lelarge. Made a notice
in the docs about inclusions.

16 years agoAll output that can be should now be localized.
Greg Sabino Mullane [Wed, 18 Feb 2009 17:27:34 +0000 (12:27 -0500)]
All output that can be should now be localized.

16 years agoMore French translations from Guillaume Lelarge
Greg Sabino Mullane [Tue, 17 Feb 2009 13:14:11 +0000 (08:14 -0500)]
More French translations from Guillaume Lelarge

16 years agoMore messages, alphabetasize the lot.
Greg Sabino Mullane [Tue, 17 Feb 2009 12:52:48 +0000 (07:52 -0500)]
More messages, alphabetasize the lot.

16 years agoCleanup/overhaul i18n, add many more messages.
Greg Sabino Mullane [Mon, 16 Feb 2009 20:48:09 +0000 (15:48 -0500)]
Cleanup/overhaul i18n, add many more messages.

16 years agoAdd utf8 pragma. Remove old T-XX messages. i18n bloat action.
Greg Sabino Mullane [Mon, 16 Feb 2009 14:49:45 +0000 (09:49 -0500)]
Add utf8 pragma. Remove old T-XX messages. i18n bloat action.

16 years agoThrow an exception when NO_PSQL_OPTION is off but --PSQL is used.
Greg Sabino Mullane [Mon, 16 Feb 2009 14:02:58 +0000 (09:02 -0500)]
Throw an exception when NO_PSQL_OPTION is off but --PSQL is used.

16 years agoFrench message strings by Guillaume Lelarge.
Greg Sabino Mullane [Mon, 16 Feb 2009 13:51:56 +0000 (08:51 -0500)]
French message strings by Guillaume Lelarge.

16 years agoBasic i18n support.
Greg Sabino Mullane [Sun, 15 Feb 2009 22:36:16 +0000 (17:36 -0500)]
Basic i18n support.

16 years agoAdd disabled_triggers check.
Greg Sabino Mullane [Sun, 15 Feb 2009 16:16:35 +0000 (11:16 -0500)]
Add disabled_triggers check.
Redo multi-version run_command() bit.

16 years agoReady for release of version 2.7.3
Greg Sabino Mullane [Tue, 10 Feb 2009 20:15:06 +0000 (15:15 -0500)]
Ready for release of version 2.7.3

16 years agoAdd support for int2 in sequence checking, prevent wraparound for 'calls left'
Greg Sabino Mullane [Tue, 10 Feb 2009 20:12:54 +0000 (15:12 -0500)]
Add support for int2 in sequence checking, prevent wraparound for 'calls left'

16 years agoPatch from Michael Glaesemann for better sequence checking by looking at how
Greg Sabino Mullane [Tue, 10 Feb 2009 20:10:57 +0000 (15:10 -0500)]
Patch from Michael Glaesemann for better sequence checking by looking at how
it used by columns calling nextval.

16 years agoBump to 2.7.2 to fix bug found by Cédric Villemain
Greg Sabino Mullane [Mon, 9 Feb 2009 16:34:04 +0000 (11:34 -0500)]
Bump to 2.7.2 to fix bug found by Cédric Villemain

16 years agoBetter logic at finding groups of connections.
Greg Sabino Mullane [Mon, 9 Feb 2009 16:28:53 +0000 (11:28 -0500)]
Better logic at finding groups of connections.

16 years agoBump version, minor whitespace fixes.
Greg Sabino Mullane [Fri, 6 Feb 2009 13:45:56 +0000 (08:45 -0500)]
Bump version, minor whitespace fixes.

16 years agoAllow -p for port again.
Greg Sabino Mullane [Fri, 6 Feb 2009 13:35:56 +0000 (08:35 -0500)]
Allow -p for port again.

16 years agoReady for release
Greg Sabino Mullane [Wed, 4 Feb 2009 17:38:26 +0000 (12:38 -0500)]
Ready for release

16 years agoVersion bump, update docs.
Greg Sabino Mullane [Wed, 4 Feb 2009 17:36:42 +0000 (12:36 -0500)]
Version bump, update docs.

16 years agoDo not force a connection arg: do our best to connect, and use
Greg Sabino Mullane [Wed, 4 Feb 2009 17:35:04 +0000 (12:35 -0500)]
Do not force a connection arg: do our best to connect, and use
PGHOST, PGPORT, PGUSER, and PGDATABASE as defaults.

16 years agoRemove spurious 's'.
Joshua Tolley [Wed, 4 Feb 2009 17:03:34 +0000 (10:03 -0700)]
Remove spurious 's'.

16 years agoBe clear about our GREATEST hack.
Greg Sabino Mullane [Wed, 4 Feb 2009 16:46:33 +0000 (11:46 -0500)]
Be clear about our GREATEST hack.

16 years agoNew version ready.
Greg Sabino Mullane [Wed, 4 Feb 2009 16:40:19 +0000 (11:40 -0500)]
New version ready.

16 years agoDoc part two
Greg Sabino Mullane [Wed, 4 Feb 2009 16:39:49 +0000 (11:39 -0500)]
Doc part two

16 years agoLose the stupid 'smart' quotes created by pod2html
Greg Sabino Mullane [Wed, 4 Feb 2009 16:39:24 +0000 (11:39 -0500)]
Lose the stupid 'smart' quotes created by pod2html

16 years agoDocs, first pass
Greg Sabino Mullane [Wed, 4 Feb 2009 16:17:59 +0000 (11:17 -0500)]
Docs, first pass

16 years agoDoc need for Date::Parse, bump version
Greg Sabino Mullane [Wed, 4 Feb 2009 16:16:22 +0000 (11:16 -0500)]
Doc need for Date::Parse, bump version

16 years agoQuick fix to remove the 'use' of Data::Parse for the whole script.
Greg Sabino Mullane [Wed, 4 Feb 2009 15:41:53 +0000 (10:41 -0500)]
Quick fix to remove the 'use' of Data::Parse for the whole script.

16 years agoTypo
Greg Sabino Mullane [Tue, 3 Feb 2009 16:49:52 +0000 (11:49 -0500)]
Typo

16 years agoBe clear about role of checkpoint action.
Greg Sabino Mullane [Mon, 2 Feb 2009 15:41:39 +0000 (10:41 -0500)]
Be clear about role of checkpoint action.

16 years agoUpdate version.
Greg Sabino Mullane [Mon, 26 Jan 2009 17:05:13 +0000 (12:05 -0500)]
Update version.

16 years agoAdd 'checkpoint' action.
Greg Sabino Mullane [Sun, 25 Jan 2009 20:42:30 +0000 (15:42 -0500)]
Add 'checkpoint' action.

16 years agoDon't show service= unless there is something there
Greg Sabino Mullane [Sun, 25 Jan 2009 15:20:42 +0000 (10:20 -0500)]
Don't show service= unless there is something there

16 years agoBump version and release.
Greg Sabino Mullane [Wed, 7 Jan 2009 15:22:55 +0000 (10:22 -0500)]
Bump version and release.

16 years agoFix doc typos (Josh Tolley)
Greg Sabino Mullane [Wed, 7 Jan 2009 15:18:24 +0000 (10:18 -0500)]
Fix doc typos (Josh Tolley)

16 years agoOff by one error, fix by Selena Deckelmann
Greg Sabino Mullane [Wed, 7 Jan 2009 15:15:02 +0000 (10:15 -0500)]
Off by one error, fix by Selena Deckelmann

16 years agoMinor tweak, thanks to Cédric Villemain
Greg Sabino Mullane [Wed, 7 Jan 2009 15:11:02 +0000 (10:11 -0500)]
Minor tweak, thanks to Cédric Villemain

16 years agoVersion 2.5.3: small regex fix in verify_version (Lee Jensen via Jeff Frost)
Greg Sabino Mullane [Wed, 17 Dec 2008 18:29:45 +0000 (13:29 -0500)]
Version 2.5.3: small regex fix in verify_version (Lee Jensen via Jeff Frost)

16 years agoBump version
Greg Sabino Mullane [Wed, 17 Dec 2008 02:59:38 +0000 (21:59 -0500)]
Bump version

16 years agoNote superuser requirement
Greg Sabino Mullane [Tue, 16 Dec 2008 21:19:35 +0000 (16:19 -0500)]
Note superuser requirement

16 years agoMove default user and port higher up in the file.
Greg Sabino Mullane [Fri, 12 Dec 2008 17:04:27 +0000 (12:04 -0500)]
Move default user and port higher up in the file.

16 years agoFinal sig for release.
Greg Sabino Mullane [Thu, 11 Dec 2008 23:23:47 +0000 (18:23 -0500)]
Final sig for release.

16 years agoAdd missing dates from releases.
Greg Sabino Mullane [Thu, 11 Dec 2008 23:23:31 +0000 (18:23 -0500)]
Add missing dates from releases.

16 years agoAdd --noidle flag (Selena Deckelmann)
Greg Sabino Mullane [Thu, 11 Dec 2008 23:17:19 +0000 (18:17 -0500)]
Add --noidle flag (Selena Deckelmann)
Bump version to 2.5.1

16 years agoAdd support for pg_service.conf, major version bump.
Greg Sabino Mullane [Thu, 4 Dec 2008 17:15:25 +0000 (12:15 -0500)]
Add support for pg_service.conf, major version bump.

16 years agoBump version to 2.4.3
Greg Sabino Mullane [Fri, 7 Nov 2008 14:04:16 +0000 (09:04 -0500)]
Bump version to 2.4.3