Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
2.2.9
-
None
-
CentOS 7.4; 1 MaxScale Node; 3 Master-Master Galera Nodes ;1 additional server
Description
maxscale starts monitoring not included servers in the service monitor
in the service monitor are included 3 servers : servers=server1,server2,server3,
but maxscale starts monitoring of all servers included in the [server] sections of cnf.
It would be expected to monitor only servers listed in the service monitors
There is only one service Monitor in the cfg
|
[Galera Monitor]
|
type=monitor
|
module=galeramon
|
servers=server1,server2,server3
|
user=root
|
passwd=1
|
monitor_interval=1000
|
|
|
server4 which is not included in the Service Monitor set of servers, is in maxctrl server list
|
|
[root@t4w1 ff1]# maxctrl list servers
|
┌─────────┬─────────────────┬──────┬─────────────┬─────────────────────────┬──────┐
|
│ Server │ Address │ Port │ Connections │ State │ GTID │
|
├─────────┼─────────────────┼──────┼─────────────┼─────────────────────────┼──────┤
|
│ server1 │ 192.168.104.193 │ 3306 │ 0 │ Slave, Synced, Running │ │
|
├─────────┼─────────────────┼──────┼─────────────┼─────────────────────────┼──────┤
|
│ server2 │ 192.168.104.195 │ 3306 │ 0 │ Slave, Synced, Running │ │
|
├─────────┼─────────────────┼──────┼─────────────┼─────────────────────────┼──────┤
|
│ server3 │ 192.168.104.196 │ 3306 │ 0 │ Master, Synced, Running │ │
|
├─────────┼─────────────────┼──────┼─────────────┼─────────────────────────┼──────┤
|
│ server4 │ 172.20.2.208 │ 3306 │ 0 │ Running │ │
|
└─────────┴─────────────────┴──────┴─────────────┴─────────────────────────┴──────┘
|
|