How Does eG Enterprise Monitor Apache Zookeeper?
eG Enterprise employs both agent-based and agentless approach to monitor the Apache Zookeeper server. However, the recommended monitoring approach is agent-based only. For agentless monitoring of Apache Zookeeper server, the eG agent should be deployed on a remote Windows host in the environment. For agent-based monitoring, make sure that the eG agent is deployed on the Apache Zookeeper server being monitored.
Pre-requisites for Monitoring Apache Zookeeper Using eG Enterprise
To enable the eG agent to monitor the Apache Zookeeper server, the following pre-requisites should be fulfilled:
-
For the eG agent to collect the required metrics, the eG agent communicates with the target Apache Zookeeper server with the privileges of a user who is able to connect via SSH. The user should be within the user group that is privileged to access the target Apache Zookeeper server.
- To collect the required metrics for the Zookeeper Client Connections and Zookeeper Status tests, the eG agent uses the REST APIs. For this, the eG agent should be able to connect to the port of the AdminServer. The default port of AdminServer is 8080.
- To collect the required metrics for the Zookeeper Logs and Zookeeper Workload tests, the eG agent reads the log files of the target Apache Zookeeper server specified in the test configuration page.
-
To collect JVM-related metrics, the eG agent connects to the JRE of the target Apache Zookeeper Server via JMX. By default, JMX support is enabled on the target Apache Zookeeper server. However, to enable the eG agent to use JMX, you need to configure the JVM tests with the correct JMX Remote Port - this is the port at which the JMX listens for requests from remote hosts.
Once the aforesaid requirement is fulfilled, the eG agent will report a plethora of useful metrics revealing the status, overall performance of the target Apache Zookeeper server as well as the throughput of the clients connected to the target server . These performance statistics are presented in the eG monitoring model using the hierarchical layer model representation (refer to Monitoring Apache Zookeeper).