Home Directory Plugins Others check_hadoop_metrics

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

Directory Tree

check_hadoop_metrics

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-11-05
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
96397
Files:
FileDescription
check_hadoop_metrics.shcheck_hadoop_metrics.sh
Nagios CSP

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!
Checks the Metrics HTTP page of a Hadoop NameNode for a given performance metric.
Checks the /metrics page of a Hadoop NameNode for a given performance metric. Assumes you have exposed these metrics by uncommenting the requisite lines from $HADOOP_CONF/hadoop-metrics.properties and restarting your cluster.

./check_hadoop_metrics.sh --help

Usage: ./check_hadoop_metrics.sh [-H hostname] [-p port] [-C counter] [-b bias:gt|lt|na] [-w warn] [-c crit]
[-H | --hostname] Hostname of the NameNode.
[-p | --port] Port number of the NameNode.
[-C | --counter] Metric to monitor.
[-b | --bias] Evaluation bias: Greater-than (gt), Less-than (lt), Informative (na).
[-w | --warn] Warning threshold.
[-c | --crit] Critical threshold.

commands.cfg:

# Check Hadoop metrics via HTTP.
define command{
command_name check_hadoop_metrics
command_line $USER1$/check_hadoop_metrics.sh -H $HOSTALIAS$ -p 50070 -C $ARG1$ -b $ARG2$ -w $ARG3$ -c $ARG4$
}

Nothing fancy, just some processing on 'curl' command output. Designed with Hadoop in mind.