Zookeeper Data Collector
Contributors Download PDF of this page
Cloud Insights uses this data collector to gather metrics from Apache Zookeeper.
From Admin > Data Collectors, click +Data Collector. Under Services, choose Apache Zookeeper.
Select the Operating System or Platform on which the Telegraf agent is installed.
If you haven’t already installed an Agent for collection, or you wish to install an Agent for a different Operating System or Platform, click Show Instructions to expand the Agent installation instructions.
Select the Agent Access Key for use with this data collector. You can add a new Agent Access Key by clicking the + Agent Access Key button. Best practice: Use a different Agent Access Key only when you want to group data collectors, for example, by OS/Platform.
Follow the configuration steps to configure the data collector. The instructions vary depending on the type of Operating System or Platform you are using to collect data.
At a minimum, you need to whitelist the Zookeeper four letter server commands mntr, srvr, and stat.
You can enable these commands using the following format: 4lw.commands.whitelist=mntr, srvr, stat in the zoo.cfg file.
There may be other four letter commands that are required in your configuration. See the Zookeeper documentation for more information.
Objects and Counters
The following objects and their counters are collected:
Approximate Data Size
Additional information may be found from the Support page.