Python Exercise for Monitoring a Server