Greg Sabino Mullane [Thu, 30 Jun 2011 02:53:57 +0000 (22:53 -0400)]
Bump to 2.18.0.
Update Changes
Greg Sabino Mullane [Thu, 30 Jun 2011 02:37:17 +0000 (22:37 -0400)]
Spell check updates.
Greg Sabino Mullane [Thu, 30 Jun 2011 02:24:53 +0000 (22:24 -0400)]
Complete rewrite of the same_schema action.
Now supports >2 databases for comparison,
as well as "historical" comparisons of the same db over time!
Nicolas Thauvin [Mon, 27 Jun 2011 15:26:47 +0000 (17:26 +0200)]
Fix ORDER BY in the last vacuum/analyze action
Before this patch, the "ORDER BY" was on the relname column. This fixes it to
get an ORDER BY on the last time column, which is more interesting
(especially when you have a perflimit).
Nicolas Thauvin [Mon, 27 Jun 2011 15:05:54 +0000 (17:05 +0200)]
Fix check_hot_standby_delay perfdata output
There was a missing space in the perfdata output for this action.
Nicolas Thauvin [Mon, 27 Jun 2011 14:55:06 +0000 (16:55 +0200)]
Fix the archive_ready action
The .ready files are not in the pg_xlog directory, but in the
pg_xlog/archive_ready one. This patch adds another argument to the
check_wal_files() function so that it could find the subdirectory in which it
has to look for files.
Greg Sabino Mullane [Mon, 27 Jun 2011 14:50:48 +0000 (10:50 -0400)]
Rename recent tests: 'database' is implicit for most things.
Plus, I didn't want to have to re-line up everything inside $action_info :)
Guillaume Lelarge [Mon, 27 Jun 2011 14:15:54 +0000 (16:15 +0200)]
Add the hitratio action
This new action allows a user to track the hit ratio, ie the difference
between cache and disk reads, in each database.
Guillaume Lelarge [Tue, 19 Apr 2011 12:40:43 +0000 (14:40 +0200)]
Add the commitratio action
This new action allows a user to track the commit ratio, ie the difference
between commit and rollback, in each database.
Greg Sabino Mullane [Fri, 24 Jun 2011 17:50:55 +0000 (13:50 -0400)]
Make sure --action overrides the naming trick.
Greg Sabino Mullane [Wed, 22 Jun 2011 16:02:58 +0000 (12:02 -0400)]
Quick fix for cases when client_port is set to an empty string, per bug report 79 from Fabrice Metge
Greg Sabino Mullane [Tue, 21 Jun 2011 11:41:22 +0000 (07:41 -0400)]
Account for "empty row" -x output (especially in the source of functions).
May fix a recnt bug seen on the list.
Greg Sabino Mullane [Tue, 21 Jun 2011 11:29:29 +0000 (07:29 -0400)]
Merge branch 'master' of
[email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Tue, 21 Jun 2011 11:25:00 +0000 (07:25 -0400)]
Should be warning, not printing, here.
Greg Sabino Mullane [Tue, 21 Jun 2011 11:22:30 +0000 (07:22 -0400)]
Allow msg() non-matches to sometimes be non-fatal.
Greg Sabino Mullane [Tue, 21 Jun 2011 03:49:01 +0000 (23:49 -0400)]
Make a better (runable) output for the error report.
Guillaume Lelarge [Thu, 16 Jun 2011 20:09:04 +0000 (22:09 +0200)]
Small french update
Greg Sabino Mullane [Tue, 7 Jun 2011 03:28:13 +0000 (23:28 -0400)]
Allow unlimited number of databases, e.g. dbname2, dbname3, dbname4, ...
Greg Sabino Mullane [Tue, 31 May 2011 14:16:39 +0000 (10:16 -0400)]
On a parsing problem, output the Postgres version as well.
Greg Sabino Mullane [Tue, 31 May 2011 14:00:15 +0000 (10:00 -0400)]
Merge branch 'master' of
[email protected]:/var/lib/git/check_postgres
Greg Sabino Mullane [Tue, 31 May 2011 13:59:56 +0000 (09:59 -0400)]
Typo.
David E. Wheeler [Mon, 23 May 2011 17:07:41 +0000 (10:07 -0700)]
Increment to v2.17.1.
Greg Sabino Mullane [Mon, 23 May 2011 16:47:06 +0000 (12:47 -0400)]
Swap db1 and db2 if the slave is 1 for the hot standby check (David E. Wheeler)
Guillaume Lelarge [Fri, 22 Apr 2011 14:33:36 +0000 (10:33 -0400)]
Fix typo in check_wal_files.
Greg Sabino Mullane [Mon, 11 Apr 2011 16:09:55 +0000 (12:09 -0400)]
Merge commit 'petdance/master'
Greg Sabino Mullane [Mon, 11 Apr 2011 16:04:24 +0000 (12:04 -0400)]
Merge branch 'master' of
[email protected]:/var/lib/git/check_postgres
Andy Lester [Thu, 24 Mar 2011 15:32:27 +0000 (10:32 -0500)]
silence a warning by removing a "my"
Andy Lester [Thu, 24 Mar 2011 15:31:32 +0000 (10:31 -0500)]
fix the incorrect names of the data fields idxscan, idxtupread, etc
Joshua Tolley [Tue, 15 Mar 2011 20:30:55 +0000 (14:30 -0600)]
The last commit created a duplicate action; this removes it
Joshua Tolley [Tue, 15 Mar 2011 20:13:25 +0000 (14:13 -0600)]
Fix typo
Greg Sabino Mullane [Tue, 15 Mar 2011 00:13:13 +0000 (20:13 -0400)]
Quick fix
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.
Greg Sabino Mullane [Mon, 14 Mar 2011 22:43:05 +0000 (18:43 -0400)]
Tabs to spaces
Greg Sabino Mullane [Mon, 14 Mar 2011 22:38:32 +0000 (18:38 -0400)]
Minor cleanups to previous patch
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.
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.
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]>
Guillaume Lelarge [Fri, 11 Mar 2011 23:30:05 +0000 (18:30 -0500)]
French translations
Greg Sabino Mullane [Wed, 9 Mar 2011 02:42:09 +0000 (21:42 -0500)]
Credit last patch.
Andy Lester [Mon, 7 Mar 2011 17:54:57 +0000 (11:54 -0600)]
handle undef percents in check_fsm_relations
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.
Greg Sabino Mullane [Mon, 21 Feb 2011 04:59:11 +0000 (23:59 -0500)]
Spelling
Greg Sabino Mullane [Fri, 18 Feb 2011 03:05:01 +0000 (22:05 -0500)]
Fix up custom query test.
Greg Sabino Mullane [Thu, 17 Feb 2011 00:53:21 +0000 (19:53 -0500)]
More fixes to the MRTG action inside various actions.
Greg Sabino Mullane [Wed, 16 Feb 2011 17:54:54 +0000 (12:54 -0500)]
Whitespace cleanups.
Greg Sabino Mullane [Sat, 12 Feb 2011 18:09:15 +0000 (13:09 -0500)]
Clean up translations and tests.
Greg Sabino Mullane [Sat, 12 Feb 2011 17:49:10 +0000 (12:49 -0500)]
Fix MRTG for check_locks.
Greg Sabino Mullane [Sat, 12 Feb 2011 13:22:35 +0000 (08:22 -0500)]
Merge commit 'maletin/master'
Greg Sabino Mullane [Sat, 12 Feb 2011 04:56:08 +0000 (23:56 -0500)]
Fix MRTG for last_vacuum and last_analzye
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.
Greg Sabino Mullane [Sat, 12 Feb 2011 04:43:05 +0000 (23:43 -0500)]
Refactor archive_ready into wal_files
Martin von Oertzen [Fri, 11 Feb 2011 09:36:21 +0000 (09:36 +0000)]
Fix the <IDLE>-state in Bug #43.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:41:56 +0000 (13:41 -0500)]
Adjust tests for new perfdata output.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:36:06 +0000 (13:36 -0500)]
Better perfdata trailing semicolon cleanup.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:13:05 +0000 (13:13 -0500)]
validate_integer_for_time now returns empty string not undef
Greg Sabino Mullane [Wed, 9 Feb 2011 18:11:25 +0000 (13:11 -0500)]
Clean up sub name.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:09:51 +0000 (13:09 -0500)]
Remove unused transalation strings
Greg Sabino Mullane [Wed, 9 Feb 2011 18:06:22 +0000 (13:06 -0500)]
New test stub.
Greg Sabino Mullane [Wed, 9 Feb 2011 18:04:07 +0000 (13:04 -0500)]
Update docs.
Greg Sabino Mullane [Wed, 9 Feb 2011 15:18:06 +0000 (10:18 -0500)]
Fix the perflimit for the bloat action, per bug #50
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.
Greg Sabino Mullane [Wed, 9 Feb 2011 13:40:45 +0000 (08:40 -0500)]
Note recent changes.
Greg Sabino Mullane [Wed, 9 Feb 2011 13:38:33 +0000 (08:38 -0500)]
Last of the major perfname tweaks
Greg Sabino Mullane [Wed, 9 Feb 2011 05:34:38 +0000 (00:34 -0500)]
Lots more perfdata work
Greg Sabino Mullane [Wed, 9 Feb 2011 05:24:08 +0000 (00:24 -0500)]
New action: new_version_box, for the boxinfo.pl program.
Greg Sabino Mullane [Wed, 9 Feb 2011 05:13:30 +0000 (00:13 -0500)]
More perfdata work.
Greg Sabino Mullane [Wed, 9 Feb 2011 04:54:04 +0000 (23:54 -0500)]
Remove debug string.
Greg Sabino Mullane [Wed, 9 Feb 2011 04:53:07 +0000 (23:53 -0500)]
Clean up hot_standby_delay perfdata
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.
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.
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.
Greg Sabino Mullane [Tue, 8 Feb 2011 22:43:27 +0000 (17:43 -0500)]
No need to go to 2.18.0 yet!
Peter Eisentraut [Tue, 8 Feb 2011 21:54:59 +0000 (16:54 -0500)]
Fix regex per bug #69
Greg Sabino Mullane [Tue, 8 Feb 2011 21:52:52 +0000 (16:52 -0500)]
Fix spacing.
Greg Sabino Mullane [Thu, 3 Feb 2011 18:44:18 +0000 (13:44 -0500)]
More performance data enhancements.
Greg Sabino Mullane [Thu, 3 Feb 2011 18:04:55 +0000 (13:04 -0500)]
More performance data tweaking.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:54:43 +0000 (12:54 -0500)]
Show an "s" for perf output per Nagios guidelines.
Greg Sabino Mullane [Thu, 3 Feb 2011 17:48:13 +0000 (12:48 -0500)]
Move the archive_ready sub up
Greg Sabino Mullane [Thu, 3 Feb 2011 17:46:21 +0000 (12:46 -0500)]
Bump vesion to 2.18.0, not recent changes
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"
Greg Sabino Mullane [Thu, 3 Feb 2011 16:32:29 +0000 (11:32 -0500)]
Cleanup of txn_idle
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.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:59:03 +0000 (00:59 -0500)]
Spelling police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:58:03 +0000 (00:58 -0500)]
Cuddle police.
Greg Sabino Mullane [Thu, 3 Feb 2011 05:54:28 +0000 (00:54 -0500)]
Return empty, not undef, for "ccount"
Greg Sabino Mullane [Wed, 2 Feb 2011 22:35:13 +0000 (17:35 -0500)]
Bump version and redo html docs.
Greg Sabino Mullane [Wed, 2 Feb 2011 22:33:47 +0000 (17:33 -0500)]
Add credit and bug numbers, bump version.
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
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'
Greg Sabino Mullane [Tue, 25 Jan 2011 23:49:35 +0000 (18:49 -0500)]
Typo.
Greg Sabino Mullane [Tue, 25 Jan 2011 23:45:55 +0000 (18:45 -0500)]
Typo.
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.
Greg Sabino Mullane [Tue, 25 Jan 2011 05:12:39 +0000 (00:12 -0500)]
In message string, $ should be $1
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.
Greg Sabino Mullane [Tue, 25 Jan 2011 02:35:29 +0000 (21:35 -0500)]
Duh
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.
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.
Greg Sabino Mullane [Mon, 24 Jan 2011 18:40:25 +0000 (13:40 -0500)]
Spelling tweaks.
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.
Greg Sabino Mullane [Mon, 24 Jan 2011 17:35:49 +0000 (12:35 -0500)]
Don't force percentage args to an int.