Bug #23639 Filter events by rule group
Submitted: 25 Oct 2006 17:35 Modified: 31 Oct 2006 4:41
Reporter: Sheeri Cabral (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S2 (Serious)
Version:mysqlnetwork-0.6.33 OS:Linux (Fedora Core 3 (i386))
Assigned to: Joshua Ganderson CPU Architecture:Any

[25 Oct 2006 17:35] Sheeri Cabral
Description:
Under "Events", when I filter, I'd like to be able to filter not just by single rule, but by rule group.  (multiple rules would be nice too, something where the user can select more than one rule, but a rule group would help for starters)

How to repeat:
Click on the "Events" tab.  Use the "Rule" pulldown, note that you can only filter on one rule at a time, and there are headings for the different rule groups.

Suggested fix:
Make the headings for the groups clickable, and search for all events that fall under that rule group.

Alternatively, make the pull-down pop a SELECT box up where the user can select multiple rules.  (To make it snazzy, clicking on the header in the SELECT box would select all the rules in that group.  That way a user could SHIFT-click and CTRL-click their way to a custom filter).
[25 Oct 2006 17:36] Sheeri Cabral
(just an update to put in the version and OS)
[25 Oct 2006 17:41] Joshua Ganderson
This should be supported in the UI already, just select and advisor and keep the rule dropdown at all rules. However, I receive an error when doing this in the current build.

C:\dev\merlin-1.0\trunk\gui\php\lib\Merlin\View\Events\index.php(87): __error_handler(8, 'Undefined index...', 'C:\dev\merlin-1...', 87, Array)
[25 Oct 2006 17:44] Sheeri Cabral
Ah, I see that it is there, under "Advisors".  That's pretty unclear.  Perhaps change the header to "Advisor:  Replication" instead of "Replication" ??
[25 Oct 2006 17:52] Sheeri Cabral
Joshua,

For what it's worth, I had no errors when filtered by "Advisor" in my version of mysqlnetwork.

I definitely suggest a stronger association that Advisor=Rule Group
[25 Oct 2006 18:11] Joshua Ganderson
The reported error only occurs when attempting to filter on an advisor that has no rules. It appears that our expected set of advisors has been hard coded for the advisor dropdown. I will only populate this dropdown with found advisors.

Regarding the rename of this dropdown, I will escalate for a decision on that one.
[25 Oct 2006 18:41] Gary Whizin
Advisors on these page function as filter "categories". With current time limits and html controls, will try to address by making labels and dropdown options more clear
[25 Oct 2006 19:21] Joshua Ganderson
Patch in review that addresses labeling and stability prior to advisor bundle install.
[27 Oct 2006 20:23] Joshua Ganderson
committed
[31 Oct 2006 4:13] Bill Weber
Verified the specified changes in build 7.16.