Moved common monitor options to Monitor-Common.md
This commit is contained in:
@ -25,41 +25,9 @@ MariaDB [(none)]> grant replication client on *.* to 'maxscale'@'maxscalehost';
|
||||
Query OK, 0 rows affected (0.00 sec)
|
||||
```
|
||||
|
||||
## Optional parameters for all monitors
|
||||
## Common Monitor Parameters
|
||||
|
||||
Here are optional parameters that are common for all the monitors.
|
||||
|
||||
### `monitor_interval`
|
||||
|
||||
This is the time the monitor waits between each cycle of monitoring. The default value of 10000 milliseconds (10 seconds) should be lowered if you want a faster response to changes in the server states. The value is defined in milliseconds and the smallest possible value is 100 milliseconds.
|
||||
|
||||
```
|
||||
monitor_interval=2500
|
||||
```
|
||||
|
||||
### `backend_connect_timeout`
|
||||
|
||||
This parameter controls the timeout for connecting to a monitored server. It is in seconds and the minimum value is 1 second. The default value for this parameter is 3 seconds.
|
||||
|
||||
```
|
||||
backend_connect_timeout=6
|
||||
```
|
||||
|
||||
### `backend_write_timeout`
|
||||
|
||||
This parameter controls the timeout for writing to a monitored server. It is in seconds and the minimum value is 1 second. The default value for this parameter is 2 seconds.
|
||||
|
||||
```
|
||||
backend_write_timeout=4
|
||||
```
|
||||
|
||||
### `backend_read_timeout`
|
||||
|
||||
This parameter controls the timeout for reading from a monitored server. It is in seconds and the minimum value is 1 second. The default value for this parameter is 1 seconds.
|
||||
|
||||
```
|
||||
backend_read_timeout=2
|
||||
```
|
||||
For a list of optional parameters that all monitors support, read the [Monitor Common](Monitor-Common.md) document.
|
||||
|
||||
## MySQL Monitor optional parameters
|
||||
|
||||
|
Reference in New Issue
Block a user