summaryrefslogtreecommitdiff
path: root/check_postgres.pl
AgeCommit message (Collapse)Author
2013-05-01Credit the 9.2 fixesGreg Sabino Mullane
2013-05-01TypoGreg Sabino Mullane
2013-05-01Do things the right way and run different versions of the bloat query ↵Greg Sabino Mullane
depending on the target version.
2013-05-01Do not use pg_stats "inherited" column in bloat query, if the database is ↵Greg Sabino Mullane
8.4 or older. Technically, we are not checking the target's version.
2013-05-01Credit last changeGreg Sabino Mullane
2013-05-01bloat query: fix totalwastedbytesMichael Renner
totalwastedbytes returned only the number of wasted pages - fix that by multiplying with the blocksize
2013-05-01Credit last changeGreg Sabino Mullane
2013-04-01cause the --reverse flag to invert string comparisons in custom queriesNathaniel Waisbrot
2013-03-23Credit last changeGreg Sabino Mullane
2013-03-23Make sure connection checks return CRITICAL rather than UNKNOWN.Dominic Hargreaves
Patch by Dominic Hargreaves with minor tweaks by Greg Sabino Mullane. Thanks to Christoph Berg for the forward (this came in via the Debian bugs system)
2013-03-13Minor tweaks to get ready for 2.20.0Greg Sabino Mullane
2013-02-21Don't assume that everyone has a home. Per github issue #23Greg Sabino Mullane
2013-02-11Force slave to be defined, per github issue 19: ↵Greg Sabino Mullane
https://github.com/bucardo/check_postgres/issues/19
2013-02-11Adjust docs from earlier remote merge.Greg Sabino Mullane
2013-02-11 Fix the check_bloat SQL to take inherited tables into account, and assume ↵gp
2k for non-analyzed columns.
2013-02-11Credit recent change.Greg Sabino Mullane
2013-02-11Get rid of "uninitialized value" warnings.Henrik Ahlgren
2013-02-11Credit recent changeGreg Sabino Mullane
2013-02-11check_txn_idle: fix query_time --excludeuser queryMika Eloranta
Parenthesis are required: "a OR b AND usename <> 'foo'" -> "(a OR b) AND usename <> 'foo'" Fixes at least "query_time --includeuser/--excludeuser".
2013-02-11Credit recent changeGreg Sabino Mullane
2013-02-11Fix userclause handling in check_txn_idleMichael van Bracht
For databases > Postgrs 9.1, irrelevant records are discarded with two ORed conditions. This makes the optional userclause associate with the right hand side of the condition. The expression needs to be grouped to get the desired effect regardless of the evaluation of the previous condition.
2013-02-09Bump year to 2013 and some minor HTML adjustments.Greg Sabino Mullane
2012-12-27Make sure hot_standby_delay doesn't return negative valuesGuillaume Lelarge
Before this patch, the hot_standby_delay action could return negative values. To minimize the risk, we first query the slave, then the master. And to make sure, we never get negative values, we set them to zero if we have a negative value. Report and ideas from Filip Rembiałkowski.
2012-10-04Credit recent changeGreg Sabino Mullane
2012-10-04Make sure SQL2 is defined, per github issue 16Greg Sabino Mullane
2012-09-11Postgres 9.2 compatibilityJosh Williams
check_txn_idle and check_backends (and the backends test) have been updated to use the new pg_stat_activity. And check_disk_space now uses pg_tablespace_location().
2012-08-23Fix disk_space docsGuillaume Lelarge
Comments from Lance Raymond.
2012-05-31Begin support for new 9.2 pg_stat_activity.Greg Sabino Mullane
This is just the groundwork: it will not work, as we have to use the new 'state' column instead of parsing the text of current_query.
2012-05-28CreditsGreg Sabino Mullane
2012-05-28For the locks action, always output all databases with values of zero as ↵Greg Sabino Mullane
needed. Per request from the mailing list. Also adjust the help messages to use : as a separator, not ;
2012-05-28Merge remote branch 'f0rk/f0rk/empty_tables_bloat'Greg Sabino Mullane
2012-05-23Note that locks args can contain colons or semicolons or anything else: make ↵Greg Sabino Mullane
the docs use colons.
2012-05-21Add label for the recent next.Greg Sabino Mullane
2012-05-21Spelling fixesGreg Sabino Mullane
2012-05-21Cache our specific sequence information during same_schema.Greg Sabino Mullane
This greatly speeds things up for large schemas!
2012-05-17Merge remote branch 'bucardo/master' into f0rk/empty_tables_bloatRyan P. Kelly
2012-05-17Restore totalwastedbytesRyan P. Kelly
2012-05-13Merge remote branch 'f0rk/f0rk/ignore_temp_sequences'Greg Sabino Mullane
2012-05-10Cache the pg_typmod lookups.Greg Sabino Mullane
2012-05-09Make check_bloat gracefully deal with empty tablesRyan P. Kelly
2012-05-09Ignore sequences in the temporary namespaceRyan P. Kelly
2012-04-30Better --dbservice docs, as pointed out by Jason Ryan on the mailing list.Greg Sabino Mullane
2012-04-23Merge branch 'master' of bucardo.org:/var/lib/git/check_postgresGreg Sabino Mullane
2012-04-23Remove odd whitespace junk.Greg Sabino Mullane
2012-03-08Fix check_postgres_hitratio documentationChristoph Berg
check_postgres_hitratio was wrong called check_postgres_database_hitratio in the documentation.
2012-02-20Allow txn_idle to work again for < 8.3 servers by switching to query_time.Greg Sabino Mullane
2012-02-20Better detection of stats_command_string being off.Greg Sabino Mullane
Start work to allow txn_idle on old systems.
2012-02-20Cleaner "ERROR" outputGreg Sabino Mullane
2012-02-20Fix French UTF-8 character.Greg Sabino Mullane
2012-02-13Allow spaces within items within same_schema action.Greg Sabino Mullane
Bump version to 2.20.0