Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some background first - We're running IIS 7 on Windows 2008. We're running around 250 websites per server with each site in it's own application pool.

I need a way to monitor each application pool for crashes and hangs and to send an email alert if an application pool is unresponsive for more than say 2 minutes.

I thought about having a virtual directory mapped into each site with an ASP.NET page that we could poll via our existing monitoring system (HostMonitor).

Does anyone else have experience in this area?

share|improve this question

Performance counters are available by Application Pool (under APP_POOL_WAS) and by ASP.NET Apps (the latter, by .NET version).

These include things like app-pool uptime, requests/sec and lots of other information.

share|improve this answer

In IIS 7, you can use appcmd to monitor the apppool. For example, you type the command as below in CMD:

appcmd list apppool /state:Started

Then you should get a list of apppools which are running.

I suggest you that write a script with appcmd, and put the script as a scheduler task. Then you can get email notifications when some apppools are crashed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.