Home Directory Plugins Clustering and High-Availability check_zookeeper.pl (Advanced Nagios Plugins Collection)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_zookeeper.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
40298
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
ZooKeeper Checks:

1. ruok - checks to see if ZooKeeper reports itself as ok
2. isro - checks to see if ZooKeeper is still writable
3. mode - checks to see if ZooKeeper is in the proper mode (leader/follower) vs standalone
4. avg latency - the average latency reported by ZooKeeper is within the thresholds given. Optional
5. stats - full stats breakdown
6. also reports ZooKeeper version
Part of the Advanced Nagios Plugins Collection, download it here:

https://github.com/harisekhon/nagios-plugins

./check_zookeeper.pl --help

Nagios Plugin to monitor Zookeeper

Checks:

1. ruok - checks to see if ZooKeeper reports itself as ok
2. isro - checks to see if ZooKeeper is still writable
3. mode - checks to see if ZooKeeper is in the proper mode (leader/follower) vs standalone
4. avg latency - the average latency reported by ZooKeeper is within the thresholds given. Optional
5. stats - full stats breakdown
6. also reports ZooKeeper version

usage: check_zookeeper.pl [ options ]

-H --host ZooKeeper Host to connect to
-P --port ZooKeeper Client Port to connect to (defaults to 2181)
-w --warning Warning threshold or ran:ge (inclusive) for avg latency
-c --critical Critical threshold or ran:ge (inclusive) for avg latency
-s --standalone OK if mode is standalone (by default expects leader/follower mode as part of a proper ZooKeeper cluster with quorum)
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit