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

MaxAdmin show monitor output missing formatting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: maxadmin
    • Labels:
      None

      Description

      When a monitor is setup and one runs "maxadmin show monitors" the following output is produced:

      Monitor: 0x1d70880
      	Name:                   mysql_monitor
      	Monitor running
      	Sampling interval:	1000 milliseconds
      	MaxScale MonitorId:	0
      	Replication lag:	disabled
      	Detect Stale Master:	enabled
      	Connect Timeout:	3 seconds
      	Read Timeout:		1 seconds
      	Write Timeout:		2 seconds
      	Monitored servers:	mariadb1:3306, mariadb2:3306, mariadb3:3306, mariadb4:3306, mariadb5:3306
      

      The "Monitor running" line is ambiguous. Should this be "State: Running" or similar? As well as solving ambiguity, It would be helpful if this was a key value like the rest of the items so it can be more easily machine parsed.

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            michael.danko Michael Danko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: