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!
Solved! Go to Solution.
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:
If your application is not available public you can create your own synthetic location:
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.