Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hbase_cell_stargate.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
27279
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
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
Reviews (0)
Be the first to review this listing!