
Java Applications and Servers
check_hadoop_jobtrackers
Description:
Improved script to check apache hadoop jobtracers.
Will parse the admin-webpage, and check number of trackers, blacklisted nodes, heap size and more.
Will output performancedata for nodes, blacklisted nodes, running jobs (map and reduce), capacity jobs (map/reduce) and heap size (used/max)
Current Version
0.3
Last Release Date
2011-11-27
Compatible With
- Nagios 3.x
Owner
Website
Download URL
License
GPL
Project Files
File | Description |
---|---|
check_hadoop_jobtracker.pl |
Project Notes
I made this little script, to parse output from the adminpage, normally found at http://jobtracker.company.com:50030/jobtracker.jsp
It will check for status, and number of machines, and also give performanceoutput.
Nagios-config would look something like this;
define service{
use generic_service
service_description Jobtracker
check_command check_jobtracker
hosts jobtracker.company.com
}
define command{
command_name check_jobtracker
command_line $USER1$/check_hadoop_jobtracker.pl -H jobtracker.company.com -w 50 -c 40 -b 1 -p 50030
}
Plugin takes these options:
check_hadoop_jobtracker v. 0.3
Copyright (c) 2011 Jon Ottar Runde, jru@rundeconsult.no
See http://www.rundeconsult.no/?p=66 for updated versions and documentation
Usage: -w -c -H -p [-v version] [-h help]
Checks several Hadoop hdfs-parameters
-H (--Host)
-p (--Port)
-w (--warning) = warning limit number of machines
-c (--critical) = critical limit number of machines (w > c )
-b (--blacklist) = Number of blacklisted nodes for CRITICAL warning (default=1)
-h (--help)
-v (--version)
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
82,697