diff options
author | David E. Wheeler | 2013-09-24 23:20:46 +0000 |
---|---|---|
committer | David E. Wheeler | 2013-09-24 23:20:46 +0000 |
commit | f1b9f98cdc9cdbc511403fc26829f9efb1e229fd (patch) | |
tree | 69815674ce9354795b57245ef64b7f35f3535d60 /check_postgres.pl | |
parent | 18a85798c2a9b5426af39c1659f7bc242d1c24d3 (diff) |
Get rid of number opts in docs.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index de9e15379..571989624 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -9245,8 +9245,8 @@ never changed). There is a column named 'salesrep' that we are going to toggle from a value of 'slon' to 'nols' to check on the replication. We want to throw a warning if the replication does not happen within 10 seconds. - check_postgres_replicate_row --host=alpha --dbname=sales --host2=beta - --dbname2=sales --warning=10 --repinfo=orders,id,3,salesrep,slon,nols + check_postgres_replicate_row --host=alpha --dbname=sales --host=beta + --dbname=sales --warning=10 --repinfo=orders,id,3,salesrep,slon,nols Example 2: Bucardo is replicating a table named 'receipt' from host 'green' to hosts 'red', 'blue', and 'yellow'. The database for both sides is 'public'. @@ -9255,7 +9255,7 @@ the row we want to use has a value of 9, and the column we want to change for th test is called 'zone'. We'll toggle between 'north' and 'south' for the value of this column, and throw a critical if the change is not on all three slaves within 5 seconds. - check_postgres_replicate_row --host=green --port2=5455 --host2=red,blue,yellow + check_postgres_replicate_row --host=green --port=5455 --host=red,blue,yellow --critical=5 --repinfo=receipt,receipt_id,9,zone,north,south For MRTG output, returns on the first line the time in seconds the replication takes to finish. |