So, the monitoring server is now fully up and running, and so far it monitors one host—the monitoring server itself. What we are most interested in is monitoring the web server that we built in Chapter 3, My First Puppet Module. On a high level, the process is the following.
Let's tackle the first bullet point first and add the web server host and the checks for it on the Nagios Server.
Nagios resources such as hosts and checks have built-in resource types in Puppet. Nagios hosts are configured with the resource type called
nagios_host and checks are ...