check_postgres.git
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

16 years agoFix for replicate_row args.
Greg Sabino Mullane [Fri, 7 Nov 2008 14:02:11 +0000 (09:02 -0500)]
Fix for replicate_row args.

16 years agoFix for old versions of File::Temp by Chris Butler
Greg Sabino Mullane [Thu, 6 Nov 2008 18:31:36 +0000 (13:31 -0500)]
Fix for old versions of File::Temp by Chris Butler

16 years agoCast to numeric to avoid bigint out of range errors in the check_sequence check.
Greg Sabino Mullane [Wed, 5 Nov 2008 18:05:06 +0000 (13:05 -0500)]
Cast to numeric to avoid bigint out of range errors in the check_sequence check.
Bump version to 2.4.1

16 years agoBump version, add first attempt at explicit Cacti support.
Greg Sabino Mullane [Sun, 26 Oct 2008 20:33:45 +0000 (16:33 -0400)]
Bump version, add first attempt at explicit Cacti support.

16 years agoShow percentage on backends.
Greg Sabino Mullane [Sun, 26 Oct 2008 02:53:35 +0000 (22:53 -0400)]
Show percentage on backends.

16 years agoAdd internal pretty_time() function: use for seconds output in last vac and analyze...
Greg Sabino Mullane [Sun, 26 Oct 2008 02:43:00 +0000 (22:43 -0400)]
Add internal pretty_time() function: use for seconds output in last vac and analyze actions.

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