Template built by

Telegraf Plugins used:

Included Resources:

  • 1 Telegraf Configuration
  • 1 Dashboards: 'zookeeper'
  • 1 Bucket: 'zookeeper'
  • 1 Label: 'zookeeper'

Quick Install

If you have your InfluxDB credentials configured in the CLI, you can install this template with:


Apache Zookeeper dashboard

What is Zookeeper?

Apache Zookeeper is an open-source project that centralizes configuration information, naming, synchronization, passwords, certs, and group services over large clusters in distributed systems, making configuration easier to manage with improved, more reliable propagation of changes. It is a distributed key-value store that maintains configuration information and enables highly reliable distributed coordination as well as provided distributed synchronization.

Integrated software suites have a single way they deal with coordination information such as configuration information, naming, distributed synchronization, and group services. Distributed apps do not. Since apps vary widely in how they integrate this information, many developers skip these services entirely, which makes their apps brittle. As soon as the configuration changes, the app breaks, and developers have to abandon their CLI to root out the problem.

Why Apache Zookeeper monitoring?

This InfluxDB template monitors your Apache Zookeeper instances to ensure they are running properly. As a critical component of your stack, it must be reliable with high availability.

The template offers insight to Zookeeper instances by watching for key performance metrics such as latency, live connections, and outstanding requests. The template gives observers the context to understand how issues have come about, so they can figure out how to prevent them next time.

It has key metrics instantly available, including latency, outstanding requests, network packets, and the number of "follower" servers. For example, you might watch the outstanding requests metric for signs that your servers aren't responding to requests.

Since Zookeeper propagates itself across multiple servers, it will keep functioning provided a majority of the servers are available. That means that it can be difficult to see when something is going wrong because the whole system doesn't grind to a halt. This template gives observers an early warning that some of the services aren't performing the way they should, so they can troubleshoot.

In the template, developers can easily add alerts for key points of failure, for example triggering Slack or email messages to support teams.

How to use the Apache Zookeeper Monitoring Template

Once your InfluxDB credentials have been properly configured in the CLI, you can install the Apache Zookeeper monitoring template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running Apache Zookeeper.

To find out more information about environmental variables within the Telegraf configuration, consult the following link.

Key Apache Zookeeper monitoring metrics to monitor

Some of the most important Apache Zookeeper monitoring metrics that you should proactively monitor include:

  • approximate_data_siz
  • avg_latency
  • ephemerals_count
  • max_file_descriptor_count
  • max_latency
  • min_latency
  • num_alive_connections
  • open_file_descriptor_count
  • outstanding_requests
  • packets_received
  • packets_sent
  • version
  • watch_count
  • znode_count
  • followers
  • synced_followers
  • pending_syncs

Related Resources

Create your own InfluxDB template

Watch the webinar “Create InfluxDB Templates to Make Operations Workflows and Use Cases Scalable and Reliable”.

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Apache Zookeeper Telegraf plugin

Learn more about the Zookeeper Telegraf plugin used in this InfluxDB template.

Scroll to Top