#221: Expand Nagios Monitoring with Puppet - Jenrite/OE2-project-group-B GitHub Wiki

Add more hosts to /etc/puppetlabs/code/modules/nagios/manifests/config.pp

image

Then run sudo puppet agent --test and sudo systemctl restart nagios4.service

This applies the current config.pp file (also deletes any legacy hosts etc) After the hosts were added we make the hostgroups

{7674AD33-1378-4D86-8D7E-1B86059A0366}

We had a couple issues with these when we set it up, a couple typos. We just updated the file and and reset the .cfg files & restart the nagios4 service After the hostgroups had been created we made the services. We had another issue with services with the service not having enough permission to access the ssh servers, Rueben updated the mode to "0664" and it was resolved.

{B2B429C4-B90A-48F6-9925-FD43AC82FD4A}