MXS-1405: Document script_timeout
Documented the new parameter and added a section to the release notes about the changes in the monitor scripts.
This commit is contained in:
parent
fe40511d97
commit
513060039e
@ -87,6 +87,15 @@ 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
|
||||
```
|
||||
|
||||
### `script_timeout`
|
||||
|
||||
The timeout for the executed script in seconds. The default value is 90
|
||||
seconds.
|
||||
|
||||
If the script execution exceeds the configured timeout, it is stopped by sending
|
||||
a SIGTERM signal to it. If the process does not stop, a SIGKILL signal will be
|
||||
sent to it once the execution time is greater than twice the configured timeout.
|
||||
|
||||
### `events`
|
||||
|
||||
A list of event names which cause the script to be executed. If this option is not defined, all events cause the script to be executed. The list must contain a comma separated list of event names.
|
||||
|
@ -17,6 +17,15 @@ Significant whitespace in object names is now deprecated. All object names
|
||||
squeezing repeating whitespace and replacing it with hyphens. If any
|
||||
object name conversions take place, a warning will be logged.
|
||||
|
||||
### Monitor Scripts
|
||||
|
||||
The execution of monitor scripts has been made synchronous. This means
|
||||
that a monitor will wait until the executed script is done or until a
|
||||
timeout is exceeded. The timeout is configurable with the `script_timeout`
|
||||
parameter.
|
||||
|
||||
For more information, refer to the [monitor documentation](../Monitors/Monitor-Common.md).
|
||||
|
||||
### Read-only Administrative Users
|
||||
|
||||
Users that can only perform read-only operations can be created with `add
|
||||
|
Loading…
x
Reference in New Issue
Block a user