Changes

Jump to: navigation, search

OPS635-lab-nagios

706 bytes added, 16:28, 13 January 2020
m
Investigation 4: Nagios Remote Commands: - Adding content for investigation 4
==Investigation 4: Nagios Remote Commands==
* Under Construction* Clone your existing VM again. Call the new VM nagiosclonenagiosnrpe.<yourdomain>.ops, provide it a static address of your choice, and add it to your DNS server.* Install NRPE on nagiosclonenagiosnrpe.* Make sure to modify the NRPE configuration on nagiosnrpe to allow your nagios server to contact it.* Copy your check_sshd plugin to nagiosnrpe, making sure the user account for nrpe can run it. Note you will have to negotiate this with sudo and selinux.* Add a command to your nrpe configuration to allow remote execution of check_sshd.* Start and enable the service, and allow traffic to it through your firewall.* Back on your nagios server, add a new host definition for nagiosnrpe, and add a service that uses nrpe to run the check_sshd plugin on nagiosnrpe.* Ensure that the check runs correctly, then do something to intentionally make it fail (e.g. stop the sshd service), and ensure that that gets recorded too. 
==Submission==
Demonstrate the your script working on a newly installed VM, and upload it to blackboard.
932
edits

Navigation menu