20.1 代理健康顾问

Agent Health Advisor 监视监视代理的资源使用情况、通信状态、积压和内存使用情况。

Agent Health Advisor 配置对话框分为以下功能区域:

一般的

General 部分定义了 CPU 和 RAM 使用阈值。如果定义的阈值被 CPU 或 RAM 使用率打破,这些阈值将生成事件。两个阈值定义都使用移动平均窗口。尽管可以为移动平均窗口使用非常小的值,但建议使用大于秒的大值。

图 20.1 代理运行状况 - 常规

内容在周围的文字中描述。

  • 代理 CPU 阈值:使您能够定义 CPU 使用百分比的阈值。默认值为 Critical at 10% usage。

  • 内存使用阈值(允许的最大值的百分比):使您能够将 RAM 使用阈值定义为分配给监视代理的最大堆大小的百分比。默认值是:

    • 注意 = 70

    • 警告 = 85

    • 关键= 90

沟通

Communication 部分定义代理和 MySQL Enterprise Service Manager 之间的延迟和 HTTP 错误的阈值。

图 20.2 代理运行状况 - 常规

内容在周围的文字中描述。

  • Agent Latency Thresholds: enables you to define thresholds for time difference between the time the data was collected and the time MySQL Enterprise Service Manager received the collected data. This can be caused by clocks that are not synchronized, network problems, and so on. The default values are:

    • Warning = 1 minute

    • Critical = 10 minutes

    Important

    Under certain circumstances, such as MySQL Enterprise Service Manager experiencing heavy load, events can be raised for Agent host time out of sync relative to dashboard. These can occur even though both MySQL Enterprise Service Manager and the monitored host are synchronized with the same time server and no time-synchronization problems exist.

    The Agent Health Advisor compares the time on the MySQL Enterprise Service Manager against the time on the monitored host. If no time-synchronization issues exists, these false positive events are auto-closed.

  • HTTP Error Thresholds (% of total requests): enables you to define thresholds for number of HTTP errors as a percentage of the total number of HTTP requests. The default values are:

    • Notice = 10

    • Warning = 20

    • Critical = 30

Backlog

If the monitoring agent is unable to communicate with the MySQL Enterprise Service Manager, it stores the collected data in memory up to a limit of 10MB, then on the filesystem, up to a limit of 10MB, giving a total limit of backlog storage of 20MB. If the limit is reached, backlog data is dropped.

Figure 20.3 Agent Health - Backlog

内容在周围的文字中描述。

  • Backlog Memory Usage Thresholds (% of max allowed):使您能够定义 backlog 使用的 RAM 量的阈值,作为允许的最大 RAM 的百分比,10MB。默认值为 Warning = 80,对应于使用 8MB 的 RAM。

  • Backlog Disk Usage Thresholds (% of max allowed):使您能够为积压使用的磁盘空间量定义阈值,作为允许的最大磁盘空间 10MB 的百分比。默认值为 Warning = 80,对应于已使用 8MB 的磁盘空间。