Bug #37829 | MEM doesn't report a problem appropriately when the user and password are wrong | ||
---|---|---|---|
Submitted: | 3 Jul 2008 6:51 | Modified: | 12 Oct 2009 22:22 |
Reporter: | Akiko Yonemura | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Enterprise Monitor: Advisors/Rules | Severity: | S3 (Non-critical) |
Version: | MEM 1.3.2 | OS: | Any |
Assigned to: | Jan Kneschke | CPU Architecture: | Any |
Tags: | advisor, mem |
[3 Jul 2008 6:51]
Akiko Yonemura
[5 Aug 2008 20:28]
Bill Weber
closing this as a bug - may be considered a suggestion
[16 Dec 2008 6:57]
Meiji KIMURA
I try to reproduce the same behavior under MEM 2.0. Once an agent can login to mysql server to be audited, Communication error could cause this error, 'MySQL Server Not Reachable'. But agent-instance.ini with wrong login information(e.g. wrong username or password), agent can activate, but dashboard don't report 'MySQL Server Not Reachable' nor 'Agent Not Communicating With Database Server'. Each events have a description like this, "Ensure that the agent has the correct login credentials (login and password). " This description mislead a user to occur events if a user use a wrong user or password. But at that time no event reported to Dashboard. And I don't understand a difference between 'MySQL Server Not Reachable' and 'Agent Not Communicating With Database Server'. I always see 'MySQL Server Not Reachable', but I have never seen 'Agent Not Communicating With Database Server'. What condition can that error occur?
[23 Jun 2009 16:59]
Enterprise Tools JIRA Robot
Gary Whizin writes: We're trying to freeze 2.1, so this is a good candidate for the first 2.1 maint release (can start on it when all 2.1 "by GA" tasks are done).
[9 Oct 2009 22:20]
Andy Bang
The Agent needs to login to the mysqld being monitored in order to correctly identify itself to the Dashboard (i.e. to get the UUID of the server from the mysql.inventory table). So you won't see this rule fire if you change the password and restart the agent. You will see this rule fire if you change the password of the MySQL user account that the agent is using *while the agent is running*. In other words: 1) Start an agent and see it in the Dashboard. 2) Login to the MySQL server being monitored by the agent and change the password for the agent account: SET PASSWORD FOR 'agent'@'localhost' = PASSWORD('newpass'); 3) Kill the agent's current login session so it must login again and re-authenticate itself 4) Wait a minute or two and you'll see the rule fire and show an event.
[12 Oct 2009 22:22]
Enterprise Tools JIRA Robot
Andy Bang writes: This has been split into the following: * 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 * EM-300/Bug #41630 - A more intelligent agent installer So we are closing this one now and tracking the others.