Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1933

maxscale starts monitoring not included servers in the service monitor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 2.2.9
    • Fix Version/s: N/A
    • Component/s: galeramon
    • Labels:
      None
    • Environment:
       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                 │      │
      └─────────┴─────────────────┴──────┴─────────────┴─────────────────────────┴──────┘
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            winstone Zdravelina Sokolovska
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: