Clustering and High-Availability

check_hbase_master_jmx.pl (Advanced Nagios Plugins Collection)

Description:

Nagios Plugin to parse metrics from a given Hadoop Master’s /jmx page

Current Version

Last Release Date

January 4, 2016

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection Download it here: https://github.com/harisekhon/nagios-plugins check_hbase_master_jmx.pl Nagios Plugin to parse metrics from a given Hadoop daemon's /jmx page Make sure you specify --mbean in prod, leave it out with --all-metrics and -vv only for exploring what is available. Nagios has a char limit and will truncate the output, and the perfdata at the end would be lost. Tested on Hadoop 2.6 / 2.7 NameNode & DataNode, HBase 0.98 Master & RegionServer on Hortonworks HDP 2.2 & HDP 2.3 usage: check_hbase_master_jmx.pl [ options ] -H --host HBase Master host ($HBASE_MASTER_HOST, $HBASE_HOST, $HOST) -P --port HBase Master port ($HBASE_MASTER_PORT, $HBASE_PORT, $PORT, default: 60010) -b --bean Bean to check (see --list-beans) -m --metrics Metric(s) to collect, comma separated. Output in the order specified for convenience. Optional thresholds will only be applied when a single metrics is given -a --all-metrics Grab all metrics. Useful if you don't know what to monitor yet or just want to graph everything -w --warning Warning threshold or ran:ge (inclusive) -c --critical Critical threshold or ran:ge (inclusive) -e --expected Expected string match when specifying a single field to check. Use this to check non-float fields such as settings eg. -b Hadoop:service=NameNode,name=NameNodeStatus -m State -e active --list-beans List all beans returned by HBase jmx page -t --timeout Timeout in secs (default: 10) -v --verbose Verbose mode (-v, -vv, -vvv ...) -h --help Print description and usage options -V --version Print version and exit
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
4,962