This is a collection of scripts (and cron jobs) to setup some basic monitoring of servers.
Note: This is setup for the default amazon ami on an ec2 server. You may have to alter this to get it work perfectly on your server.
First, you must have python and twilio-python installed.
sudo su curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python pip install twilio
Second, pull down the project and setup the cron jobs.
git clone firstname.lastname@example.org:adamdecaf/server-monitors.git # Copy config.sample.py to config.py and update the values sudo su crontab -e * * * * * python /path/to/server-monitors/disk-space.py * * * * * python /path/to/server-monitors/free-memory.py * * * * * python /path/to/server-monitors/running-processes.py 0 7 * * * python /path/to/server-monitors/weather.py