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

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
34950

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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