check_postgres.git
16 years agoMinor tweaks to get to 2.3.10
Greg Sabino Mullane [Fri, 24 Oct 2008 00:17:59 +0000 (20:17 -0400)]
Minor tweaks to get to 2.3.10

16 years agoVersion 2.3.9
Greg Sabino Mullane [Thu, 23 Oct 2008 21:07:55 +0000 (17:07 -0400)]
Version 2.3.9

16 years agoMinor tweak to storage of default port.
Greg Sabino Mullane [Thu, 23 Oct 2008 20:15:35 +0000 (16:15 -0400)]
Minor tweak to storage of default port.

16 years agoDon't sleep for 0.5, to easy to get it rounded down
Greg Sabino Mullane [Wed, 22 Oct 2008 03:58:30 +0000 (23:58 -0400)]
Don't sleep for 0.5, to easy to get it rounded down

16 years agoDon't show totaltime if not available.
Greg Sabino Mullane [Wed, 22 Oct 2008 03:53:53 +0000 (23:53 -0400)]
Don't show totaltime if not available.

16 years agoTypo.
Greg Sabino Mullane [Wed, 22 Oct 2008 03:06:17 +0000 (23:06 -0400)]
Typo.

16 years agoVersion bump to 2.3.8
Greg Sabino Mullane [Wed, 22 Oct 2008 02:49:05 +0000 (22:49 -0400)]
Version bump to 2.3.8

16 years agoAllow transform of simple output numbers.
Greg Sabino Mullane [Wed, 22 Oct 2008 02:47:01 +0000 (22:47 -0400)]
Allow transform of simple output numbers.

16 years agoAllow for default port to be changed easily.
Greg Sabino Mullane [Wed, 22 Oct 2008 02:27:01 +0000 (22:27 -0400)]
Allow for default port to be changed easily.

16 years agoDo the right thing when 'sequence' called with multiple databases.
Greg Sabino Mullane [Tue, 14 Oct 2008 19:38:47 +0000 (15:38 -0400)]
Do the right thing when 'sequence' called with multiple databases.
Handle 'target' argument to run_command cleaner.
Bump to version 2.3.7

16 years agoSmall fix by Robert Treat
Greg Sabino Mullane [Tue, 14 Oct 2008 01:13:51 +0000 (21:13 -0400)]
Small fix by Robert Treat

16 years agoVersion 2.3.5
Greg Sabino Mullane [Fri, 10 Oct 2008 01:41:14 +0000 (21:41 -0400)]
Version 2.3.5

16 years agoBetter error handling.
Greg Sabino Mullane [Fri, 10 Oct 2008 01:38:14 +0000 (21:38 -0400)]
Better error handling.

16 years agoChange checktype option to valtype: conflicts with "-c"
Greg Sabino Mullane [Fri, 10 Oct 2008 01:22:46 +0000 (21:22 -0400)]
Change checktype option to valtype: conflicts with "-c"

16 years agoBump version to 2.3.4 and release.
Greg Sabino Mullane [Thu, 9 Oct 2008 18:35:05 +0000 (14:35 -0400)]
Bump version to 2.3.4 and release.

16 years agoCall File::Temp::cleanup() explicitly, as CLEANUP => 1 on tempdir()
Greg Sabino Mullane [Thu, 9 Oct 2008 18:33:54 +0000 (14:33 -0400)]
Call File::Temp::cleanup() explicitly, as CLEANUP => 1 on tempdir()
creates an END block that is not always reached on some systems.
Per report by [email protected].

16 years agoHandle cae where ROUND gives us -0 instead of 0 for three actions.
Greg Sabino Mullane [Wed, 8 Oct 2008 15:56:58 +0000 (11:56 -0400)]
Handle cae where ROUND gives us -0 instead of 0 for three actions.
Thanks to Glyn Astill for helping to track this down.
Bump version to 2.3.3 and release.

16 years agoRoll out 2.3.2, fixes quoting problem notes by Glyn Astill
Greg Sabino Mullane [Wed, 8 Oct 2008 14:29:01 +0000 (10:29 -0400)]
Roll out 2.3.2, fixes quoting problem notes by Glyn Astill

16 years agoBump version to 2.3.1
Greg Sabino Mullane [Tue, 7 Oct 2008 15:57:50 +0000 (11:57 -0400)]
Bump version to 2.3.1

16 years agoExit right away on FATAL errors.
Greg Sabino Mullane [Tue, 7 Oct 2008 15:56:12 +0000 (11:56 -0400)]
Exit right away on FATAL errors.
Prevents excess looping due to verify_version check, and
gives a better error for actions that were using 'failok'

16 years agoRelease version 2.3.0
Greg Sabino Mullane [Sat, 4 Oct 2008 17:53:22 +0000 (13:53 -0400)]
Release version 2.3.0

16 years agoAllow any case for output argument (so --output=MRTG works)
Greg Sabino Mullane [Sat, 4 Oct 2008 17:51:31 +0000 (13:51 -0400)]
Allow any case for output argument (so --output=MRTG works)
Fix some spelling and workding issues.

16 years agoAdd sequence action, based on idea by Gavin Roy.
Greg Sabino Mullane [Sat, 4 Oct 2008 17:39:42 +0000 (13:39 -0400)]
Add sequence action, based on idea by Gavin Roy.

16 years agoRoll out very minor new version.
Greg Sabino Mullane [Fri, 3 Oct 2008 14:54:41 +0000 (10:54 -0400)]
Roll out very minor new version.

16 years agoLoosen up txn_time regex a little
Greg Sabino Mullane [Fri, 3 Oct 2008 14:53:44 +0000 (10:53 -0400)]
Loosen up txn_time regex a little

16 years agoFix typo
Greg Sabino Mullane [Fri, 3 Oct 2008 14:49:47 +0000 (10:49 -0400)]
Fix typo

16 years agoReady to roll out 2.2.3
Greg Sabino Mullane [Thu, 2 Oct 2008 18:57:45 +0000 (14:57 -0400)]
Ready to roll out 2.2.3

16 years agoAllow almost anything in --repinfo rather than just \w+.
Greg Sabino Mullane [Wed, 1 Oct 2008 16:47:25 +0000 (12:47 -0400)]
Allow almost anything in --repinfo rather than just \w+.
Thanks to Glyn Astill for finding this limitation.

16 years agoMention perflimit as a way to control the LIMIT in the bloat query.
Greg Sabino Mullane [Wed, 1 Oct 2008 16:13:16 +0000 (12:13 -0400)]
Mention perflimit as a way to control the LIMIT in the bloat query.

16 years agoReady for minor revision: 2.2.2
Greg Sabino Mullane [Tue, 30 Sep 2008 22:39:41 +0000 (18:39 -0400)]
Ready for minor revision: 2.2.2

16 years agoChange some remaining 'my's to 'our's
Greg Sabino Mullane [Tue, 30 Sep 2008 18:40:02 +0000 (14:40 -0400)]
Change some remaining 'my's to 'our's

16 years agoRefactor db->{slurp} to the verify_version function.
Greg Sabino Mullane [Tue, 30 Sep 2008 18:10:56 +0000 (14:10 -0400)]
Refactor db->{slurp} to the verify_version function.
Remove sections now covered implicitly by verify_version.

16 years agoSquirrel away old value before verify call.
Greg Sabino Mullane [Tue, 30 Sep 2008 11:45:59 +0000 (07:45 -0400)]
Squirrel away old value before verify call.

16 years agoDoc typos, thanks to Glyn Astill for catching them.
Greg Sabino Mullane [Tue, 30 Sep 2008 11:31:09 +0000 (07:31 -0400)]
Doc typos, thanks to Glyn Astill for catching them.

16 years agoReady for 2.2.1 release.
Greg Sabino Mullane [Mon, 29 Sep 2008 02:00:37 +0000 (22:00 -0400)]
Ready for 2.2.1 release.

16 years agoTweak FSM formula a bit based on mailing list posts.
Greg Sabino Mullane [Mon, 29 Sep 2008 01:59:38 +0000 (21:59 -0400)]
Tweak FSM formula a bit based on mailing list posts.

16 years agoIf a command fails it's regex check, call new function version_verify to see if this
Greg Sabino Mullane [Mon, 29 Sep 2008 00:18:57 +0000 (20:18 -0400)]
If a command fails it's regex check, call new function version_verify to see if this
is ue to failing pre-reqs, and die with an appropriate message if so. From conversations
about bad error messages with Euler Taveira de Oliveira.

16 years agoNote last change.
Greg Sabino Mullane [Sun, 28 Sep 2008 21:11:44 +0000 (17:11 -0400)]
Note last change.

16 years agoFlatten error messages for Nagios one-line 'unknown' output.
Greg Sabino Mullane [Sun, 28 Sep 2008 21:10:16 +0000 (17:10 -0400)]
Flatten error messages for Nagios one-line 'unknown' output.
Avoid pipes in unknown messages if showperf is true.

16 years agoBump version
Greg Sabino Mullane [Sun, 28 Sep 2008 21:04:57 +0000 (17:04 -0400)]
Bump version

16 years agoAdd MRTG support to new fsm actions.
Greg Sabino Mullane [Sun, 28 Sep 2008 21:02:51 +0000 (17:02 -0400)]
Add MRTG support to new fsm actions.
Default to two empty strings for MRTG validate_range calls.

16 years agoReady for release: 2.2.0
Greg Sabino Mullane [Thu, 25 Sep 2008 22:26:39 +0000 (18:26 -0400)]
Ready for release: 2.2.0

16 years agoAdd two new actions from Robert Treat: fsm_pages and fsm_relations.
Greg Sabino Mullane [Thu, 25 Sep 2008 22:23:54 +0000 (18:23 -0400)]
Add two new actions from Robert Treat: fsm_pages and fsm_relations.
Bump version to 2.2.0

16 years agoCatch bad query earlier
Greg Sabino Mullane [Tue, 23 Sep 2008 14:00:20 +0000 (10:00 -0400)]
Catch bad query earlier

16 years agoUse fileglob ref instead of STDERR bareword. Thanks to Chris Butler.
Greg Sabino Mullane [Tue, 23 Sep 2008 13:09:05 +0000 (09:09 -0400)]
Use fileglob ref instead of STDERR bareword. Thanks to Chris Butler.

16 years agoDocumentation typos, thanks to Euler Taveira de Oliveira
Greg Sabino Mullane [Tue, 23 Sep 2008 02:02:02 +0000 (22:02 -0400)]
Documentation typos, thanks to Euler Taveira de Oliveira

16 years agoStupid pod2html
Greg Sabino Mullane [Mon, 22 Sep 2008 16:31:02 +0000 (12:31 -0400)]
Stupid pod2html

16 years agoVersion bump and minor tweaks.
Greg Sabino Mullane [Mon, 22 Sep 2008 15:58:02 +0000 (11:58 -0400)]
Version bump and minor tweaks.

16 years agoQuick docs for --debugoutput option.
Greg Sabino Mullane [Mon, 22 Sep 2008 15:51:55 +0000 (11:51 -0400)]
Quick docs for --debugoutput option.

16 years agoEnsure txn_time failures report as ok if no rows but user filtering is off, due to...
Greg Sabino Mullane [Mon, 22 Sep 2008 15:48:16 +0000 (11:48 -0400)]
Ensure txn_time failures report as ok if no rows but user filtering is off, due to pg_stat_activity race condition.
Add advanced debugging option to help track down future problems easier.

16 years agoTweak to fix args.
Greg Sabino Mullane [Mon, 22 Sep 2008 15:18:46 +0000 (11:18 -0400)]
Tweak to fix args.

16 years agoGetOpts very fussy about order of args.
Greg Sabino Mullane [Mon, 22 Sep 2008 14:55:02 +0000 (10:55 -0400)]
GetOpts very fussy about order of args.

16 years agoAdd signature for 2.1.3
Greg Sabino Mullane [Mon, 22 Sep 2008 14:21:53 +0000 (10:21 -0400)]
Add signature for 2.1.3

16 years agoUpdate docs for release.
Greg Sabino Mullane [Mon, 22 Sep 2008 14:14:48 +0000 (10:14 -0400)]
Update docs for release.

16 years agoSpelling
Greg Sabino Mullane [Mon, 22 Sep 2008 14:12:25 +0000 (10:12 -0400)]
Spelling

16 years agoBump version, update docs.
Greg Sabino Mullane [Mon, 22 Sep 2008 14:06:20 +0000 (10:06 -0400)]
Bump version, update docs.

16 years agoMRTG prefers a 0 a second arg, even when it arrives as undef.
Greg Sabino Mullane [Mon, 22 Sep 2008 14:03:00 +0000 (10:03 -0400)]
MRTG prefers a 0 a second arg, even when it arrives as undef.
Thanks to Andras Fabian for catching this.

16 years agoAllow 'db' variants of host and port arguments.
Greg Sabino Mullane [Mon, 22 Sep 2008 14:00:30 +0000 (10:00 -0400)]
Allow 'db' variants of host and port arguments.

16 years agoUse canonical "git clone" instead of git-clone.
Jon Jensen [Wed, 17 Sep 2008 15:31:05 +0000 (09:31 -0600)]
Use canonical "git clone" instead of git-clone.

16 years agoSignature for 2.1.2
Greg Sabino Mullane [Tue, 29 Jul 2008 00:57:08 +0000 (20:57 -0400)]
Signature for 2.1.2

16 years agoCleanup of docs, cleanup after pod2html
Greg Sabino Mullane [Tue, 29 Jul 2008 00:56:27 +0000 (20:56 -0400)]
Cleanup of docs, cleanup after pod2html

16 years agoAdd --simple option.
Greg Sabino Mullane [Tue, 29 Jul 2008 00:04:57 +0000 (20:04 -0400)]
Add --simple option.
Bump version to 2.1.2.

16 years agoFix bad sort key in check_disk_space.
Greg Sabino Mullane [Mon, 28 Jul 2008 23:37:16 +0000 (19:37 -0400)]
Fix bad sort key in check_disk_space.

16 years agoMinor version bump: stop checking datallowconn false databases for "autovac_freeze"
Greg Sabino Mullane [Tue, 22 Jul 2008 21:11:30 +0000 (17:11 -0400)]
Minor version bump: stop checking datallowconn false databases for "autovac_freeze"

16 years agoNote the new ORDER BY on txn_wraparound
Greg Sabino Mullane [Fri, 18 Jul 2008 22:07:40 +0000 (18:07 -0400)]
Note the new ORDER BY on txn_wraparound

16 years agoPut in a good ORDER BY for txn_wraparound
Greg Sabino Mullane [Fri, 18 Jul 2008 22:05:50 +0000 (18:05 -0400)]
Put in a good ORDER BY for txn_wraparound

16 years agoAdd autovac_freeze action, bump to version 2.1.0
Greg Sabino Mullane [Fri, 18 Jul 2008 21:44:42 +0000 (17:44 -0400)]
Add autovac_freeze action, bump to version 2.1.0

16 years agoReady for 2.0.1 rollout.
Greg Sabino Mullane [Wed, 16 Jul 2008 22:24:47 +0000 (18:24 -0400)]
Ready for 2.0.1 rollout.

16 years agoFix version action: only output mrtg if in that mode.
Greg Sabino Mullane [Wed, 16 Jul 2008 22:19:42 +0000 (18:19 -0400)]
Fix version action: only output mrtg if in that mode.

16 years agoVersion bump to 2.0.1
Greg Sabino Mullane [Wed, 16 Jul 2008 21:59:28 +0000 (17:59 -0400)]
Version bump to 2.0.1

16 years agoMore micro-optimizations.
Greg Sabino Mullane [Wed, 16 Jul 2008 21:58:02 +0000 (17:58 -0400)]
More micro-optimizations.

16 years agoReplace large regex in bloat sub with split - much faster.
Greg Sabino Mullane [Wed, 16 Jul 2008 21:45:39 +0000 (17:45 -0400)]
Replace large regex in bloat sub with split - much faster.

16 years agoFinal docs and sig for 2.0.0
Greg Sabino Mullane [Tue, 15 Jul 2008 21:20:57 +0000 (17:20 -0400)]
Final docs and sig for 2.0.0

16 years agoDoc cleanups.
Greg Sabino Mullane [Tue, 15 Jul 2008 21:20:37 +0000 (17:20 -0400)]
Doc cleanups.

16 years agoBump version, write MRTG docs, minor fixes.
Greg Sabino Mullane [Tue, 15 Jul 2008 20:20:44 +0000 (16:20 -0400)]
Bump version, write MRTG docs, minor fixes.

16 years agoDoc updates.
Greg Sabino Mullane [Tue, 15 Jul 2008 20:20:33 +0000 (16:20 -0400)]
Doc updates.

16 years agoMinor spelling fixes.
Greg Sabino Mullane [Tue, 15 Jul 2008 20:20:19 +0000 (16:20 -0400)]
Minor spelling fixes.

16 years agoAdd MRTG for rest of actions save one.
Greg Sabino Mullane [Tue, 15 Jul 2008 18:56:58 +0000 (14:56 -0400)]
Add MRTG for rest of actions save one.

16 years agoAdd MRTG and "simple" output options.
Greg Sabino Mullane [Tue, 15 Jul 2008 04:00:39 +0000 (00:00 -0400)]
Add MRTG and "simple" output options.

16 years agoSig for 1.9.1
Greg Sabino Mullane [Tue, 24 Jun 2008 20:39:53 +0000 (16:39 -0400)]
Sig for 1.9.1

16 years agoFix typo in 1.9.0, allow percentages in bloat check, bump version to 1.9.1
Greg Sabino Mullane [Tue, 24 Jun 2008 20:30:45 +0000 (16:30 -0400)]
Fix typo in 1.9.0, allow percentages in bloat check, bump version to 1.9.1

16 years agoVersion bump to 1.9.0
Greg Sabino Mullane [Sun, 22 Jun 2008 20:53:14 +0000 (16:53 -0400)]
Version bump to 1.9.0

16 years agoAllow --include and --exclude to work for schemas as well.
Greg Sabino Mullane [Sun, 22 Jun 2008 20:51:08 +0000 (16:51 -0400)]
Allow --include and --exclude to work for schemas as well.
Docuemntation cleanup.
Bump to version 1.9.0

16 years agoClarify stats_row_level restriction, clean up docs.
Greg Sabino Mullane [Sun, 22 Jun 2008 20:34:56 +0000 (16:34 -0400)]
Clarify stats_row_level restriction, clean up docs.

16 years agoNo need to even consider information_schema in bloat and vacuum/analyze checks.
Greg Sabino Mullane [Sun, 22 Jun 2008 20:21:38 +0000 (16:21 -0400)]
No need to even consider information_schema in bloat and vacuum/analyze checks.

16 years agoWrong order by.
Greg Sabino Mullane [Sun, 22 Jun 2008 20:17:12 +0000 (16:17 -0400)]
Wrong order by.

16 years agoMention mailing lists.
Greg Sabino Mullane [Sun, 22 Jun 2008 16:46:25 +0000 (12:46 -0400)]
Mention mailing lists.

16 years agoVersion 1.8.5 sig.
Greg Sabino Mullane [Sun, 22 Jun 2008 16:24:45 +0000 (12:24 -0400)]
Version 1.8.5 sig.

16 years agoBump version to 1.8.5, more minor perlcritic adjustments.
Greg Sabino Mullane [Sun, 22 Jun 2008 16:24:07 +0000 (12:24 -0400)]
Bump version to 1.8.5, more minor perlcritic adjustments.

16 years agoAdd more stop words and minor annoying level one regex rules.
Greg Sabino Mullane [Sun, 22 Jun 2008 16:13:34 +0000 (12:13 -0400)]
Add more stop words and minor annoying level one regex rules.

16 years agoPut schema before table in last_vacuum and last_analyze section. (Jeff Frost)
Greg Sabino Mullane [Sun, 22 Jun 2008 16:12:35 +0000 (12:12 -0400)]
Put schema before table in last_vacuum and last_analyze section. (Jeff Frost)
Clean up a bunch of other schema/table sections.
Minor perlcritic tweaks.

16 years agoBump to version 1.8.4
Greg Sabino Mullane [Thu, 19 Jun 2008 14:23:46 +0000 (10:23 -0400)]
Bump to version 1.8.4

16 years agoFix up the replicate_row to detect errors better.
Greg Sabino Mullane [Thu, 19 Jun 2008 14:21:42 +0000 (10:21 -0400)]
Fix up the replicate_row to detect errors better.

16 years agoMight as well say 1 instead of 0, to be accurate.
Greg Sabino Mullane [Thu, 19 Jun 2008 03:43:18 +0000 (23:43 -0400)]
Might as well say 1 instead of 0, to be accurate.

16 years agoSignature for 1.8.3
Greg Sabino Mullane [Wed, 18 Jun 2008 23:17:28 +0000 (19:17 -0400)]
Signature for 1.8.3

16 years agoSpelling errors.
Greg Sabino Mullane [Wed, 18 Jun 2008 23:17:05 +0000 (19:17 -0400)]
Spelling errors.

16 years agoBump date in index.html; make such bumping automagic via the Makefile.
Greg Sabino Mullane [Wed, 18 Jun 2008 23:14:31 +0000 (19:14 -0400)]
Bump date in index.html; make such bumping automagic via the Makefile.

16 years agoAdd mailing list section, bump version.
Greg Sabino Mullane [Wed, 18 Jun 2008 23:06:03 +0000 (19:06 -0400)]
Add mailing list section, bump version.

16 years agoFix check_backends action: pg_stat_activity may be empty, so run a second
Greg Sabino Mullane [Wed, 18 Jun 2008 22:59:56 +0000 (18:59 -0400)]
Fix check_backends action: pg_stat_activity may be empty, so run a second
query as needed to find max_connections and then return ok.

16 years agoBump version to 1.8.2
Greg Sabino Mullane [Tue, 10 Jun 2008 14:03:38 +0000 (10:03 -0400)]
Bump version to 1.8.2