Bug #42403 | Agent database connection logging | ||
---|---|---|---|
Submitted: | 28 Jan 2009 9:04 | Modified: | 29 Jan 2009 11:10 |
Reporter: | Roger David Nay | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S4 (Feature request) |
Version: | 2.0+ | OS: | Any |
Assigned to: | Kay Roepke | CPU Architecture: | Any |
[28 Jan 2009 9:04]
Roger David Nay
[28 Jan 2009 11:06]
Kay Roepke
A patch for this is pending. Log output will be like below. The agent does not distinguish between initial connect and reconnects, but instead always use the same message, showing either the hostname/port or the socket path it used to connect to the database. Logging on connection errors is unaffected by this change. 2009-01-28 12:03:00: (critical) agent_mysqld.c:632: successfully connected to database at 127.0.0.1:3306 as user merlin_usage (with password: YES)
[28 Jan 2009 22:37]
Bill Weber
verified fixed (logging added) in build 2.0.4.7141
[29 Jan 2009 11:10]
Tony Bedford
An entry was added to the 2.0.4 changelog: The Service Agent did not log connections to, and disconnects from, the monitored database. This meant it was not possible to check if the Agent was connected to the database by simply looking at the log file.