Script to send an email if your server is down
Hello, I made a script that emails me if my backup server is off, and then email me if it gets back on. It is pretty simple BUT this is an ALPHA RELEASE !
REQUIREMENTS: Linux PHP with PEAR (and PEAR needs mail, net_smtp) A SMTP server Backup VPS (like 10 a year ones)
Then, just make chmod a+x on the main script and add it to your cron to run the script every minute.
EDIT: Poject's here, with Wiki! http://code.google.com/p/vps-email-status/
It was just a misunderstanding