summaryrefslogtreecommitdiff
path: root/check_postgres.pl
AgeCommit message (Collapse)Author
2015-04-15Fix issues with latest changes to check_sequence and run_command:glyn
check_sequence - Split big UNION of sequence selects into chunks to avoid overrunning system argument size run_command - If we have specified a "target" database, skip all others in global targetdb list
2015-04-15Change the way tables are quoted in replicate_row.glynastill
Change the way tables are quoted in replicate_row to allow for tables with schema name.
2015-03-23Query all sequences per DB in parallel for action=sequenceChristoph Berg
action=sequence used to open a new session for every sequence checked, which could be very slow. Fix by creating a single SQL statement using UNION ALL to query all sequences at once.
2014-11-01Allow optional space before 'QUERY PLAN'Greg Sabino Mullane
2014-11-01Use Data::Dumper when showing full output on a failed parse, as this is more ↵Greg Sabino Mullane
often than not a complex structure.
2014-10-30Grrr...account for trailing whitespace in psql table outputGreg Sabino Mullane
2014-10-30Thanks a lot, Postgres. Now featuring whitespace in psql output that has ↵Greg Sabino Mullane
never been there before.
2014-10-30Merge dbname2, host2, etc. into the new array method.Greg Sabino Mullane
2014-10-30Quote values in error message when replicate_row failsGreg Sabino Mullane
2014-09-08Fix bloat check to use correct SQL depending on the server version.Christoph Berg
Previously it used the psql version which might differ when multiple versions are installed locally, or when querying remote servers. The hot_standby_delay check is also affected, but more involved to fix, so leave that for later. Adrian Vondendriesch
2014-07-14Show OS on failure-to-parse errorsGreg Sabino Mullane
2014-07-14When we fail to parse the psql output, show the entire output string rather ↵Greg Sabino Mullane
than just the failing line, to better aid in debugging as recently seen on the list.
2014-07-03Improved multi-slave support in replicate_row.Andrew Yochum
2014-07-03Merge branch 'space_error' of https://github.com/jeffjanes/check_postgresGreg Sabino Mullane
2014-07-03Merge branch 'master' of https://github.com/terrorobe/check_postgresGreg Sabino Mullane
Conflicts: check_postgres.pl
2014-07-03Merge branch 'query-time-show-query' of https://github.com/petere/check_postgresGreg Sabino Mullane
2014-07-03Declare POD encoding to be utf8Christoph Berg
2014-06-12Add xact timestamp support to hot_standby_delayJosh Williams
Allow the hot_standby_delay check to accept xlog byte position or timestamp lag intervals as thresholds, or even both at the same time.
2014-06-11Show actual long-running query in query_time outputPeter Eisentraut
2014-06-11fix & extend hot_standby_delay documentationMichael Renner
This should also account for all places where the refactoring of the numbered dbparameters (host2, port2, etc.) was referenced in the documentation. Drop the TODO entry.
2014-05-21Don't swallow space before the -c flag when reporting errorsJeff Janes
2014-02-18Start 2.21.1 notesGreg Sabino Mullane
2014-02-18Add an ORDER BY to the slony_status check to account for cases in whichJeff Frost
there is more than one node in replication; we want to report on the most lagged server.
2013-10-09'no warnings' makes Perl::Critic cry. Try a different way.Greg Sabino Mullane
2013-09-24--host2 and friends no longer work.David E. Wheeler
2013-09-24Eliminate some "Use of uninitialized value" warnings.David E. Wheeler
2013-09-24Get rid of number opts in docs.David E. Wheeler
2013-09-24`curl` does not like `=` between an option and its value.David E. Wheeler
This gets the `t/02_new_version_cp.t` to pass on systems that use `curl`.
2013-09-24Whitespace2.21.0Greg Sabino Mullane
2013-09-24Remove the no warnings hack.Greg Sabino Mullane
2013-09-24Version bump, better binmodeGreg Sabino Mullane
2013-09-23Spelling fixesGreg Sabino Mullane
2013-09-23TypoGreg Sabino Mullane
2013-09-23Perl::Critic insipred fixesGreg Sabino Mullane
2013-09-23Minor translation fixesGreg Sabino Mullane
2013-09-22Bump version to 2.20.2Greg Sabino Mullane
2013-09-19Fix same_schema check on 9.3 by ignoring relminmxid differences in pg_classChristoph Berg
2013-09-19Setting SKIP_NETWORK_TESTS will skip the new_version testsChristoph Berg
Build daemons for Debian packages might not have network access, so provide a way to disable the tests depeding on networking
2013-09-19Install man page in section 1Christoph Berg
Peter Eisentraut, bug 53, github issue 26
2013-09-18Add a changelog entry for the locks fixChristoph Berg
2013-09-18Sort lock types so the output ordering is predicatableChristoph Berg
2013-08-28Credit recent change.Greg Sabino Mullane
2013-08-28Update check_postgres.plmintsoft
Fixing issue with SQL steps in check_pgagent_jobs for jobs which perform deletes, these return non-0 yet are still successful. Behaviour should now be that <>0 on batch is a failure, but only -1 is a failure for sql steps.
2013-06-25Let's get 2.20.1 out the doorGreg Sabino Mullane
2013-06-25Bump version to 2.20.1; update docsGreg Sabino Mullane
2013-06-25Update credits.Greg Sabino Mullane
2013-06-25Better "simple" outputGreg Sabino Mullane
2013-06-24Don't compare the new 'relallvisible' ccolumnGreg Sabino Mullane
2013-05-08Credit recent changeGreg Sabino Mullane
2013-05-08Remove host reordering in hot_standby_delay checkJosh Williams
This was resulting in the master queries being sent to the replica and vice versa, if the replica is listed first. Will probably still want to reorder the hosts in output (or just list them all) later. Thanks to Jacobo Blasco for debug assistance.