Skip to content

collectors ZookeeperCollector

Rob Smith edited this page Apr 19, 2013 · 2 revisions

ZookeeperCollector

Collect zookeeper stats. ( Modified from memcached collector )

Dependencies

  • subprocess

Example Configuration

ZookeeperCollector.conf

    enabled = True
    hosts = localhost:2181, app-1@localhost:2181, app-2@localhost:2181, etc

TO use a unix socket, set a host string like this

    hosts = /path/to/blah.sock, app-1@/path/to/bleh.sock,

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
hosts localhost:2181, List of hosts, and ports to collect. Set an alias by prefixing the host:port with alias@ list
measure_collector_time False Collect the collector run time in ms bool
publish Which rows of 'status' you would like to publish. Telnet host port' and type stats and hit enter to see the list of possibilities. Leave unset to publish all.

Example Output

__EXAMPLESHERE__

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally