2.3 The Advisors Tab

2.3.1 Installing and Updating Advisors
2.3.2 Scheduling Rules
2.3.3 Editing Built-in Rules

MySQL Enterprise subscription, MySQL Enterprise Monitor, MySQL Replication Monitor, and MySQL Query Analyzer are only available to commercial customers. To learn more, see: http://www.mysql.com/products/.

MySQL Enterprise Advisors are a series of scripts that gather information from your MySQL servers via the Service Manager and the Monitor Agents, analyze that information based on custom rules included as part of MySQL Enterprise Monitor, and then offer alerts and advice when necessary. As new rules are introduced, the MySQL Enterprise Advisors can be updated over the Web.

The MySQL Enterprise Advisors are classified under the following categories (advisor groups):

An advisor category provides a set of rules designed to enforce MySQL best practices for that specific category. Rules can be targeted to run at the individual server or group level and, upon rule violation, provide alerts and expert advice on how to address and correct a problem before it becomes a costly outage.

The file items-mysql-monitor.xml contains supplementary information used to construct rules. On Windows, this file is in the C:\Program Files\mySQL\Enterprise\Agent\share\mysql-monitor-agent directory and on Unix, in the /opt/mysql/enterprise/agent/share/mysql-monitor-agent directory. For example, the following rule detects a root account with no password.

    <![CDATA[SELECT COUNT(*) AS no_password FROM mysql.user WHERE user='root' AND password='']]>

Any MySQL Enterprise Monitor customer can use any of the available rules.

When the Dashboard is first installed, the only rules that are scheduled are those that belong to the Heat Chart group.

Go to the Advisors screen by logging in to the Dashboard and choosing the Advisors tab.