#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
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
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.