This topic provides an overview of the monitoring for the ZooKeeper service.

Prerequisites

A Kafka, Zookeeper,Flink or Druid cluster is created.

Enter the ZOOKEEPER Monitoring page

  1. Log on to the Alibaba Cloud E-MapReduce console.
  2. Click the Monitor tab.
  3. In the left-side navigation pane, click Cluster Monitoring.
  4. On the Cluster Status page that appears, find the target Kafka cluster and click Details in the Action column.
  5. In the left-side navigation pane, choose Service Monitoring > ZooKeeper to enter the ZOOKEEPER Monitoring page.

ZOOKEEPER Monitoring page

The ZOOKEEPER Monitoring page displays recent alerts and exceptions and information of each Zookeeper process for the ZooKeeper service.

The following table describes the parameters related to each Zookeeper process.

Parameter Description
Instance Name The name of a Zookeeper process. Click the name to view monitoring details.
Leader/Follower The role of a Zookeeper process. Valid values:
  • Follower
  • Leader
Port Status The port status of a Zookeeper process. Green indicates that the port is normal. Red indicates that the port is abnormal.
CPU The CPU utilization of a Zookeeper process.
Memory The memory usage of a Zookeeper process.
Note The settings of the parameters described in this table support playback.

Monitoring details page for Zookeeper

On the ZOOKEEPER Monitoring page, you can click a name in the Zookeeper section to enter the monitoring details page for a required Zookeeper process.Zookeeper section
  • Zookeeper Core Indicators section
    • Latency: Latency items include Maximum Latency, Minimum Latency, and Average Latency.
    • Packets: Packet items include Packets Received and Packets Sent.
    • Alive Connections: the number of active connections.
    • Outstanding Requests: the number of outstanding requests.
    • File Descriptors:
      • Max file descriptor: the maximum number of file descriptors that a Zookeeper process can use.
      • Open file descriptor: the number of file descriptors that are in use.
  • Zookeeper Process History section
    Parameter Description
    Date The time when an operation is performed.
    Start/Restart/Stop The operation type, which can be start, stop, or restart.
    Auto Resume Whether an operation is automatically resumed by the keepalive mechanism of EMR. The EMR agent automatically resumes components that exit abnormally to ensure service availability.
    Started By The Linux user who performs an operation. This parameter is left empty for a process in the Stop state.
    PID The ID of a process generated in an operation. This parameter is left empty for a process in the Stop state.
    PPID The ID of a parent process generated in an operation. This parameter is left empty for a process in the Stop state.
    Startup Parameters The detailed start parameters for a process generated in an operation. This parameter is left empty for a process in the Stop state.