summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 0c08e8939..f7d21e4ca 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -8896,6 +8896,8 @@ The first time this is run a snapshot of all the items in the database is
saved to a local file. When you run it again, that snapshot is read in and
becomes "database #2" and is compared to the current database.
+To replace the old stored file with the new version, use the --replace argument.
+
To enable snapshots at various points in time, you can use the "--suffix"
argument to make the filenames unique to each run. See the examples below.
@@ -8920,9 +8922,9 @@ Example 5: Create a daily and weekly snapshot file
check_postgres_same_schema --dbname=cylon --suffix=daily
check_postgres_same_schema --dbname=cylon --suffix=weekly
-Example 6: Run a historical comparison
+Example 6: Run a historical comparison, then replace the file
- check_postgres_same_schema --dbname=cylon --suffix=daily
+ check_postgres_same_schema --dbname=cylon --suffix=daily --replace
=head2 B<sequence>
@@ -9398,6 +9400,8 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane).
Clean up the custom_query action a bit.
+ Fix space in perfdata for hot_standby_delay action (Nicolas Thauvin)
+
Handle undef percents in check_fsm_relations (Andy Lester)
Fix typo in dbstats action (Stas Vitkovsky)