summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorDavid E. Wheeler2013-09-24 23:27:22 +0000
committerDavid E. Wheeler2013-09-24 23:27:22 +0000
commit73ef506a6f35ffac5e1970549afb09ab4d8dad0b (patch)
tree5f58771db2d0f9294e2f2623e7725db76baef987 /check_postgres.pl
parent726e040ef82b9a6fce90664a0ae5c5b80b162e62 (diff)
--host2 and friends no longer work.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 4dd84552b..d0625bd07 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -9227,8 +9227,9 @@ line gives the name of the database.
=head2 B<replicate_row>
(C<symlink: check_postgres_replicate_row>) Checks that master-slave replication is working to one or more slaves.
-The slaves are specified the same as the normal databases, except with
-the number 2 at the end of them, so "--port2" instead of "--port", etc.
+
+The first "--dbname", "--host", and "--port", etc. options are considered the
+master; subsequent uses are the slaves.
The values or the I<--warning> and I<--critical> options are units of time, and
at least one must be provided (no defaults). Valid units are 'seconds', 'minutes', 'hours',
or 'days'. Each may be written singular or abbreviated to just the first letter.