Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
dashboards
docs
img
20-zookeeper.conf
LICENSE
README.md
meta.yaml

README.md

Zookeeper

Metadata associated with SignalFx's integration with Zookeeper can be found here. The relevant code for the plugin can be found here.

DESCRIPTION

This is a collectd plugin for getting metrics and information from ZooKeeper servers, based on the ZooKeeper monitoring script check_zookeeper.py.

FEATURES

Built-in dashboards
  • Zookeeper Nodes: Overview of data from all Zookeeper nodes.

  • Zookeeper Node: Focus on a single Zookeeper node.

REQUIREMENTS AND DEPENDENCIES

This plugin requires:

Software Version
collectd 4.9+
Python plugin for collectd (included with SignalFx collectd agent)
Python 2.6+
Zookeeper 3.4.0+

Note:

  • 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, or stat (fetches extra uneeded data but available pre-3.3).

INSTALLATION

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.

  1. Download the collectd-zookeeper Python module.

  2. Download SignalFx’s sample configuration file to /etc/collectd/managed_config.

  3. Modify the configuration file as described in Configuration below.

  4. Restart collectd.

CONFIGURATION

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)

USAGE

Sample of built-in dashboard in SignalFx:

METRICS

For documentation of the metrics and dimensions emitted by this plugin, click here.

LICENSE

This integration is released under the Apache 2.0 license. See LICENSE for more details.