Table of Contents [+/-]
MySQL Enterprise Monitor is a companion product for MySQL Server that monitors your MySQL instances, notifies you of potential issues and problems, and advises you how to fix the issues. MySQL Enterprise Monitor can monitor all kinds of configurations, from a single MySQL instance that is important to your business, all the way up to a huge farm of database server machines powering a busy web site.
This section describes the basic components that make up the MySQL Enterprise Monitor product. These components can be installed in various configurations depending on your own database and network topology, to give you the best combination of reliable and responsive monitoring data, with minimal overhead on the database server machines. A typical MySQL Enterprise Monitor installation consists of:
One or more MySQL instances to monitor. MySQL Enterprise Monitor can monitor both Community and Enterprise MySQL server releases.
A MySQL Enterprise Agent for each monitored host. A host can have one or more MySQL instances.
In MySQL Enterprise Monitor 2.3 and below, it was recommended to install one Agent per MySQL instance instead of one Agent per host.
A single MySQL Enterprise Service Manager, which collates information from the Agents and provides the user interface to the collected data through the web interface.
The structure of a typical MySQL Enterprise Monitor installation is shown in the following figure.
MySQL Enterprise Monitor can monitor one or more MySQL instances, on a single computer or spread across multiple host machines. The agent, MySQL Enterprise Agent, collects variables, status, and health information from MySQL instances and hosts, and sends this information to the MySQL Enterprise Service Manager. You typically have multiple MySQL Enterprise Agent processes, one monitoring each host.
The monitoring data is sent to the MySQL Enterprise Service Manager, which collates information from all the agents. The MySQL Enterprise Service Manager checks whether the values of status values are within reasonable limits. When thresholds are reached, the server can trigger an event (including a notification) to highlight a potential issue, such as low memory, high CPU usage, or more complex conditions such as insufficient buffer sizes and status information.
Advisors are a vital part of the MySQL Enterprise Service Manager, warning about potential problems and providing troubleshooting advice. All Advisors are enabled by default, and may be configured, and trigger events using the event handling mechanism.
You interact with the MySQL Enterprise Service Manager through a web interface, powered by an included web server. This interface, the MySQL Enterprise Monitor User Interface, displays the information collected by the Agents. You can view current status for individual MySQL servers or groups of servers. You control and configure all aspects of the service using the MySQL Enterprise Monitor User Interface.
The MySQL Enterprise Monitor User Interface can display statistical and query information as graphs. For example, you can produce graphs over time of aspects such as server load, query numbers, or index usage information. The graphs help to pinpoint the timeframes and trends related to potential issues.
The MySQL Enterprise Agent can also collect detailed information about database queries, including the row counts and performance times for executing each query. You can correlate the detailed query data with the graph information to identify which queries were executing when you experienced an issue. A system called Query Analyzer presents the query data in various ways.