Update launchable script documentation

Updated examples with new address formatting.
This commit is contained in:
Markus Mäkelä
2017-03-30 09:56:33 +03:00
parent cbc1e864d9
commit 70c834026c

View File

@ -57,7 +57,7 @@ The following substitutions will be made to the parameter value:
For example, the previous example will be executed as:
```
/home/user/myscript.sh initiator=192.168.0.10:3306 event=master_down live_nodes=192.168.0.201:3306,192.168.0.121:3306
/home/user/myscript.sh initiator=[192.168.0.10]:3306 event=master_down live_nodes=[192.168.0.201]:3306,[192.168.0.121]:3306
```
### `events`
@ -73,7 +73,7 @@ events=master_down,slave_down
Here is a table of all possible event types and their descriptions that the monitors can be called with.
Event Name |Description
----------|----------
------------|----------
master_down |A Master server has gone down
master_up |A Master server has come up
slave_down |A Slave server has gone down
@ -88,4 +88,3 @@ lost_ndb|A MySQL Cluster node lost node membership
new_master |A new Master was detected
new_slave |A new Slave was detected
new_ndb |A new MySQL Cluster node was found