2.5. Register the Hadoop Configuration Files

  1. Open /etc/nagios/nagios.cfg with a text editor.

  2. In the section “OBJECT CONFIGURATION FILE(S)”, add the following:

       # Definitions for hadoop servers
    cfg_file=/etc/nagios/objects/hadoop-commands.cfg
    cfg_file=/etc/nagios/objects/hadoop-hosts.cfg
    cfg_file=/etc/nagios/objects/hadoop-hostgroups.cfg
    cfg_file=/etc/nagios/objects/hadoop-services.cfg
    cfg_file=/etc/nagios/objects/hadoop-servicegroups.cfg

loading table of contents...