This topic provides an overview of the monitoring for the ZooKeeper service.
A Kafka, Zookeeper, Flink or Druid cluster is created.
Enter the ZOOKEEPER Monitoring page
- Log on to the Alibaba Cloud E-MapReduce console.
- Click the Monitor tab.
- In the left-side navigation pane, click Cluster Monitoring.
- On the Cluster Status page that appears, find the target Kafka cluster and click Details in the Action column.
- In the left-side navigation pane, choose 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.
|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:
|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.|
Monitoring details page for Zookeeper
- 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.