Description
Describe the enhancement:
Currently, the iis application pool module only captures running app pools. It would be nice if it captured all apps pools and included the state of them.
Describe a specific use case for the enhancement or feature:
IIS app pools can have many different states, currently, it is only possible to get data on running app pools. This limits the usability of this module.
If I want to alert when an app pool stops, I need to look for when logs related to the app pool stop for X duration. This is less than ideal, as if I remove an app pool, then this alert would also trigger. Or if an app pool exists, but has never been started, then the alert would never trigger as there was no initial data to collect, to see a delta.
What is the definition of done?
New metrics which define status of all the app pools should be exported.
Beats issue: elastic/beats#39061