Hi there --
I went through the motions of adding a new host. The sequence of that I used was to first create the host. When that was done, I went to an existing host that had the same series of checks that I wanted the new host to have associated with it. Using the advanced option, I cloned two services. After that, I ran the Generate Nagios Config, and there were no errors reported. The NagiosConfig.tgz file was duly copied to the /usr/local/nagios/etc/objects directory where it was untarred, and its contents placed at that location.
When I tried to restart Nagios, an error message indicating there was a problem with the hosts.cfg file appeared on-screen, and Nagios could not be started on the system. I was forced to restore a backup copy of the Nagios directory in order to get the application to run properly.
What did I do wrong here, and how can I prevent this from happening in the future?