I have some software/scripts I have written myself that others may find usefull. The code is freeware, along with the code. Feel free to download and use at your leisure.
This is a php script I wrote that you can run using crontab. It checks any port number, and verifies it is responding and alive. If its down, you can adjust it to wait X number of tries and then send an e-mail. Everything is written to a log file for later debugging.
Almost the same script as above except it is for pings only.
Image resize script
This script uses image magic to create thumbnails of large pictures.