IT3110 @ utahtech
Assignment
This assignment will hone your skills as a Python script writer.
Tasks
Create the following script using python:
You should begin with a hosts file that has the following format:
host1:process_to_check
host2:process_to_check
host3:process_to_check
host4:process_to_check
Maybe something like:
1.1.1.1:mysql
1.1.1.2:apache2
1.1.1.3:bind9
1.1.1.4:bind9
system apache2 status
, then grep what you want from there)./process_monitor.py hostlist
If you get stuck, a potential solution is here