External script to check website health
Posted on 2011-03-02
I have two websites that I'm responsible for. The company that hosts those websites used to provide website monitoring, but that will go away soon.
I'm thinking that I can use a script on a server here at my work that can run every few minutes to check whether the websites respond to an HTTP request, and send an email (or SMS or whatever) if response is above a threshold, or there's no response at all, but I don't really know where to start.
Can someone point me in the right direction?
Thanks in advance for any help provided...