Home Directory Plugins Others check Hadoop datanodes

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 Hadoop datanodes

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-09-29
Compatible With
  • Nagios 2.x
Hits
95972
Files:
FileDescription
check_hadoop_datanode.plcheck_hadoop_datanode.pl

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

Perl script to check the number of Hadoop Datanode alive
Perl script to check the number of Hadoop datanodes alive

useage:

Nagios Configuration
services.cfg

define service {
use generic-service
host_name [namenode's host]
service_description check_remote_datanode
contact_groups admins
check_command check_remote_datanode!15!13
}

above example says that:
check_remote_datanode returns
1 ("WARNING") if the number of datanodes alive is equal or less than 15
2 ("CRITICAL") if the number of datanodes alive is equal or less than 13
0 ("OK") if the number of datanodes alive is more than 15

commands.cfg
define command {
command_name check_remote_datanode
command_line /usr/local/bin/check_hadoop_datanode.pl $HOSTADDRESS$ $ARG1$ $ARG2$
}