Bug #48010 Service Manager should allow Agent to report problems when mysqld UUID not known
Submitted: 12 Oct 2009 21:44 Modified: 12 Oct 2009 21:47
Reporter: Andy Bang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Server Severity:S3 (Non-critical)
Version:2.1.0.1096 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[12 Oct 2009 21:44] Andy Bang
Description:
If the Agent can't login to the mysqld it is supposed to monitor, it can't get the UUID of the mysqld and thus can't (currently) report any problems to the Service Manager.  It can only log them in the Agent's local error log, so the problem is not very visible to the user.  We should allow the Agent to report such problems (e.g. if the login credentials are not correct) so it's easier for customers to see, diagnose, and fix certain problems.  See EM-2953/Bug #37829 for background information.

How to repeat:
Option 1
--------
1) Install an agent and give it the wrong login credentials for the mysqld it is supposed to monitor.
2) Start the agent.
3) Notice that nothing shows up in the Dashboard -- there's only a message in the Agent's error log indicating the problem.

Option 2
--------
1) Get everything working nicely, with an Agent showing up in a Dashboard.
2) Change the user or password in the Agent's etc/instances/mysql/agent-instance.ini file.
3) Restart the agent.
4) Notice that Agent still shows as "down" in the Dashboard -- there's only a message in the Agent's error log indicating the problem.
[12 Oct 2009 22:13] Enterprise Tools JIRA Robot
Andy Bang writes: 
This is one of three related issues:

* EM-3645/Bug #48010 - Service Manager should allow Agent to report problems when mysqld UUID not known
* EM-3646/Bug #48011 - Agent should report problems to Service Manager even when mysqld UUID not known
* EM-3647/Bug #48012 - Update "Agent Not Communicating..." rule with new data collection item

These (along with EM-300/Bug #41630 - A more intelligent agent installer) are meant to address EM-2935/Bug #37829 - MEM doesn't report a problem appropriately when the user and password are wrong.