Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_jt.rb
1.0
2014-02-06
- Nagios 3.x
- Nagios 4.x
GPL
24178
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!
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.
Reviews (0)
Be the first to review this listing!