3. Configuration File Locations

All Hadoop-specific configurations are added to Nagios through files prefixed with “hadoop-“ located in the /etc/nagios/objects directory of the Nagios Server host. The default general Nagios configuration file, nagios.cfg (in /etc/nagios), is set up to pick up the new Hadoop specific configurations from this directory.

Hadoop-specific plug-ins are stored in the Nagios plug-ins directory,/usr/lib64/nagios/plug-ins/.

By default, the Nagios server runs as a user named “nagios” which is in a group also named “nagios”. The user and group can be customized during the Ambari Cluster Install (Cluster Install Wizard > Customize Services > Misc). Once Nagios is installed, use Ambari Web to start and stop the Nagios server.


loading table of contents...