Home Directory Plugins Databases check_hbase_cell.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


Remember Me

Directory Tree

check_hbase_cell.pl (Advanced Nagios Plugins Collection)

0 votes
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks a specific HBase table cell via the HBase Thrift API Server

1. reads a specified HBase cell given a table, row key and column family:qualifier
2. checks cell's returned value against expected regex (optional)
3. checks cell's returned value against warning/critical range thresholds (optional)
raises warning/critical if the value is outside thresholds or not a floating point number
4. outputs the connect+query time to a given precision for reporting and graphing
5. optionally outputs the cell's value for graphing purposes
Part of the Advanced Nagios Plugins Collection.

Download it here:


./check_hbase_cell.pl --help

usage: check_hbase_cell.pl [ options ]

-H --host HBase Thrift Server host ($HBASE_THRIFT_HOST, $HBASE_HOST, $HOST)
-P --port HBase Thrift Server port ($HBASE_THRIFT_PORT, $HBASE_PORT, $PORT, default: 9090)
-T --table Table to query
-R --row Row to query
-C --column Column family:qualifier to query
-e --expected Expected regex for the cell's value. Optional
-w --warning Warning threshold or ran:ge (inclusive)
-c --critical Critical threshold or ran:ge (inclusive)
-g --graph Graph the cell's value. Optional, use only if a floating point number is normally returned for it's values, otherwise will print NaN (Not a Number). The reason this is not determined automatically is because keys that change between floats and non-floats will result in variable numbers of perfdata tokens which will break PNP4Nagios
-u --units Units to use if graphing cell's value. Optional
-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