What Happened Above Explained

After installing PNP4Nagios we added some commands and configured the nagios.cfg file. The above commands were making changes to the files in a default install of Nagios. As a reference, here is what was done:

In the file /usr/local/nagios/etc/objects/commands.cfg we added the following commands: