# How to identify state of an IIS app pool from the IIS metrics: Elastic Agent

**URL:** <https://discuss.elastic.co/t/how-to-identify-state-of-an-iis-app-pool-from-the-iis-metrics-elastic-agent/355121>\
**Category:** Elastic Agent\
**Tags:** metricbeat\
**Created:** [March 11, 2024, 6:39am UTC](https://discuss.elastic.co/t/how-to-identify-state-of-an-iis-app-pool-from-the-iis-metrics-elastic-agent/355121 "2024-03-11T06:39:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paril\_Sanghvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paril_sanghvi/32/132503_2.png) [@Paril\_Sanghvi](https://discuss.elastic.co/u/Paril_Sanghvi)\
**Post date:** [March 11, 2024, 6:39am UTC](https://discuss.elastic.co/t/how-to-identify-state-of-an-iis-app-pool-from-the-iis-metrics-elastic-agent/355121/1 "2024-03-11T06:39:28Z")

</div>

Hi Everyone,

I want to get status of App Pool from IIS server. I looked into metrics shipped by the integration but it does not have any metric related to it. Also some of my app in pool has status started and they are running but they are not shown in application pool names shipped by elastic agent.  
Currently I am determining state by checking the number of threads it has if it has threadcount \> 1 then it's active else not. But some apps are still not shown.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 8, 2024, 6:40am UTC](https://discuss.elastic.co/t/how-to-identify-state-of-an-iis-app-pool-from-the-iis-metrics-elastic-agent/355121/2 "2024-04-08T06:40:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
