Motoma.io

Basic Server Monitoring with Python

Uptime is an important statistic for anyone in the internet business. For a system administrator to keep track of uptime, a reliable method for monitoring servers and services is key. A reliable, offsite shell acount like Devio.us lends itself to this task quite naturally. In this post, I will demonstrate:

  1. How to write a simple script that connects to a server
  2. How to make scripts report to you via email
  3. How to set scripts and programs to run at a scheduled time