Book Image

Monitoring Hadoop

By : Aman Singh
Book Image

Monitoring Hadoop

By: Aman Singh

Overview of this book

Table of Contents (14 chapters)

HBase Nagios monitoring


To monitor HBase master and region servers, there are Nagios plugins that can be downloaded from the exchange.nagios.org website and configured to monitor the HBase components. The plugins can be downloaded from https://github.com/harisekhon/nagios-plugins. As discussed in the earlier chapters, each check needs to be defined with a service on the Nagios master and a corresponding NRPE check must be configured on the client hosts. For example, the check_hbase_tables_jsp.pl check can be used to check for HBase connectivity and table states by using the JSP interface of the HBase server.

In addition to this, HBase comes with a tool called hbase hbck, which provides a lot of useful information about the state of the master and each region server. This command lists a lot of information about the tables; we can filter out the ROOT and META tables by using a custom plugin and use it to pull the status to Nagios.

As usual, first define a service for this in the Nagios server...