Difference between revisions of "OPS635-lab-nagios"

From CDOT Wiki
Jump to: navigation, search
(Switching from PDF to wiki lab)
 
m (Updating lab number for fall 2019)
Line 1: Line 1:
 
[[Category:OPS635]][[Category:OPS635-Labs]][[Category:peter.callaghan]]
 
[[Category:OPS635]][[Category:OPS635-Labs]][[Category:peter.callaghan]]
=OPS635 Lab 5: Nagios Installation and Configuration=
+
=OPS635 Lab 1: Nagios Installation and Configuration=
 
==Overview==
 
==Overview==
 
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.
 
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.

Revision as of 18:01, 3 September 2019

OPS635 Lab 1: Nagios Installation and Configuration

Overview

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):
    • scs.senecac.on.ca
    • ict.senecacollege.ca
  • 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.

Submission

Demonstrate the your script working on a newly installed VM, and upload it to blackboard.