check_postgres.git
14 years agosilence a warning by removing a "my"
Andy Lester [Thu, 24 Mar 2011 15:32:27 +0000 (10:32 -0500)]
silence a warning by removing a "my"

14 years agofix the incorrect names of the data fields idxscan, idxtupread, etc
Andy Lester [Thu, 24 Mar 2011 15:31:32 +0000 (10:31 -0500)]
fix the incorrect names of the data fields idxscan, idxtupread, etc

14 years agoThe last commit created a duplicate action; this removes it
Joshua Tolley [Tue, 15 Mar 2011 20:30:55 +0000 (14:30 -0600)]
The last commit created a duplicate action; this removes it

14 years agoFix typo
Joshua Tolley [Tue, 15 Mar 2011 20:13:25 +0000 (14:13 -0600)]
Fix typo

14 years agoIntroduced pgbouncer_backends and pgbouncer_maxwait actions.
Ruslan Kabalin [Mon, 14 Mar 2011 23:04:37 +0000 (19:04 -0400)]
Introduced pgbouncer_backends and pgbouncer_maxwait actions.

See check_postgres.pl --man for more details.

14 years agoTabs to spaces
Greg Sabino Mullane [Mon, 14 Mar 2011 22:43:05 +0000 (18:43 -0400)]
Tabs to spaces

14 years agoMinor cleanups to previous patch
Greg Sabino Mullane [Mon, 14 Mar 2011 22:38:32 +0000 (18:38 -0400)]
Minor cleanups to previous patch

14 years ago"--assume-standby-mode" option is added.
Ruslan Kabalin [Mon, 14 Mar 2011 22:33:48 +0000 (18:33 -0400)]
"--assume-standby-mode" option is added.

If specified, first the check if server in standby mode will be performed
(--datadir is required), if so, all checks that require SQL queries will be
ignored and "Server in standby mode" with OK status will be returned instead.

14 years ago[backends] do not list excluded databases in output.
Ruslan Kabalin [Mon, 14 Mar 2011 22:18:36 +0000 (18:18 -0400)]
[backends] do not list excluded databases in output.

When used with --include or --exclude settings, listing all available
databases in perfomance output might be confusing. Thus, only those databases
that are taken into account for connectons number calculation are listed.

14 years agoChanges in vim stattings string to meet new formatting
Ruslan Kabalin [Fri, 9 Jul 2010 10:01:19 +0000 (11:01 +0100)]
Changes in vim stattings string to meet new formatting

Signed-off-by: Ruslan Kabalin <[email protected]>
14 years agoFrench translations
Guillaume Lelarge [Fri, 11 Mar 2011 23:30:05 +0000 (18:30 -0500)]
French translations

14 years agoCredit last patch.
Greg Sabino Mullane [Wed, 9 Mar 2011 02:42:09 +0000 (21:42 -0500)]
Credit last patch.

14 years agohandle undef percents in check_fsm_relations
Andy Lester [Mon, 7 Mar 2011 17:54:57 +0000 (11:54 -0600)]
handle undef percents in check_fsm_relations

14 years agoSpelling cleanups.
Greg Sabino Mullane [Mon, 21 Feb 2011 05:07:52 +0000 (00:07 -0500)]
Spelling cleanups.
Only spellcheck test files that start with a number.

14 years agoSpelling
Greg Sabino Mullane [Mon, 21 Feb 2011 04:59:11 +0000 (23:59 -0500)]
Spelling

14 years agoFix up custom query test.
Greg Sabino Mullane [Fri, 18 Feb 2011 03:05:01 +0000 (22:05 -0500)]
Fix up custom query test.

14 years agoMore fixes to the MRTG action inside various actions.
Greg Sabino Mullane [Thu, 17 Feb 2011 00:53:21 +0000 (19:53 -0500)]
More fixes to the MRTG action inside various actions.

14 years agoWhitespace cleanups.
Greg Sabino Mullane [Wed, 16 Feb 2011 17:54:54 +0000 (12:54 -0500)]
Whitespace cleanups.

14 years agoClean up translations and tests.
Greg Sabino Mullane [Sat, 12 Feb 2011 18:09:15 +0000 (13:09 -0500)]
Clean up translations and tests.

14 years agoFix MRTG for check_locks.
Greg Sabino Mullane [Sat, 12 Feb 2011 17:49:10 +0000 (12:49 -0500)]
Fix MRTG for check_locks.

14 years agoMerge commit 'maletin/master'
Greg Sabino Mullane [Sat, 12 Feb 2011 13:22:35 +0000 (08:22 -0500)]
Merge commit 'maletin/master'

14 years agoFix MRTG for last_vacuum and last_analzye
Greg Sabino Mullane [Sat, 12 Feb 2011 04:56:08 +0000 (23:56 -0500)]
Fix MRTG for last_vacuum and last_analzye

14 years agoGive the correct message when there are non-excluded tables mixed with excluded
Greg Sabino Mullane [Sat, 12 Feb 2011 04:53:54 +0000 (23:53 -0500)]
Give the correct message when there are non-excluded tables mixed with excluded
ones in the last_vacuum and analzye actions. Per complaint and
solution provided by David E. Wheeler.

14 years agoRefactor archive_ready into wal_files
Greg Sabino Mullane [Sat, 12 Feb 2011 04:43:05 +0000 (23:43 -0500)]
Refactor archive_ready into wal_files

14 years agoFix the <IDLE>-state in Bug #43.
Martin von Oertzen [Fri, 11 Feb 2011 09:36:21 +0000 (09:36 +0000)]
Fix the <IDLE>-state in Bug #43.

14 years agoAdjust tests for new perfdata output.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:41:56 +0000 (13:41 -0500)]
Adjust tests for new perfdata output.

14 years agoBetter perfdata trailing semicolon cleanup.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:36:06 +0000 (13:36 -0500)]
Better perfdata trailing semicolon cleanup.

14 years agovalidate_integer_for_time now returns empty string not undef
Greg Sabino Mullane [Wed, 9 Feb 2011 18:13:05 +0000 (13:13 -0500)]
validate_integer_for_time now returns empty string not undef

14 years agoClean up sub name.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:11:25 +0000 (13:11 -0500)]
Clean up sub name.

14 years agoRemove unused transalation strings
Greg Sabino Mullane [Wed, 9 Feb 2011 18:09:51 +0000 (13:09 -0500)]
Remove unused transalation strings

14 years agoNew test stub.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:06:22 +0000 (13:06 -0500)]
New test stub.

14 years agoUpdate docs.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:04:07 +0000 (13:04 -0500)]
Update docs.

14 years agoFix the perflimit for the bloat action, per bug #50
Greg Sabino Mullane [Wed, 9 Feb 2011 15:18:06 +0000 (10:18 -0500)]
Fix the perflimit for the bloat action, per bug #50

14 years agoExclude idle in transaction from the query_time per bug #43.
Greg Sabino Mullane [Wed, 9 Feb 2011 14:36:33 +0000 (09:36 -0500)]
Exclude idle in transaction from the query_time per bug #43.
Since we've just overhauled this check, seems like a good a time
as any to make this change.

14 years agoNote recent changes.
Greg Sabino Mullane [Wed, 9 Feb 2011 13:40:45 +0000 (08:40 -0500)]
Note recent changes.

14 years agoLast of the major perfname tweaks
Greg Sabino Mullane [Wed, 9 Feb 2011 13:38:33 +0000 (08:38 -0500)]
Last of the major perfname tweaks

14 years agoLots more perfdata work
Greg Sabino Mullane [Wed, 9 Feb 2011 05:34:38 +0000 (00:34 -0500)]
Lots more perfdata work

14 years agoNew action: new_version_box, for the boxinfo.pl program.
Greg Sabino Mullane [Wed, 9 Feb 2011 05:24:08 +0000 (00:24 -0500)]
New action: new_version_box, for the boxinfo.pl program.

14 years agoMore perfdata work.
Greg Sabino Mullane [Wed, 9 Feb 2011 05:13:30 +0000 (00:13 -0500)]
More perfdata work.

14 years agoRemove debug string.
Greg Sabino Mullane [Wed, 9 Feb 2011 04:54:04 +0000 (23:54 -0500)]
Remove debug string.

14 years agoClean up hot_standby_delay perfdata
Greg Sabino Mullane [Wed, 9 Feb 2011 04:53:07 +0000 (23:53 -0500)]
Clean up hot_standby_delay perfdata

14 years agoDo not show the host if it's empty.
Greg Sabino Mullane [Wed, 9 Feb 2011 04:48:31 +0000 (23:48 -0500)]
Do not show the host if it's empty.
Do not show the perfdata divider if nothing is there.
More perfdata changes.

14 years agoMore performance data cleanup.
Greg Sabino Mullane [Wed, 9 Feb 2011 03:29:45 +0000 (22:29 -0500)]
More performance data cleanup.
Fix up the custom_query a lot.

14 years agoFix custom_query for MRTG, and do a proper performance data section.
Greg Sabino Mullane [Tue, 8 Feb 2011 23:05:30 +0000 (18:05 -0500)]
Fix custom_query for MRTG, and do a proper performance data section.

14 years agoNo need to go to 2.18.0 yet!
Greg Sabino Mullane [Tue, 8 Feb 2011 22:43:27 +0000 (17:43 -0500)]
No need to go to 2.18.0 yet!

14 years agoFix regex per bug #69
Peter Eisentraut [Tue, 8 Feb 2011 21:54:59 +0000 (16:54 -0500)]
Fix regex per bug #69

14 years agoFix spacing.
Greg Sabino Mullane [Tue, 8 Feb 2011 21:52:52 +0000 (16:52 -0500)]
Fix spacing.

14 years agoMore performance data enhancements.
Greg Sabino Mullane [Thu, 3 Feb 2011 18:44:18 +0000 (13:44 -0500)]
More performance data enhancements.

14 years agoMore performance data tweaking.
Greg Sabino Mullane [Thu, 3 Feb 2011 18:04:55 +0000 (13:04 -0500)]
More performance data tweaking.

14 years agoShow an "s" for perf output per Nagios guidelines.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:54:43 +0000 (12:54 -0500)]
Show an "s" for perf output per Nagios guidelines.

14 years agoMove the archive_ready sub up
Greg Sabino Mullane [Thu, 3 Feb 2011 17:48:13 +0000 (12:48 -0500)]
Move the archive_ready sub up

14 years agoBump vesion to 2.18.0, not recent changes
Greg Sabino Mullane [Thu, 3 Feb 2011 17:46:21 +0000 (12:46 -0500)]
Bump vesion to 2.18.0, not recent changes

14 years agoConsolidate txn_idle, txn_time, and query_time, with major cleanup.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:38:02 +0000 (12:38 -0500)]
Consolidate txn_idle, txn_time, and query_time, with major cleanup.
Add vv argument as shorthand for "very verbose"

14 years agoCleanup of txn_idle
Greg Sabino Mullane [Thu, 3 Feb 2011 16:32:29 +0000 (11:32 -0500)]
Cleanup of txn_idle

14 years agoShow information about the top offender for the txn_idle action.
Greg Sabino Mullane [Thu, 3 Feb 2011 16:11:12 +0000 (11:11 -0500)]
Show information about the top offender for the txn_idle action.
Clean up the tests.

14 years agoSpelling police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:59:03 +0000 (00:59 -0500)]
Spelling police.

14 years agoCuddle police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:58:03 +0000 (00:58 -0500)]
Cuddle police.

14 years agoReturn empty, not undef, for "ccount"
Greg Sabino Mullane [Thu, 3 Feb 2011 05:54:28 +0000 (00:54 -0500)]
Return empty, not undef, for "ccount"

14 years agoBump version and redo html docs.
Greg Sabino Mullane [Wed, 2 Feb 2011 22:35:13 +0000 (17:35 -0500)]
Bump version and redo html docs.

14 years agoAdd credit and bug numbers, bump version.
Greg Sabino Mullane [Wed, 2 Feb 2011 22:33:47 +0000 (17:33 -0500)]
Add credit and bug numbers, bump version.

14 years agoSupport non-standard version strings in the bloat check.
Michel Sijmons [Wed, 2 Feb 2011 22:30:01 +0000 (17:30 -0500)]
Support non-standard version strings in the bloat check.
With help from Gurjeet Singh

14 years agoSet maxliagn to 8 in the bloat check if box identified as '64-bit'
Michel Sijmons [Wed, 2 Feb 2011 22:27:22 +0000 (17:27 -0500)]
Set maxliagn to 8 in the bloat check if box identified as '64-bit'

14 years agoTypo.
Greg Sabino Mullane [Tue, 25 Jan 2011 23:49:35 +0000 (18:49 -0500)]
Typo.

14 years agoTypo.
Greg Sabino Mullane [Tue, 25 Jan 2011 23:45:55 +0000 (18:45 -0500)]
Typo.

14 years agoMake new_version_cp test work correctly for dot-zero revisions.
Greg Sabino Mullane [Tue, 25 Jan 2011 05:18:10 +0000 (00:18 -0500)]
Make new_version_cp test work correctly for dot-zero revisions.

14 years agoIn message string, $ should be $1
Greg Sabino Mullane [Tue, 25 Jan 2011 05:12:39 +0000 (00:12 -0500)]
In message string, $ should be $1

14 years agoThe wal_files check must take a positive integer, not just any ol' integer.
Greg Sabino Mullane [Tue, 25 Jan 2011 04:48:12 +0000 (23:48 -0500)]
The wal_files check must take a positive integer, not just any ol' integer.

14 years agoDuh
Greg Sabino Mullane [Tue, 25 Jan 2011 02:35:29 +0000 (21:35 -0500)]
Duh

14 years agoAllow check_txn_idle to accept multiple arguments, in "$int for $time" format.
David E. Wheeler [Tue, 25 Jan 2011 02:06:58 +0000 (21:06 -0500)]
Allow check_txn_idle to accept multiple arguments, in "$int for $time" format.
Add validate_integer_for_time() function.
Tests for the above.

14 years agoHave percent option check strip out the % char, for ease in future comparisons.
Greg Sabino Mullane [Mon, 24 Jan 2011 20:53:32 +0000 (15:53 -0500)]
Have percent option check strip out the % char, for ease in future comparisons.

14 years agoSpelling tweaks.
Greg Sabino Mullane [Mon, 24 Jan 2011 18:40:25 +0000 (13:40 -0500)]
Spelling tweaks.

14 years agoBump version to 2.17.0, not recent commit in changes.
Greg Sabino Mullane [Mon, 24 Jan 2011 17:37:44 +0000 (12:37 -0500)]
Bump version to 2.17.0, not recent commit in changes.

14 years agoDon't force percentage args to an int.
Greg Sabino Mullane [Mon, 24 Jan 2011 17:35:49 +0000 (12:35 -0500)]
Don't force percentage args to an int.

14 years agoAdd support for "and" and "or" to the critical/warnings options, with tests.
David E. Wheeler [Mon, 24 Jan 2011 17:34:37 +0000 (12:34 -0500)]
Add support for "and" and "or" to the critical/warnings options, with tests.

14 years agoMinor typos
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:39 +0000 (22:13 -0500)]
Minor typos

14 years agoNew signature
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:15 +0000 (22:13 -0500)]
New signature

14 years agoNew signature
Greg Sabino Mullane [Sat, 22 Jan 2011 03:13:04 +0000 (22:13 -0500)]
New signature

14 years agoNote need for Makefile.PL rebuild after changing version number. 2.16.0
Greg Sabino Mullane [Fri, 21 Jan 2011 04:39:18 +0000 (23:39 -0500)]
Note need for Makefile.PL rebuild after changing version number.

14 years agoSet release date.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:38:24 +0000 (23:38 -0500)]
Set release date.

14 years agoSymlink for local testing ease.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:36:47 +0000 (23:36 -0500)]
Symlink for local testing ease.

14 years agoTesting fixes.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:35:42 +0000 (23:35 -0500)]
Testing fixes.

14 years agoTypo.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:03:15 +0000 (23:03 -0500)]
Typo.

14 years agoLoosen regex in test.
Greg Sabino Mullane [Fri, 21 Jan 2011 04:02:41 +0000 (23:02 -0500)]
Loosen regex in test.

14 years agoMinor translation string cleanups.
Greg Sabino Mullane [Thu, 20 Jan 2011 22:08:26 +0000 (17:08 -0500)]
Minor translation string cleanups.

14 years agoCredit last change.
Greg Sabino Mullane [Thu, 20 Jan 2011 22:01:56 +0000 (17:01 -0500)]
Credit last change.

14 years agoDo not use tgisconstraint in Postgres 9.0+
Guillaume Lelarge [Thu, 20 Jan 2011 22:00:06 +0000 (17:00 -0500)]
Do not use tgisconstraint in Postgres 9.0+

14 years agoFrench transalations.
Guillaume Lelarge [Tue, 18 Jan 2011 04:08:29 +0000 (23:08 -0500)]
French transalations.

14 years agoRemove tab that snuck in.
Greg Sabino Mullane [Fri, 14 Jan 2011 01:22:34 +0000 (20:22 -0500)]
Remove tab that snuck in.

14 years agoAllow /usr/local/etc as an alternative location for the check_postgresrc file (Hywel...
Greg Sabino Mullane [Fri, 14 Jan 2011 01:22:07 +0000 (20:22 -0500)]
Allow /usr/local/etc as an alternative location for the check_postgresrc file (Hywel Mallett)

14 years agoBetter checks for the bloat check.
Greg Sabino Mullane [Fri, 14 Jan 2011 01:09:46 +0000 (20:09 -0500)]
Better checks for the bloat check.

14 years agoFix problem with going to next method for new_version_pg (bug #65)
Greg Sabino Mullane [Fri, 14 Jan 2011 01:07:44 +0000 (20:07 -0500)]
Fix problem with going to next method for new_version_pg (bug #65)

14 years agoMinor P::C inspired things.
Greg Sabino Mullane [Tue, 11 Jan 2011 04:35:13 +0000 (23:35 -0500)]
Minor P::C inspired things.

14 years agoSpelling fixes.
Greg Sabino Mullane [Sat, 8 Jan 2011 03:38:36 +0000 (22:38 -0500)]
Spelling fixes.

14 years agoAdd French translation placeholders.
Greg Sabino Mullane [Sat, 8 Jan 2011 03:32:19 +0000 (22:32 -0500)]
Add French translation placeholders.

14 years agoMerge branch 'master' of [email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Sat, 8 Jan 2011 03:13:25 +0000 (22:13 -0500)]
Merge branch 'master' of [email protected]:/var/lib/git/check_postgres

14 years agoUpdate docs, bump version to 2.16.0
Greg Sabino Mullane [Sat, 8 Jan 2011 03:13:02 +0000 (22:13 -0500)]
Update docs, bump version to 2.16.0

14 years agoNew action 'hot_standby_delay' from a very, very slightly modified patch from Nicolas...
Greg Sabino Mullane [Sat, 8 Jan 2011 03:08:21 +0000 (22:08 -0500)]
New action 'hot_standby_delay' from a very, very slightly modified patch from Nicolas Thauvin

14 years agoAdd comment clarifying the value measured by the 'checkpoint' action
David Christensen [Fri, 7 Jan 2011 05:25:27 +0000 (23:25 -0600)]
Add comment clarifying the value measured by the 'checkpoint' action

14 years agoAdd cache-busting for the version-grabbing utilities.
Greg Sabino Mullane [Tue, 4 Jan 2011 15:53:11 +0000 (10:53 -0500)]
Add cache-busting for the version-grabbing utilities.
Move the non-cache-busting methods to lower priorities.
Per mailing list post from Aleksey Tsaloli

14 years agoAdd release date for 2.15.4 and redo signatures. 2.15.4
Greg Sabino Mullane [Mon, 3 Jan 2011 19:08:32 +0000 (14:08 -0500)]
Add release date for 2.15.4 and redo signatures.