Thursday, 12 June 2008

App Pool Monitor/HDD Monitor/Service Monitor

I've had a couple of people ask me for the source code for the app pool monitor. So here it is ( ). This actaully also checks for services, and if they're down it will restart them and email you. I've done it as a simple aspx page, but it shouldn't be too hard to convert it to an app. If you look at the web.config, you will notice there's some settings there you need to change, like email address etc etc. The code needs to be cleaned up a little, but it should give you something to start with.

No comments: