Bug #40775 Provide rules to enable agents to be automatically added to server groups
Submitted: 17 Nov 2008 9:26 Modified: 30 Dec 2008 12:18
Reporter: Simon Mudd (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Server Severity:S4 (Feature request)
Version:2.0.0.7088 OS:Any
Assigned to: CPU Architecture:Any

[17 Nov 2008 9:26] Simon Mudd
Description:
We have many mysql servers whose names follow a predetermined format according to their "grouping".

It would be convenient when first setting up a server group to be able to determine a matching criteria (regexp?) for the hostname so that new hosts that are added to the system automatically get added to the specific server group if their name matches the expression.

e.g. our naming convention (slightly adjusted for this public forum) is of the form:

webXXX (web servers)    where XXX are 3 digits
devXXX (dev servers)     where XXX are 3 digits
xmlXXX (xml servers)    where XXX are 3 digits

or more realisitically

mcXXbprdb-YY where XX and YY are digits.

How to repeat:
Add lots of new agents and see how you have to add the servers to the appropriate server groups by hand. It's not always clear by looking at the server itself to which group(s) it belongs.

This server grouping is more important as the number of monitored servers increases.

Suggested fix:
Add some sort of "name matching rule" which can be applied to new servers which add added to the system.
[19 Jan 2009 12:20] Eric Herman
Similar to BUG#40783