[IIS]: Agent displayed as unhealthy when no data found #12484
Labels
Integration:iis
IIS
needs:triage
Team:Obs-InfraObs
Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]
Integration Name
IIS [iis]
Dataset Name
No response
Integration Version
1.20.1
Agent Version
8.17.1
Agent Output Type
elasticsearch
Elasticsearch Version
8.17.0
OS Version and Architecture
Windows Server 2012+
Software/API Version
No response
Error Message
[elastic_agent][warn] Unit state changed iis/metrics-fleet-default-output-iis/metrics-iis-66abaf22-30f9-4447-ab7e-8888b96164c5 (STARTING->DEGRADED): Error fetching data for metricset iis.webserver: failed reading counters: failed collecting counter values: No data to return.
Event Original
No response
What did you do?
Agent policy includes IIS metrics
What did you see?
Metrics collected for systems that have IIS installed, where as clients without IIS installed are put into the "Unhealthy" status
What did you expect to see?
We expected that client without IIS installed would just ignore missing IIS metrics, similar to how logs are handled.
Anything else?
No response
The text was updated successfully, but these errors were encountered: