Network Wizards Software Archive
This Unix C code monitors a web server every few minutes by trying to retrieve its home page. It sends you email when it can't connect, and every so often while the server is still down. It sends a final message when it comes back up. If you have email paging, just direct the email to your pager address.