Apache ZooKeeper monitoring with Netdata
ZooKeeper
is a centralized service for maintaining configuration information, naming,
providing distributed synchronization, and providing group services.
This module monitors one or more ZooKeeper
servers, depending on your configuration.
#
RequirementsZookeeper
with accessible client port- whitelisted
mntr
command
#
ChartsIt produces the following charts:
- Outstanding Requests in
requests
- Requests Latency in
ms
- Alive Connections in
connections
- Packets in
pps
- Open File Descriptors in
file descriptors
- Number of Nodes in
nodes
- Number of Watches in
watches
- Approximate Data Tree Size in
KiB
- Server State in
state
#
ConfigurationEdit the go.d/zookeeper.conf
configuration file using edit-config
from the
Netdata config directory, which is typically at /etc/netdata
.
Needs only address
to server's client port. Here is an example for 2 servers:
For all available options, please see the module configuration file.
#
TroubleshootingTo troubleshoot issues with the zookeeper
collector, run the go.d.plugin
with the debug option enabled. The output
should give you clues as to why the collector isn't working.
First, navigate to your plugins directory, usually at /usr/libexec/netdata/plugins.d/
. If that's not the case on your
system, open netdata.conf
and look for the setting plugins directory
. Once you're in the plugin's directory, switch
to the netdata
user.
You can now run the go.d.plugin
to debug the collector: