Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-23 | Change join to pg_user to a left join, as the database may be owned by a role. | Greg Sabino Mullane | |
Thanks to Emmanuel Lesouef for the bug report and help in tracking this down. There are probably other incorrect inner joins to pg_user in the code. | |||
2011-11-10 | Update history | Cédric Villemain | |
2011-11-10 | Add MRTG to test for settings_checksum | Cédric Villemain | |
2011-11-10 | Add a test for checkpoint and --assume-standby-mode | Cédric Villemain | |
2011-11-10 | Add cluster_id test | Cédric Villemain | |
for automatic testing too. | |||
2011-11-10 | Add an --assume-prod option | Cédric Villemain | |
This is based on --assume-standby-mode. Reduce the option name per suggestion from Greg (but I kept the original one for standby mode). The option is only used in check_postgres_checkpoint and allows to confirm or emit a critical if the server is not in the expected mode. Note: this can be used in other places, and maybe improved (to reduce the number og open_controldata calls) TODO/FIXME: * I found that --assume-p or --assume-s are viewed by GetOpt like the longer version of the option, a bug ? * The original code to call pg_controldata does not work in French (because of regex/locale). Why not use LANG=C in those checks where there is NO point to use locale and error prone regex ? | |||
2011-11-10 | Reduce code duplicates around pg_controldata | Cédric Villemain | |
Use the open_controldata where pg_controldata was used previously. Also split the code for make_sure_standby_mode to reduce code for the future option make_sure_prod. | |||
2011-11-10 | Add a check cluster_id | Cédric Villemain | |
This check is responsible to confirm that the Database System Identifier found by pg_controldata is the one expected. warning and critical allowed (like check_postgres_checksum) and must be run on PostgreSQL server (like check_postgres_checkpoint) While here, I created a new function open_controldata which can be used in other places where pg_controldata is used. | |||
2011-10-08 | Note last changes | Greg Sabino Mullane | |
2011-10-08 | Create a man 3 entry | Greg Sabino Mullane | |
2011-10-08 | We already have check_postgres.pl listed as an EXE, so prevent Makefile from ↵ | Greg Sabino Mullane | |
putting it into the Perl lib path as well. | |||
2011-10-08 | Fix typo. | Greg Sabino Mullane | |
2011-10-07 | Fix uninitialized string warnings when host or port not specified (eg using ↵ | Mike Blackwell | |
dbservice) | |||
2011-10-06 | Redo latest orderby tweaks | Greg Sabino Mullane | |
2011-10-06 | Credit last patch | Greg Sabino Mullane | |
2011-10-06 | Show dbservice if used at start of same_schema header. | Mike Blackwell | |
2011-10-06 | Credit bloat change. | Greg Sabino Mullane | |
2011-10-06 | Get version 2.18.1 ready | Greg Sabino Mullane | |
2011-10-06 | Use the full path when getting sequence information for same_schema. | Greg Sabino Mullane | |
Thanks to Cindy Wise for the bug report. | |||
2011-10-06 | Show bloat when indexes are high too | Greg Sabino Mullane | |
2011-10-05 | Update french translation. | Guillaume Lelarge | |
2011-10-05 | Fix query_time action when using --dbservice option | Guillaume Lelarge | |
When using --dbservice option, $db->{dbname} is not set. So the $whodunit variable initialization should first check if the $db->{dbname} is set. Actually, we only initialize it for the MRTG output as it is not important in the Nagios output. | |||
2011-10-04 | Fix query time action | Jehan-Guillaume (ioguix) de Rorthais | |
The query_time action works before 8.1 if the query doesn't include the xact_start column. But we need this column for the txn_time action. So, I changed the query so that the query_time can work with 8.1 and upwards, and that the txn_time works with 8.3 and upwards. | |||
2011-10-03 | Allow the check of multiple db with connection action | Guillaume Lelarge | |
We still stop at the first error. Per request from Aziz Boultabi. | |||
2011-10-02 | PGP sig for 2.18.0 | Greg Sabino Mullane | |
2011-10-02 | Final tweaks for 2.18.02.18.0 | Greg Sabino Mullane | |
2011-10-02 | Signature for 2.18.0 | Greg Sabino Mullane | |
2011-09-28 | Spellcheck updates | Greg Sabino Mullane | |
2011-09-28 | Message/translation cleanups. | Greg Sabino Mullane | |
2011-09-11 | Typo. | Greg Sabino Mullane | |
2011-09-03 | Fix some "make test" issues | Guillaume Lelarge | |
* backends test issue Critical and warning values were wrong for the negative number check. And the output message for the --include check was wrong too. * check_replicate_row issue The UPDATE must be executed on the first server only. * fsm_pages and fsm_relations test issue The version test (ie max_fsm_* not available on 8.4 and later releases) must be done earlier. * doc test issue check_standby_mode rename to make_sure_standby_mode because all check_* functions are expected to have documentation, but check_standby_mode is an internal function. * another doc test issue pgbouncer_checksum documentation wasn't at the right location. * drop_schema_if_exists issue There was an unexpected return in the middle of the function, and so the schema was never dropped. | |||
2011-08-29 | New french update | Guillaume Lelarge | |
2011-08-19 | Note latest changes. Quick document of same_schema --replace | Greg Sabino Mullane | |
2011-08-19 | Fix space in perfdata for hot_standby_delay action. | Nicolas Thauvin | |
2011-08-18 | Don't allow this test unless in RELEASE mode. | Greg Sabino Mullane | |
2011-08-01 | Note the special ignore/exclude handling in the bloat routine, per ↵ | Greg Sabino Mullane | |
discussion on the mailing list. | |||
2011-07-27 | New option "replace" to allow replacing the audit file after a run. | Greg Sabino Mullane | |
2011-07-27 | More prosrc filtering tweaks. | Greg Sabino Mullane | |
2011-07-12 | Don't tell us about the sequence number changing over time! | Greg Sabino Mullane | |
2011-07-12 | Support per-version SQL for same_schema action. | Greg Sabino Mullane | |
2011-07-12 | Use the entire sub call for the "totaltime" counter for same_schema. | Greg Sabino Mullane | |
2011-07-12 | Do not show connection variants for historical database. | Greg Sabino Mullane | |
2011-07-12 | Switch around probin munging. | Greg Sabino Mullane | |
2011-07-11 | Credit last commit | Greg Sabino Mullane | |
2011-07-11 | Fix typo in dbstats action. | Stas Vitkovsky | |
2011-07-05 | Clean up all versions of test database dirs and their sockets. | Greg Sabino Mullane | |
2011-07-05 | Keep the fake schema around, as we modify search_path with ALTER USER | Greg Sabino Mullane | |
2011-07-04 | Various testing fixes. | Greg Sabino Mullane | |
2011-07-04 | The database name is not always available (e.g. check_checkpoint) | Greg Sabino Mullane | |
2011-07-04 | Tweak backend tests to account for new output | Greg Sabino Mullane | |