15.10. The Advisors Tab

Note

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 through the MySQL Enterprise website.

The MySQL Enterprise Advisors are grouped into the following categories:

  • Administration:

    • Better manage databases.

    • Suggest improvements for smoother operation.

  • Cluster:

    • Shows the up/down status of Cluster data nodes.

    • Alert you when data node and index node memory runs low.

    • Alert you when Redo and Undo buffer and log space runs low.

  • Heat Chart:

    • Drive the status indicators in the Heat Chart.

    • Identify up/down status and performance issues.

  • Memory Usage:

    • Indicate how efficiently you are using various memory caches, such as the InnoDB buffer cache, MyISAM key cache, query cache, table cache, and thread cache.

  • Performance:

    • Identify potential performance bottlenecks.

    • Make suggestions for improved database speed.

  • Replication:

    • Identify replication bottlenecks.

    • Improve replication design.

  • Schema:

    • Identify schema changes.

    • Find security loopholes.

  • Security:

    • Protect MySQL servers.

    • Find security loopholes.

  • Upgrade:

    • Checks if your current MySQL version has critical issues and requires an update.

    • Something else.

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. Find below the rule for discovering a root account with no password.

<ITEM>
  <NAME>no_root_password</NAME>
  <FIELD>no_password</FIELD>
  <SCOPE>table</SCOPE>
  <CODE>
    <![CDATA[SELECT COUNT(*) AS no_password FROM mysql.user WHERE user='root' AND password='']]>
  </CODE>
  <NAMESPACE>mysql</NAMESPACE>
  <RETURNS>INTEGER</RETURNS>
  <SOURCE>table</SOURCE>
  <INSTANCE>mysql.user</INSTANCE>
</ITEM>

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.

Copyright © 2010-2024 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout