#209: Set Up Nagios Monitoring Using Puppet Module - Jenrite/OE2-project-group-B GitHub Wiki
First I set up my puppet directory as the lab instructs
Then in the manifests folder I created my .pp files
I wrote the install.pp script, based on the mariaDB lab documentation
After that I updated site.pp to include the nagios script but I had a typo writing include as incude casing this error
After fixing the typo the test ran fine
After the install.pp script was tested and functional Rueben began finished the service script
An updated site.pp to include service
And the agent test runs successfully
config.pp file in nagios manifests courtesy of Ola
This was then added to the init.pp file
Then run sudo puppet agent --test
on mgmt-b machine which creates /etc/nagios4/conf.d/ppy_hosts.cfg file
Followed up with sudo systemctl restart nagios4.service