Besides the health of the HBase-related daemons and their logs, what you might want to monitor is the overview of the current status of the cluster. This status basically includes:
The HBase
hbck
result showing whether the HBase tables are consistentThe Hadoop
fsck
result showing whether HDFS is healthyThe remaining HDFS space
In this recipe, we will create a check_hbase
Nagios plugin to perform the task of monitoring. We will install our check_hbase
plugin on the master node of the cluster, and remotely execute it with Nagios from the monitor server using the NRPE Nagios plugin.