Home Directory Plugins Databases check_hbase_cell_stargate.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_hbase_cell_stargate.pl (Advanced Nagios Plugins Collection)

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
26961
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 Stargate REST 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 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:

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

./check_hbase_cell_stargate.pl --help

Another option is to use check_hbase_cell.pl / check_hbase_cell_thrift.pl which uses the Thrift API and has better error reporting

usage: check_hbase_cell_stargate.pl [ options ]

-H --host HBase Stargate Rest API server host ($HBASE_STARGATE_HOST, $HBASE_HOST, $HOST)
-P --port HBase Stargate Rest API server port ($HBASE_STARGATE_PORT, $HBASE_PORT, $PORT, default: 20550)
-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