Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
All environments
-
MXS-SPRINT-181, MXS-SPRINT-182
Description
Heading was: Define a set of common options for MaxScale Monitors
Hi Team,
Currently I have a number of monitors and services that all share the same config options.. Is it possible to define a set of common options. For example I define two monitors like,
[app1-monitor]
|
type=monitor
|
module=mariadbmon
|
servers=app1
|
user=maxscale_monitor
|
password=etcetc
|
monitor_interval=2000 |
backend_connect_timeout = 3 |
backend_connect_attempts = 5 |
|
[app2-monitor]
|
type=monitor
|
module=mariadbmon
|
servers=app2
|
user=maxscale_monitor
|
password=etcetc
|
monitor_interval=2000 |
backend_connect_timeout = 3 |
backend_connect_attempts = 5 |
|
Is it possible to compact this down to |
|
[app1-monitor]
|
servers=app1
|
include monitor-common <--- as an example
|
|
[app2-monitor]
|
servers=app2
|
include monitor-common <--- as an example
|
|
[monitor-common] <--- or some other keyword
|
type=monitor
|
module=mariadbmon
|
user=maxscale_monitor
|
password=etcetc
|
monitor_interval=2000 |
backend_connect_timeout = 3 |
backend_connect_attempts = 5 |