Databases

check_hbase_cell.pl (Advanced Nagios Plugins Collection)

Description:

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

Current Version

Last Release Date

January 9, 2014

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_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
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
27,124