check_postgres.git
15 years agoNote latest changes.
Greg Sabino Mullane [Fri, 10 Jul 2009 16:12:02 +0000 (12:12 -0400)]
Note latest changes.

15 years agoAllow the check_backends check to detect 'too many clients' message and return a...
Greg Sabino Mullane [Fri, 10 Jul 2009 15:58:58 +0000 (11:58 -0400)]
Allow the check_backends check to detect 'too many clients' message and return a critical.
Thanks to Jürgen Schulz-Brüssel for the idea.
Add 'fatalregex' to run_command to allow known error messages through.
Add 'quickreturn' for piling up database handles.

15 years agoCheck database name inside bloat check. Thanks to Cédric Villemain
Greg Sabino Mullane [Thu, 9 Jul 2009 20:18:22 +0000 (16:18 -0400)]
Check database name inside bloat check. Thanks to Cédric Villemain

15 years agoAdd dots and dashes to regex for dbname in backends check. Thanks to Davide Abrigo.
Greg Sabino Mullane [Thu, 9 Jul 2009 20:01:33 +0000 (16:01 -0400)]
Add dots and dashes to regex for dbname in backends check. Thanks to Davide Abrigo.

15 years agoNote on "FATAL too many clients" message per mailing list question.
Greg Sabino Mullane [Mon, 15 Jun 2009 16:03:59 +0000 (12:03 -0400)]
Note on "FATAL too many clients" message per mailing list question.

15 years agoJeff did more than tests.
Greg Sabino Mullane [Mon, 15 Jun 2009 11:38:03 +0000 (07:38 -0400)]
Jeff did more than tests.

15 years agoTweak the POD.
Greg Sabino Mullane [Sat, 13 Jun 2009 02:29:42 +0000 (22:29 -0400)]
Tweak the POD.

15 years agoStupid POD
Greg Sabino Mullane [Sat, 13 Jun 2009 02:28:12 +0000 (22:28 -0400)]
Stupid POD

15 years agoAnother attempt at final sigs for 2.9.1 2.9.1
Greg Sabino Mullane [Sat, 13 Jun 2009 02:09:42 +0000 (22:09 -0400)]
Another attempt at final sigs for 2.9.1

15 years agoAdd release date to HTML docs.
Greg Sabino Mullane [Sat, 13 Jun 2009 02:09:22 +0000 (22:09 -0400)]
Add release date to HTML docs.

15 years agoReady for release
Greg Sabino Mullane [Sat, 13 Jun 2009 02:08:44 +0000 (22:08 -0400)]
Ready for release

15 years agoUpdates.
Greg Sabino Mullane [Sat, 13 Jun 2009 02:06:20 +0000 (22:06 -0400)]
Updates.

15 years agoMinor cleanups
Greg Sabino Mullane [Fri, 12 Jun 2009 23:43:11 +0000 (19:43 -0400)]
Minor cleanups

15 years agoCredit Jeff, make versions consistent.
Greg Sabino Mullane [Fri, 12 Jun 2009 23:39:38 +0000 (19:39 -0400)]
Credit Jeff, make versions consistent.

15 years agoPerl::Critic tweaks
Greg Sabino Mullane [Fri, 12 Jun 2009 23:35:45 +0000 (19:35 -0400)]
Perl::Critic tweaks

15 years agoAdd function to completely recreate database, for easier same_schema testing.
Greg Sabino Mullane [Fri, 12 Jun 2009 23:26:02 +0000 (19:26 -0400)]
Add function to completely recreate database, for easier same_schema testing.

15 years agoUse "dbnum" for multiple databases, and make sure we cleanup symlinks as well.
Greg Sabino Mullane [Fri, 12 Jun 2009 22:02:34 +0000 (18:02 -0400)]
Use "dbnum" for multiple databases, and make sure we cleanup symlinks as well.

15 years agoShut down all of our test databases, make room for future of five at once (!)
Greg Sabino Mullane [Fri, 12 Jun 2009 21:35:15 +0000 (17:35 -0400)]
Shut down all of our test databases, make room for future of five at once (!)

15 years agoFix incorrect version for txn_idle in docs. Thanks to Robert Treat for spotting this.
Greg Sabino Mullane [Fri, 12 Jun 2009 18:49:55 +0000 (14:49 -0400)]
Fix incorrect version for txn_idle in docs. Thanks to Robert Treat for spotting this.

15 years agosame_schema testing extended
Jeff Boes [Fri, 12 Jun 2009 18:16:21 +0000 (14:16 -0400)]
same_schema testing extended

15 years agoPrettification
Jeff Boes [Wed, 10 Jun 2009 13:20:05 +0000 (09:20 -0400)]
Prettification

15 years agoPrettification
Jeff Boes [Wed, 10 Jun 2009 13:12:40 +0000 (09:12 -0400)]
Prettification

15 years agoMerge branch 'master' of [email protected]:/home/bucardo/htdocs/check_postgres
Jeff Boes [Wed, 10 Jun 2009 13:03:37 +0000 (09:03 -0400)]
Merge branch 'master' of [email protected]:/home/bucardo/htdocs/check_postgres

15 years agoExtensive additions to constraint processing, tests
Jeff Boes [Wed, 10 Jun 2009 13:03:29 +0000 (09:03 -0400)]
Extensive additions to constraint processing, tests

15 years agoNo support for MRTG here.
Greg Sabino Mullane [Mon, 8 Jun 2009 15:29:13 +0000 (11:29 -0400)]
No support for MRTG here.

15 years agoMerge branch 'master' of [email protected]:/home/bucardo/htdocs/check_postgres
Jeff Boes [Mon, 8 Jun 2009 15:19:26 +0000 (11:19 -0400)]
Merge branch 'master' of [email protected]:/home/bucardo/htdocs/check_postgres

15 years agoDon't show psql version unless verbosity is 2.
Greg Sabino Mullane [Mon, 8 Jun 2009 15:18:15 +0000 (11:18 -0400)]
Don't show psql version unless verbosity is 2.
Needed so we don't spew it for same_schema action.

15 years agoFixed "noschema(s)" check; implemented full "notables" check
Jeff Boes [Mon, 8 Jun 2009 15:18:07 +0000 (11:18 -0400)]
Fixed "noschema(s)" check; implemented full "notables" check

15 years agoUser, schema, table, sequence, view tests complete
Jeff Boes [Mon, 8 Jun 2009 15:17:19 +0000 (11:17 -0400)]
User, schema, table, sequence, view tests complete

15 years agoCheckpoint: several batches of tests completed
Jeff Boes [Mon, 8 Jun 2009 13:33:17 +0000 (09:33 -0400)]
Checkpoint: several batches of tests completed

15 years agoBugfix: problems with long paths and the initial setup of an 'clean' database
Jeff Boes [Wed, 3 Jun 2009 22:41:27 +0000 (18:41 -0400)]
Bugfix: problems with long paths and the initial setup of an 'clean' database

15 years agoDrop sequence at end of test (preserve original state of database)
Jeff Boes [Wed, 3 Jun 2009 19:14:45 +0000 (15:14 -0400)]
Drop sequence at end of test (preserve original state of database)

15 years agoAdd bloat items
Greg Sabino Mullane [Wed, 3 Jun 2009 16:04:12 +0000 (12:04 -0400)]
Add bloat items

15 years agoAdd more items from the mailing list.
Greg Sabino Mullane [Wed, 3 Jun 2009 01:51:26 +0000 (21:51 -0400)]
Add more items from the mailing list.

15 years agoTake into account different databases for bloat check. Patch by Mark Kirkwood.
Greg Sabino Mullane [Wed, 3 Jun 2009 01:32:44 +0000 (21:32 -0400)]
Take into account different databases for bloat check. Patch by Mark Kirkwood.

15 years agoSpelling
Greg Sabino Mullane [Wed, 3 Jun 2009 01:26:32 +0000 (21:26 -0400)]
Spelling

15 years agoMore Perl::Critic tweaks
Greg [Wed, 3 Jun 2009 01:00:12 +0000 (21:00 -0400)]
More Perl::Critic tweaks

15 years agoPerl critic quieting
Greg [Wed, 3 Jun 2009 00:12:57 +0000 (20:12 -0400)]
Perl critic quieting

15 years agoShow everything in same_schema one-per-line, simply easier to human parse.
Greg [Tue, 2 Jun 2009 00:55:31 +0000 (20:55 -0400)]
Show everything in same_schema one-per-line, simply easier to human parse.

15 years agoRegex tweak.
Greg [Tue, 2 Jun 2009 00:01:45 +0000 (20:01 -0400)]
Regex tweak.

15 years agoMake functions one per line
Greg [Fri, 29 May 2009 20:44:38 +0000 (16:44 -0400)]
Make functions one per line

15 years agoToo many braces
Greg [Fri, 29 May 2009 19:07:37 +0000 (15:07 -0400)]
Too many braces

15 years agoAllow constraint exclusions for same_schema.
Greg [Fri, 29 May 2009 19:01:58 +0000 (15:01 -0400)]
Allow constraint exclusions for same_schema.

15 years agoCheck function bodies by default for same_schema action.
Greg [Fri, 29 May 2009 18:45:17 +0000 (14:45 -0400)]
Check function bodies by default for same_schema action.

15 years agoStub for new test. 2.9.0
Greg [Fri, 29 May 2009 01:23:19 +0000 (21:23 -0400)]
Stub for new test.

15 years agoAdd test database dir
Greg [Fri, 29 May 2009 01:14:48 +0000 (21:14 -0400)]
Add test database dir

15 years agoFix for better logging of tests.
Greg [Fri, 29 May 2009 01:06:14 +0000 (21:06 -0400)]
Fix for better logging of tests.

15 years agoTypos, move same_schema msgs to French translation section.
Greg [Fri, 29 May 2009 00:52:37 +0000 (20:52 -0400)]
Typos, move same_schema msgs to French translation section.

15 years agoAdd same_schema action, basics are done, still needs to be changed to msg() form.
Greg [Thu, 28 May 2009 23:34:13 +0000 (19:34 -0400)]
Add same_schema action, basics are done, still needs to be changed to msg() form.

15 years agoTypo, yikes.
Greg [Wed, 27 May 2009 23:08:28 +0000 (19:08 -0400)]
Typo, yikes.

15 years agoNew mailing list.
Greg Sabino Mullane [Mon, 18 May 2009 20:36:32 +0000 (16:36 -0400)]
New mailing list.

15 years agoFinal commit for release of 2.8.1
Greg Sabino Mullane [Fri, 15 May 2009 16:37:52 +0000 (12:37 -0400)]
Final commit for release of 2.8.1

15 years agoAdd TODO file
Greg Sabino Mullane [Fri, 15 May 2009 16:37:15 +0000 (12:37 -0400)]
Add TODO file

15 years agoUpdates.
Greg Sabino Mullane [Fri, 15 May 2009 16:37:08 +0000 (12:37 -0400)]
Updates.

15 years agoSet release date for 2.8.1
Greg Sabino Mullane [Fri, 15 May 2009 16:26:21 +0000 (12:26 -0400)]
Set release date for 2.8.1

15 years agoTypo.
Greg Sabino Mullane [Fri, 15 May 2009 16:25:00 +0000 (12:25 -0400)]
Typo.

16 years agoQuick TODO list!
Greg Sabino Mullane [Mon, 11 May 2009 15:56:07 +0000 (11:56 -0400)]
Quick TODO list!

16 years agoUse statement_timeout in addition to alarm.
Greg Sabino Mullane [Mon, 11 May 2009 15:29:30 +0000 (11:29 -0400)]
Use statement_timeout in addition to alarm.
Per requests from many people.

16 years agoFinal signatures for version 2.8.0
Greg Sabino Mullane [Tue, 5 May 2009 00:34:01 +0000 (20:34 -0400)]
Final signatures for version 2.8.0

16 years agoSuport PGBINDIR for psql executable as well
Greg Sabino Mullane [Tue, 5 May 2009 00:29:16 +0000 (20:29 -0400)]
Suport PGBINDIR for psql executable as well

16 years agoFinal signatures for version 2.8.0, hopefully.
Greg Sabino Mullane [Mon, 4 May 2009 20:50:27 +0000 (16:50 -0400)]
Final signatures for version 2.8.0, hopefully.

16 years agoSupport warning/crit for new_version_cp based on version. Show message as well.
Greg Sabino Mullane [Mon, 4 May 2009 20:39:58 +0000 (16:39 -0400)]
Support warning/crit for new_version_cp based on version. Show message as well.

16 years agoTighten up list.
Greg Sabino Mullane [Mon, 4 May 2009 20:39:24 +0000 (16:39 -0400)]
Tighten up list.

16 years agoIgnore PGUSER env on startup.
Greg Sabino Mullane [Mon, 4 May 2009 16:19:19 +0000 (12:19 -0400)]
Ignore PGUSER env on startup.

16 years agoNo spellcheck of deleted file.
Greg Sabino Mullane [Mon, 4 May 2009 16:10:33 +0000 (12:10 -0400)]
No spellcheck of deleted file.

16 years agoBye bye index.html
Greg Sabino Mullane [Mon, 4 May 2009 15:55:38 +0000 (11:55 -0400)]
Bye bye index.html

16 years agoDon't track index.html here.
Greg Sabino Mullane [Mon, 4 May 2009 15:55:08 +0000 (11:55 -0400)]
Don't track index.html here.

16 years agoDon't make html updating part of make: we'll ship it.
Greg Sabino Mullane [Mon, 4 May 2009 13:30:54 +0000 (09:30 -0400)]
Don't make html updating part of make: we'll ship it.
Make a separate 'html' target.
Don't ship index.html file.

16 years agoMore testing tweaks.
Greg Sabino Mullane [Mon, 4 May 2009 00:58:17 +0000 (20:58 -0400)]
More testing tweaks.

16 years agoFix numbers
Greg Sabino Mullane [Sun, 3 May 2009 17:59:49 +0000 (13:59 -0400)]
Fix numbers

16 years agoNew sig file, update old one.
Greg Sabino Mullane [Sun, 3 May 2009 17:53:04 +0000 (13:53 -0400)]
New sig file, update old one.

16 years agoAdd back in the index munging.
Greg Sabino Mullane [Sun, 3 May 2009 17:51:50 +0000 (13:51 -0400)]
Add back in the index munging.

16 years agoAdd back in auto-html creation, do p:c for Makefile.PL
Greg Sabino Mullane [Sun, 3 May 2009 17:29:39 +0000 (13:29 -0400)]
Add back in auto-html creation, do p:c for Makefile.PL

16 years agoSupport both signature styles.
Greg Sabino Mullane [Sun, 3 May 2009 17:08:46 +0000 (13:08 -0400)]
Support both signature styles.

16 years agoCleaner handling of tests with 8.0 backend
Greg Sabino Mullane [Sun, 3 May 2009 16:58:52 +0000 (12:58 -0400)]
Cleaner handling of tests with 8.0 backend

16 years agoFix up numbering for skips.
Greg Sabino Mullane [Sun, 3 May 2009 12:47:17 +0000 (08:47 -0400)]
Fix up numbering for skips.

16 years agoTesting tweaks.
Greg Sabino Mullane [Fri, 1 May 2009 20:57:16 +0000 (16:57 -0400)]
Testing tweaks.

16 years agoWacky workaround for psql -h bug.
Greg Sabino Mullane [Fri, 1 May 2009 20:08:57 +0000 (16:08 -0400)]
Wacky workaround for psql -h bug.

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.