Zookeeper monitoring.

Monitor various attributes with our extensive out-of-the-box plugins support. Also, use our open ecosystem and create custom plugins to see the data you need. The feature comes for free along with our Server Monitoring capabilities.

Description:

Configure Zookeeper plugin to monitor the performance metrics of your Zookeeper service.

Zookeeper performance monitoring metrics:

Attributes Description
imok Denotes zookeeper status
zk_outstanding_requests Total number of outstanding requests
latency avg Average latency
connections Total number of connections
maxclientcnxns Total number of maximum client connections
maxsessiontimeout Maximum session time out value
minsessiontimeout Minimum session time out value
zk_packets_sent Total number of packets sent
zk_packets_received Total number of packets received

How it works?

  • Log-in to your Site24x7 account. Sign up here if you don't have one.
  • Download and install the latest version of Site24x7 Linux Agent
  • Install the Zookeeper plugin
  • The agent will execute the Zookeeper plugin and push the data to the Site24x7 server

Prerequisites:

  • Ensure that the Zookeeper service is installed and up and running

Zookeeper plugin installation:

  • Create a directory with the name "zookeeper", under Site24x7 Linux Agent plugin directory - /opt/site24x7/monagent/plugins/zookeeper
  • Download the file "zookeeper.py" from our GitHub repository and place it under the "zookeeper" directory
  • Commands to perform the above step:
  • cd /opt/site24x7/monagent/plugins/
    mkdir zookeeper
    cd zookeeper
    wget https://raw.githubusercontent.com/site24x7/plugins/master/zookeeper/zookeeper.py
  • Once the plugin file is downloaded, the agent will mark it up in the next data collection and you can view it in Site24x7 client

Zookeeper plugin configuration:

  • By default, the plugin will monitor Zookeeper instance that is configured on "localhost"
  • In order to change the monitoring configuration, go to plugins directory and edit the "#Config Section:" in zookeeper.py file
  • Zookeeper plugin file location - /opt/site24x7agent/monagent/plugins/zookeeper/zookeeper.py

    #Config Section:
    ZOOKEEPER_HOST='127.0.0.1'
    ZOOKEEPER_PORT=2181

Monitoring additional metrics:

  • To monitor additional metrics, edit the "zookeeper.py" file and add the new metrics that need monitoring
  • Increment the plugin version value in the file "zookeeper.py" to view the newly added metrics ( For e.g. Change the default plugin version from PLUGIN_VERSION = "1" to "PLUGIN_VERSION = "2")

Don't have a Site24x7 account? Sign up now!