Add missing parameters to alter monitor
The `script_timeout` and `journal_max_age` parameters weren't handled in the monitor alteration code. Also added missing documentation to maxadmin help output for `alter monitor`.
This commit is contained in:
@ -1584,12 +1584,15 @@ struct subcommand alteroptions[] =
|
||||
"KEY=VALUE List of `key=value` pairs separated by spaces\n"
|
||||
"\n"
|
||||
"All monitors support the following values for KEY:\n"
|
||||
"user Username used when connecting to servers\n"
|
||||
"password Password used when connecting to servers\n"
|
||||
"monitor_interval Monitoring interval in milliseconds\n"
|
||||
"backend_connect_timeout Server coneection timeout in seconds\n"
|
||||
"backend_write_timeout Server write timeout in seconds\n"
|
||||
"backend_read_timeout Server read timeout in seconds\n"
|
||||
"user Username used when connecting to servers\n"
|
||||
"password Password used when connecting to servers\n"
|
||||
"monitor_interval Monitoring interval in milliseconds\n"
|
||||
"backend_connect_timeout Server coneection timeout in seconds\n"
|
||||
"backend_write_timeout Server write timeout in seconds\n"
|
||||
"backend_read_timeout Server read timeout in seconds\n"
|
||||
"backend_connect_attempts Number of re-connection attempts\n"
|
||||
"journal_max_age Maximum age of server state journal\n"
|
||||
"script_timeout Timeout in seconds for monitor scripts\n"
|
||||
"\n"
|
||||
"This will alter an existing parameter of a monitor. To remove parameters,\n"
|
||||
"pass an empty value for a key e.g. 'maxadmin alter monitor my-monitor my-key='\n"
|
||||
|
Reference in New Issue
Block a user