Site Monitoring Tool Built
May 12, 06 by kenrichI’ve just implemented my first multi-threaded application in C#. I’ve created a website monitoring tool that will check all the websites that I work on to make sure they are up and running smoothly. It does this by making a simpe HTTP HEAD request to the website and making sure the server sends back valid data. In the event that our host has a problem, I want to be notified immediately that our site is down.
The application is fully configurable so that you can create a configuration file that holds all of the sites you want to monitor. You can have multiple configuration files each of them with a different collection of site. When you modify the sites being monitored, the program detects these changes and prompts the user to save before quitting.
In the future, I will be adding a notification that will send out an e-mail to a user or group of users in the event that a site is down. This will be useful for using the program in a server environment where a notification icon is not sufficient. I would also like to create a digest of the failure notifications so that the program only sends an e-mail notification once every day (for sites that are continuously down).
Phillip E. Says: 15.05.06 at 12:19 am
We went through much the same as what you are and decided that tha amount of work required and continuous tweaks would be a headache. We ultimately decided to go with SiteNurse (http://www.sitenurse.com) to have 3 websites (http or https or ports) monitored for about $4 per month. Based on what my technical team is paid, it made more fiscal sense. Just my 2 cents…