Bug #48193 Event notification emails have malformed Event URL
Submitted: 20 Oct 2009 18:12 Modified: 1 Dec 2009 12:55
Reporter: Marcos Palacios Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Server Severity:S3 (Non-critical)
Version:2.1.0.1093, 2.2.0.1515 OS:Any
Assigned to: Sloan Childers CPU Architecture:Any

[20 Oct 2009 18:12] Marcos Palacios
Description:
Event notification emails have Event URLs of the form:

http://events.action/?&severity=all&status=open&serverId=98312&ruleId=53&categoryId=4&limi...

http://events.action/?&severity=all&status=open&serverId=98312&ruleId=97&categoryId=5&limi...

When clicking on the URL, the browser does not know what to do with the url (due to "1/" below) so my ISP takes me over to a search page.

Comment from Dev:
It looks like there are two issues here:
1/ There is no host:port on the url,
2/ The query-params haven't been updated for the "forms" work, yet, so
they won't actually filter the results.

How to repeat:
- set up the svc mgr and an agent
- set up the email notification parameters and a notification group
- schedule some rules with email notification
- wait to receive a notification email
- inspect the email Event link

Suggested fix:
- update the url to solve the 2 issues in the Description above
[21 Oct 2009 2:51] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified as reported in builds 2.1.0.1093 and 2.2.0.1515.
[22 Oct 2009 19:35] Enterprise Tools JIRA Robot
Sloan Childers writes: 
hostname:port fixed in 2.1 and 2.2/trunk... event filter parameters fixed in 2.2/trunk
[22 Oct 2009 21:42] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.2.0.1516.
[23 Oct 2009 2:07] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified fixed in Monitor build 2.2.0.1516. This applies to 2.2 Alpha I.

Leaving issue in AIB (QAT), waiting for a 2.1.x build to test it there (see "hostname:port fixed in 2.1" comment above).
[17 Nov 2009 19:54] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.1.1.1108.
[18 Nov 2009 5:44] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified fixed in Monitor build 2.1.1.1108.
[1 Dec 2009 12:55] MC Brown
A note has been added to the 2.1.1 and 2.2.0 changelogs.
[1 Dec 2009 12:57] MC Brown
A note has been added to the 2.1.1 and 2.2.0 changelogs.