[MXS-977] MaxAdmin show monitor output missing formatting Created: 2016-11-16  Updated: 2016-11-18  Resolved: 2016-11-18

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Bug Priority: Minor
Reporter: Michael Danko (Inactive) Assignee: markus makela
Resolution: Fixed Votes: 0
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.



 Comments   
Comment by markus makela [ 2016-11-18 ]

The status is now printed in the key: value format.

Generated at Thu Feb 08 04:03:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.