Others

check_jt.rb

Description:

Nagios plugin to check count of number of task trackers by parsing machines.jsp. Checked the script with different hadoop versions including CDH.

The script is written in Ruby and makes use of nokogiri gem for parsing machines.jsp.

Please install nokogiri gem before using the script.

The script has been tested using Ruby 1.9.3.

Help for running the script can be found by supplying -h argument to the script.

./check_jt.rb -h

Usage: check_jt.rb [options]
-u, –url URL URL of jobtracker
-w WARNINGNUMTTS, Warning Limit for number of TTs
–warningnumtts
-c, –criticaltts CRITICALTTS Critical Limit for number of TTs
-H, –help Display this screen

URL is the URL of the machines.jsp page. For e.g.

:

-w takes an argument which specifies minimum number of task trackers needed before warning alert is issued

-c takes an argument which specifies minimum number of task trackers needed before critical alert is issued

This script will identify blacklisted task trackers and will restart the task tracker process once again on them to bring them back online.

Current Version

1.0

Last Release Date

2014-02-06

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

License

GPL


Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
24,121