- Open - /etc/nagios/objects/hadoop-hosts.cfgwith a text editor.
- Create a " - define host { … }" entry for each host in your cluster using the following format:- define host { alias @HOST@ host_name @HOST@ use linux-server address @HOST@ check_interval 0.25 retry_interval 0.25 max_check_attempts 4 notifications_enabled 1 first_notification_delay 0 # Send notification soon after change in the hard state notification_interval 0 # Send the notification once notification_options d,u,r }
- Replace the " - @HOST@" with the hostname.


