check_postgres.git
16 years agoPerl module-a-fy
Greg Sabino Mullane [Fri, 1 May 2009 19:19:10 +0000 (15:19 -0400)]
Perl module-a-fy

16 years agoLast of the testing tweaks. For now.
Greg Sabino Mullane [Fri, 1 May 2009 13:39:36 +0000 (09:39 -0400)]
Last of the testing tweaks. For now.

16 years agoQuick and dirty 'clean' target
Greg Sabino Mullane [Fri, 1 May 2009 13:38:53 +0000 (09:38 -0400)]
Quick and dirty 'clean' target

16 years agoTweak.
Greg Sabino Mullane [Thu, 30 Apr 2009 21:57:34 +0000 (17:57 -0400)]
Tweak.

16 years agoMore tweaks to support Postgres 8.0
Greg Sabino Mullane [Thu, 30 Apr 2009 21:37:35 +0000 (17:37 -0400)]
More tweaks to support Postgres 8.0

16 years agoYet more testing tweaks. The end is in sight.
Greg Sabino Mullane [Thu, 30 Apr 2009 20:32:57 +0000 (16:32 -0400)]
Yet more testing tweaks. The end is in sight.

16 years agoMore version tweaking.
Greg Sabino Mullane [Thu, 30 Apr 2009 19:51:05 +0000 (15:51 -0400)]
More version tweaking.

16 years agoRegex fix: relation may be index, not table.
Greg Sabino Mullane [Thu, 30 Apr 2009 19:50:23 +0000 (15:50 -0400)]
Regex fix: relation may be index, not table.

16 years agoMore support for older versions of Postgres, other cleanups.
Greg Sabino Mullane [Thu, 30 Apr 2009 13:09:52 +0000 (09:09 -0400)]
More support for older versions of Postgres, other cleanups.

16 years agoDon't allow values over 2 billion for wraparound check.
Greg Sabino Mullane [Thu, 30 Apr 2009 12:35:13 +0000 (08:35 -0400)]
Don't allow values over 2 billion for wraparound check.
Older version compatibility.

16 years agoClean up wording for txn_wraparound.
Greg Sabino Mullane [Thu, 30 Apr 2009 12:25:08 +0000 (08:25 -0400)]
Clean up wording for txn_wraparound.

16 years agoSimplify random string for logfiles to support old versions of Postgres.
Greg Sabino Mullane [Wed, 29 Apr 2009 21:55:48 +0000 (17:55 -0400)]
Simplify random string for logfiles to support old versions of Postgres.
Fix typo in disabled_triggers.

16 years agoMany Perl::Critic related cleanups.
Greg Sabino Mullane [Wed, 29 Apr 2009 19:48:23 +0000 (15:48 -0400)]
Many Perl::Critic related cleanups.

16 years agoRefactor EXISTS thing, make older PG version testing better.
Greg Sabino Mullane [Wed, 29 Apr 2009 12:11:15 +0000 (08:11 -0400)]
Refactor EXISTS thing, make older PG version testing better.

16 years agoMake Perl::Critic not whine about missing policies.
Greg Sabino Mullane [Tue, 28 Apr 2009 19:30:52 +0000 (15:30 -0400)]
Make Perl::Critic not whine about missing policies.

16 years agoMinor tweak.
Greg Sabino Mullane [Tue, 28 Apr 2009 18:41:01 +0000 (14:41 -0400)]
Minor tweak.

16 years agoForce query_runtime output to normal non-exponential numbers.
Greg Sabino Mullane [Tue, 28 Apr 2009 17:04:52 +0000 (13:04 -0400)]
Force query_runtime output to normal non-exponential numbers.
Thanks to Josh Tolley for finding.

16 years agoSpelling.
Greg Sabino Mullane [Tue, 28 Apr 2009 15:38:50 +0000 (11:38 -0400)]
Spelling.

16 years agoMake spaces in dirs by default.
Greg Sabino Mullane [Tue, 28 Apr 2009 15:30:51 +0000 (11:30 -0400)]
Make spaces in dirs by default.

16 years agoAdd TEST_EVERYTHING for testing ease.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:56:31 +0000 (10:56 -0400)]
Add TEST_EVERYTHING for testing ease.

16 years agoGetting ready for next release.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:49:02 +0000 (10:49 -0400)]
Getting ready for next release.

16 years agoMinor testing tweaks.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:42:33 +0000 (10:42 -0400)]
Minor testing tweaks.

16 years agoAdded 'timesync' tests.
Jeff Boes [Tue, 28 Apr 2009 12:56:50 +0000 (08:56 -0400)]
Added 'timesync' tests.

16 years agoMany translation fixes and the cool test file that helped me find them.
Greg Sabino Mullane [Tue, 28 Apr 2009 01:59:25 +0000 (21:59 -0400)]
Many translation fixes and the cool test file that helped me find them.

16 years agoMany test cleanups and changes.
Greg Sabino Mullane [Mon, 27 Apr 2009 23:30:24 +0000 (19:30 -0400)]
Many test cleanups and changes.

16 years agoBetter handling of mismatched pg_controldata versions.
Greg Sabino Mullane [Mon, 27 Apr 2009 22:51:01 +0000 (18:51 -0400)]
Better handling of mismatched pg_controldata versions.

16 years agoAdd PGBINDIR and PGCONTROLDATA. Give Jeff more credit.
Greg Sabino Mullane [Mon, 27 Apr 2009 22:24:01 +0000 (18:24 -0400)]
Add PGBINDIR and PGCONTROLDATA. Give Jeff more credit.
Apparently older pg_controldata binaries will work against newer structures,
but give the wrong result. Bleh.

16 years agoBump up limits to make tests pass.
Greg Sabino Mullane [Mon, 27 Apr 2009 21:59:17 +0000 (17:59 -0400)]
Bump up limits to make tests pass.

16 years agoAdd tests for disk_space; added missing msg name.
Jeff Boes [Mon, 27 Apr 2009 21:09:49 +0000 (17:09 -0400)]
Add tests for disk_space; added missing msg name.

16 years agoAdd tests for dbstats; fixed invalid error in check_postgres.pl;
Jeff Boes [Mon, 27 Apr 2009 19:58:58 +0000 (15:58 -0400)]
Add tests for dbstats; fixed invalid error in check_postgres.pl;
extended CP_Testing::run method to allow no dbname runs.

16 years agoMinor testing changes.
Greg Sabino Mullane [Fri, 24 Apr 2009 23:27:05 +0000 (19:27 -0400)]
Minor testing changes.

16 years ago8.4 does FSM differently: handle that.
Greg Sabino Mullane [Fri, 24 Apr 2009 23:26:10 +0000 (19:26 -0400)]
8.4 does FSM differently: handle that.

16 years agoAllow use of custom PG_CTL, make sure we create test user.
Greg Sabino Mullane [Fri, 24 Apr 2009 22:45:57 +0000 (18:45 -0400)]
Allow use of custom PG_CTL, make sure we create test user.

16 years agoAdd custom_query tests.
Jeff Boes [Fri, 24 Apr 2009 21:55:28 +0000 (17:55 -0400)]
Add custom_query tests.

16 years agoTests for autovac_freeze.
Jeff Boes [Fri, 24 Apr 2009 21:10:07 +0000 (17:10 -0400)]
Tests for autovac_freeze.

16 years agoAdd txn_time tests.
Jeff Boes [Fri, 24 Apr 2009 19:40:24 +0000 (15:40 -0400)]
Add txn_time tests.

16 years agoBoost size to account for other tests
Greg Sabino Mullane [Fri, 24 Apr 2009 19:07:28 +0000 (15:07 -0400)]
Boost size to account for other tests

16 years agoAdded txn_wraparound.t
Jeff Boes [Fri, 24 Apr 2009 18:48:12 +0000 (14:48 -0400)]
Added txn_wraparound.t

16 years agoRemove unused variables.
Jeff Boes [Fri, 24 Apr 2009 17:43:59 +0000 (13:43 -0400)]
Remove unused variables.

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)