Collector Type: Agent
Category: Application Monitors
Application Name: ZooKeeper
Global Template Name: Linux - Zookeeper Template
Introduction
ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services and is monitored through JMX. All these services are used in some form or other by distributed applications. Each time the services are implemented, a lot of effort goes into fixing the bugs and race conditions that are inevitable. As a result, the applications initially usually skimp on the services, which makes them brittle in the presence of change and difficult to manage. ZooKeeper aims at distilling the essence of these different services into a very simple interface to a centralized coordination service. The service itself is distributed and highly reliable.
Prerequisite: Please refer JMX Monitoring to enable JMX in the java application
Parameters
Name | Default Value | Description |
---|---|---|
IPAddress | 127.0.0.1 | IP Address on which the JMX listen |
Port | 7199 | JMX Listener port |
Username | NA | Username, if enabled in JMX |
Password | NA | Password, if enabled in JMX |
Java Bin Path | java | Password, if enabled in JMX |
Note: All field attributes are mandatory, use default values wherever applicable.
Collected Metrics
Metric Name | Display Name | Description |
---|---|---|
zookeeper.bytes_received | ZooKeeper Total Bytes Received | The number of bytes received. |
zookeeper.bytes_sent | ZooKeeper Total Bytes Sent | The number of bytes sent. |
zookeeper.packets_received | ZooKeeper Total Packets Received | The number of packets received. |
zookeeper.packets_sent | ZooKeeper Total Packets sent | The number of packets sent. |
zookeeper.connections | ZooKeeper Total Connections | The total count of client connections. |
zookeeper.latency.avg | ZooKeeper Average Request Latency | The amount of time it takes for the server to respond to a client request. |
zookeeper.latency.max | ZooKeeper Max Request Latency | The amount of time it takes for the server to respond to a client request. |
zookeeper.latency.min | ZooKeeper Min Request Latency | The amount of time it takes for the server to respond to a client request. |
zookeeper.nodes | ZooKeeper Total Node Count | The number of znodes in the ZooKeeper namespace. |
zookeeper.outstanding_requests | ZooKeeper OutStanding Requests | The number of queued requests when the server is under load and is receiving more sustained requests than it can process. |
zookeeper.zxid.count | ZooKeeper Zxid Count | Zxid Count. |
zookeeper.zxid.epoch | ZooKeeper Zxid Epoch | Zxid Epoch. |