http://www.perlmonks.org?node_id=462137


in reply to [OT] Server Monitoring

All you need is something that requests a file from the server every x number of minutes - even if the file is only one character - and does some sort of alert if the request times out x number of time, and the script is still able to load pages from other sites (you have to test the latter, or it could be your Internet connect having problems and not the server). A few minutes of coding using the proper modules should cover this, assuming you have a computer connected to the Internet that can run this in the background. See HTTP::Request and LWP::UserAgent.