Metadata associated with SignalFx's integration with Zookeeper can be found here. The relevant code for the plugin can be found here.
This is a collectd plugin for getting metrics and information from ZooKeeper servers, based on the ZooKeeper monitoring script check_zookeeper.py.
-
Zookeeper Nodes: Overview of data from all Zookeeper nodes.
-
Zookeeper Node: Focus on a single Zookeeper node.
This plugin requires:
Software | Version |
---|---|
collectd | 4.9+ |
Python plugin for collectd | (included with SignalFx collectd agent) |
Python | 2.6+ |
Zookeeper | 3.4.0+ |
- Requires ZooKeeper 3.4.0 or greater in order to use the
mntr
four letter word command. - If support for earlier versions is needed, add
srvr
command, available in since 3.3.0, orstat
(fetches extra uneeded data but available pre-3.3).
If you are using the new Smart Agent, see the docs for the collectd/zookeeper monitor for more information. The configuration documentation below may be helpful as well, but consult the Smart Agent repo's docs for the exact schema.
-
Download the collectd-zookeeper Python module.
-
Download SignalFx’s sample configuration file to
/etc/collectd/managed_config
. -
Modify the configuration file as described in Configuration below.
-
Restart collectd.
Using the example configuration file 20-zookeeper.conf as a guide, provide values for the configuration options listed below that make sense for your environment and allow you to connect to the Zookeeper instance to be monitored.
Setting | Description | Default |
---|---|---|
Hosts | Hostname where Zookeeper is running | "localhost" |
Port | port number for Zookeeper | 2181 |
Instance | Specify a cluster name | none (commented out) |
Sample of built-in dashboard in SignalFx:
For documentation of the metrics and dimensions emitted by this plugin, click here.
This integration is released under the Apache 2.0 license. See LICENSE for more details.