check_postgres.git
16 years agoTypo.
Greg Sabino Mullane [Fri, 24 Apr 2009 18:26:01 +0000 (14:26 -0400)]
Typo.

16 years agoRemove for test
Greg Sabino Mullane [Fri, 24 Apr 2009 16:19:58 +0000 (12:19 -0400)]
Remove for test

16 years agoRemove unneeded call.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:16:21 +0000 (12:16 -0400)]
Remove unneeded call.

16 years agoMinor Perl::Critic inspired change (plus another git push test)
Greg Sabino Mullane [Fri, 24 Apr 2009 16:11:51 +0000 (12:11 -0400)]
Minor Perl::Critic inspired change (plus another git push test)

16 years agogit push testing.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:08:04 +0000 (12:08 -0400)]
git push testing.

16 years agoUpdate.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:06:49 +0000 (12:06 -0400)]
Update.

16 years agoUpdates.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:53:27 +0000 (11:53 -0400)]
Updates.

16 years agoMerge branch 'master' of greg@lt2:/home/bucardo/htdocs/check_postgres
Greg Sabino Mullane [Fri, 24 Apr 2009 15:52:59 +0000 (11:52 -0400)]
Merge branch 'master' of greg@lt2:/home/bucardo/htdocs/check_postgres

16 years agoTest or the 'bloat' action.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:52:38 +0000 (11:52 -0400)]
Test or the 'bloat' action.

16 years agoFix size_to_bytes typo, adjust POD.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:50:05 +0000 (11:50 -0400)]
Fix size_to_bytes typo, adjust POD.

16 years agoTests for settings_checksum
Jeff Boes [Fri, 24 Apr 2009 15:20:42 +0000 (11:20 -0400)]
Tests for settings_checksum

16 years agoTranslation fixes by Guillaume Lelarge
Greg Sabino Mullane [Fri, 24 Apr 2009 11:27:19 +0000 (07:27 -0400)]
Translation fixes by Guillaume Lelarge

16 years agoAdd MRTG tests, plan
Jeff Boes [Thu, 23 Apr 2009 20:56:37 +0000 (16:56 -0400)]
Add MRTG tests, plan

16 years agoInitial cut, 'disabled_triggers' tests
Jeff Boes [Thu, 23 Apr 2009 20:37:58 +0000 (16:37 -0400)]
Initial cut, 'disabled_triggers' tests

16 years agoAnother translation from Guillaume Lelarge
Greg Sabino Mullane [Thu, 23 Apr 2009 21:37:56 +0000 (17:37 -0400)]
Another translation from Guillaume Lelarge

16 years agoTest or new_version_cp
Greg Sabino Mullane [Thu, 23 Apr 2009 20:17:51 +0000 (16:17 -0400)]
Test or new_version_cp

16 years agoHandle "meta" commands differently.
Greg Sabino Mullane [Thu, 23 Apr 2009 20:17:27 +0000 (16:17 -0400)]
Handle "meta" commands differently.

16 years agoFunky version modification mojo.
Greg Sabino Mullane [Thu, 23 Apr 2009 20:16:48 +0000 (16:16 -0400)]
Funky version modification mojo.

16 years agoMinor fixes.
Greg Sabino Mullane [Thu, 23 Apr 2009 19:34:39 +0000 (15:34 -0400)]
Minor fixes.

16 years agoFixed for new_version_pg, plus a test for it.
Greg Sabino Mullane [Thu, 23 Apr 2009 19:30:34 +0000 (15:30 -0400)]
Fixed for new_version_pg, plus a test for it.

16 years agoRemove all tables, so other test tables don't interfere.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:52:37 +0000 (13:52 -0400)]
Remove all tables, so other test tables don't interfere.

16 years agoRe-apply Jeff's patch, got removed somehow.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:44:45 +0000 (13:44 -0400)]
Re-apply Jeff's patch, got removed somehow.

16 years agoWe don't need this diag. Testers should be patient. :)
Greg Sabino Mullane [Thu, 23 Apr 2009 17:40:39 +0000 (13:40 -0400)]
We don't need this diag. Testers should be patient. :)

16 years agoGlobal vacuum in case brand new cluster.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:37:49 +0000 (13:37 -0400)]
Global vacuum in case brand new cluster.

16 years agoANALYZE first, in case this is a brand new cluster for this test.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:35:42 +0000 (13:35 -0400)]
ANALYZE first, in case this is a brand new cluster for this test.

16 years agoShut down test database when done.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:34:26 +0000 (13:34 -0400)]
Shut down test database when done.

16 years agoAdd a test to ensure test coverage of all actions.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:24:48 +0000 (13:24 -0400)]
Add a test to ensure test coverage of all actions.
Rename walfiles.t to wal_files.t

16 years agoMore things to ignore
Greg Sabino Mullane [Thu, 23 Apr 2009 16:54:43 +0000 (12:54 -0400)]
More things to ignore

16 years agoTest of the relation_size, table_size, and index_size actions.
Jeff Boes [Thu, 23 Apr 2009 16:48:30 +0000 (12:48 -0400)]
Test of the relation_size, table_size, and index_size actions.

16 years agoMore tests.
Jeff Boes [Wed, 22 Apr 2009 21:39:06 +0000 (17:39 -0400)]
More tests.

16 years agoTypo.
Jeff Boes [Wed, 22 Apr 2009 21:37:47 +0000 (17:37 -0400)]
Typo.

16 years agoFix wording.
Greg Sabino Mullane [Wed, 22 Apr 2009 21:04:38 +0000 (17:04 -0400)]
Fix wording.

16 years agoClean up prepared_txns action and make a test for it.
Greg Sabino Mullane [Wed, 22 Apr 2009 21:04:16 +0000 (17:04 -0400)]
Clean up prepared_txns action and make a test for it.

16 years agoTests for last_analye and last_vacuum, but Jeff Boes, with minor modifications by...
Greg Sabino Mullane [Wed, 22 Apr 2009 20:34:06 +0000 (16:34 -0400)]
Tests for last_analye and last_vacuum, but Jeff Boes, with minor modifications by Greg.

16 years agoUe self->{dbname} if available.
Greg Sabino Mullane [Wed, 22 Apr 2009 20:33:04 +0000 (16:33 -0400)]
Ue self->{dbname} if available.

16 years agoWording change for new prepare_txns action.
Greg Sabino Mullane [Wed, 22 Apr 2009 20:22:26 +0000 (16:22 -0400)]
Wording change for new prepare_txns action.

16 years agoAdd prepared_txns check.
Greg Sabino Mullane [Wed, 22 Apr 2009 19:05:33 +0000 (15:05 -0400)]
Add prepared_txns check.

16 years agoAllow dbname in action call, force autovac off in test database.
Greg Sabino Mullane [Tue, 21 Apr 2009 14:32:35 +0000 (10:32 -0400)]
Allow dbname in action call, force autovac off in test database.

16 years agoAdjust last_vacuum_analyze a bit.
Greg Sabino Mullane [Tue, 21 Apr 2009 14:31:51 +0000 (10:31 -0400)]
Adjust last_vacuum_analyze a bit.

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.