Management Pack for IIS Application Pool Processor Performance
IIS application pools run under separate W3WP.EXE processes (called “worker processes”). Monitoring CPU performance for application pools mean monitoring the processor performance for these processes.
The tricky part though is that you have to determine which W3WP.EXE process maps to which application pool, and you can’t just map processes IDs (pid) to application pools one for all, since those processes get a new process ID on a regular basis.
This sample management pack shows how a timed script can map an application pool to its current worker process and create a custom performance counter telling the current CPU usage. This script is freely based on IISAPP.VBS, which is a script built into the operating system, to list application pools and their worker processes. Since OpsMgr 2007 discovers IIS 6.0 application pools by default, all there was left to do was to attach this timed script to the “IIS 2003 Application Pool” type.
The MP also includes:
- a monitor to integrate processor performance in the overall health of an application pool.
- alerting based on event logs triggered by the script
- a few views for the monitoring space of the console
Comments
Anonymous
January 01, 2003
What chance you've got something similar for App Pool Memory?Anonymous
January 01, 2003
PingBack from http://www.computersandit.com/tags/2008-06/vbs-cpu-usage.htmlAnonymous
January 01, 2003
[EN] Management Pack for IIS Application PerformanceAnonymous
January 01, 2003
Has anyone updated this App Pool MP for IIS 7.5?Anonymous
January 01, 2003
@Ziemek Borowski : your link doesn't work anymore, do you still have that MP with memory usage counters by any chance? if so can you please post a link to it. Thanks.Anonymous
January 01, 2003
try this one: http://ziembor.pl/post/EN-Management-Pack-for-IIS-Application-Performance.aspxAnonymous
February 10, 2011
Yes, having this one or the ziembor.pl one updated for IIS7 would be great