cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not alert on IIS app pool idle time but alert on shutdown

yuting_wu
Guide

We want to alert when an IIS app pool is not available in Dynatrace one agent . And we configure this in the process group level, availability tab -> if any process becomes unavailable. However, when the app pool goes to idle mode, it will still create a problem and send alerts. How do we configure this so that it will only alert on process shutdown but not on the idle time? Thank you!

3 REPLIES 3

It may be not possible that way, but you can change aproach. You can use synthetic monitor to call IIS application. If it will be in idle mode it will answer (but with longer time) if it will be shut down, dynatrace will rise an alert:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/http-monitors/creat...

If your application is not available public you can create your own synthetic location:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/synthetic-monitoring/private-synthetic/b...

Sebastian

Can you elaborate more on how can we use HTTP monitor to detect idle time? It's not public

dave_mauney
Dynatrace Champion
Dynatrace Champion

Calling with a synthetic will "wake up" the IIS app pool, resulting in it being up all the time. So why not just configure IIS to remove the 20 minute sleep setting? That would be free, and much less effort. Of course, you will waste CPU cycles with either of these approaches. Another option is to alert only when services are impacted (our default setting) since the lack of an IIS app pool is expected when traffic is not present.