Nagios is a powerful open source cluster monitoring system. It can monitor not only hosts and servers but also interconnecting devices such as routers and switches. The alerting services provide notification mechanisms for fast response on system problems.
Designed to be a generic monitoring system, Nagios can be configured to monitor Hadoop clusters. In this recipe, we will outline steps to configure Nagios for Hadoop cluster monitoring.
Perform the following steps before monitoring a Hadoop cluster with Nagios:
To get started with Nagios monitoring, we need to install it first. On CentOS and other Red Hat-compatible Linux systems, we can use the following
yum
command to install Nagios:sudo yum install nagios nagios-plugins
This command will automatically install the dependency software packages such as
libgd
andlibgd-devel
. After installation, the Nagios configuration files will be under the/etc/nagios
directory and the Nagios daemon...