Apache ZooKeeper is a popular service for maintaining configuration and coordinating distributed systems. ZooKeeper is used by technologies like Hadoop and Apache Solr to coordinate clusters and help them run reliably. Tanzu Observability supports a built-in integration that gets data from ZooKeeper using Telegraf. If you want to use collectd instead, follow the instructions on this page.
The collectd ZooKeeper plugin documentation can be found at collectd.conf(5) – collectd – The system statistics collection daemon.
- On your collectd host, copy the config below into
- Edit the settings in the file for your ZooKeeper servers.
- Restart collectd.
Example collectd Configuration
LoadPlugin "zookeeper" <Plugin "zookeeper"> Host "127.0.0.1" Port "2181" </Plugin>