OPS635 Lab 5: Nagios Installation and Configuration
In an enterprise environment, a production server must be staged before deployment. Any upgrade to the production servers must be tested in a testing environment and signed off by the change manager(s) before deploying to the production environment. In this lab, you will install and configure the Nagios monitoring framework on a VM running on your testing environment before deploying it to the production environment.
Investigation 1: Manual Nagios Installation
Clone your existing VM. Call the new VM nagios.<yourdomain>.ops, and provide it a static address of your choice.
- Add the necessary records for this machine to your DNS server.
- Install and configure Nagios on this machine.
- Configure your Nagios to monitor the following host(s)/service(s):
- Seneca host(s)/Service(s):
- If either of these services go into a hard-fail state, nagios should send you an email.
Investigation 2: Scripted Nagios Installation
- Clone your existing VM again. Call the new VM nagiosclone.<yourdomain>.ops, and provide it a static address of your choice.
- It is not necessary to add this machine to your DNS service.
- Write a script to automate the nagios configuration process you used in Investigation 1
- Test the script to ensure it will automatically configure a newly installed machine as a nagios server.
Demonstrate the your script working on a newly installed VM, and upload it to blackboard.