Thursday, May 31, 2007

Site Monitoring - Simple Tool

You want to ensure that your site is accessible 24x7, and want to be notified ASAP if there is an outtage. Here is a simple recipe.
  1. Create a "KeepAlive" page; a simple page with a static, predictable response. I have created a simple page that displays the Site Name, Web Server Name, and Site IP Address:
  2. Implement a VBScript which makes an http request of the Keep Alive page, returning the response string. The script implements the Microsoft.XMLHTTP object. If the request does not resolve or returns an unexpected result, the script sends an email to the stakeholder (you).
  3. Implement an NT Scheduled Task to run the VBScript (#2) every five minutes. Hopefully, you'll never hear from the tool :)

3 comments:

Anonymous said...

How about some site monitoring c# code :-)

Testing my new keyboard bought from amazon @ 8.99 with mouse..Testing your wonderful article....

I am awaiting to see KarlTech very soon....

Thanks,

Diablo said...

Thanks my friend.

Anonymous said...

Can anyone recommend the well-priced Managed Service software for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central software distribution
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!