Home Directory Plugins Clustering and High-Availability check_hadoop_metrics.pl (Advanced Nagios Plugins Collection)

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.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
28186
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks metrics from a given Hadoop daemon's JMX /metrics page, supports JobTracker, TaskTracker, HBase Master & RegionServer
Part of the Advanced Nagios Plugins Collection, download it here:

https://github.com/harisekhon/nagios-plugins

./check_hadoop_metrics.pl --help

Nagios Plugin to parse metrics from a given Hadoop daemon's /metrics page

Currently supports metrics for sections:

JobTracker: jvm
mapred
fairscheduler (specify -m 'pool:::')

TaskTracker: jvm
mapred

HBase Master /
RegionServer: jvm
rpc
hbase (requires -m prefix of one of the following to disambiguate metrics since some appear in more than one section)
- 'master:',
- 'regionserver:'
- 'RegionServerDynamicStatistics:'


usage: check_hadoop_metrics.pl [ options ]

-H --host Host to connect to
-P --port Port to connect to (eg. JobTracker 50030, TaskTracker 50060, HBase Master 60010, HBase RegionServer 60030)
-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)
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit