Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hadoop_metrics
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 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.
./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.
Reviews (0)
Be the first to review this listing!