Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IIS]: Agent displayed as unhealthy when no data found #12484

Open
sconners-progress opened this issue Jan 27, 2025 · 3 comments
Open

[IIS]: Agent displayed as unhealthy when no data found #12484

sconners-progress opened this issue Jan 27, 2025 · 3 comments
Labels
Integration:iis IIS needs:triage Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Comments

@sconners-progress
Copy link

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

@andrewkroh andrewkroh added Integration:iis IIS Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Jan 27, 2025
@ishleenk17
Copy link
Contributor

@sconners-progress : So how does the setup look like?
There are multiple Windows machines and all of them have Agent/IIS Integration running on it.
But not all of the windows machine have IIS enabled.

Am I correct in this understanding ?

cc: @muthu-mps

@sconners-progress
Copy link
Author

sconners-progress commented Jan 28, 2025 via email

@muthu-mps
Copy link
Contributor

Yes, you are correct, for machines that do not have IIS or other software the logs silently ignore the lack of that software, but for the IIS metrics when the tool is not installed, it causes the device to be shown as Unhealthy in the UI, rather than just silently ignoring that the software is missing.

Thanks,
Steve

Thanks for the update. Let me take a look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration:iis IIS needs:triage Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]
Projects
None yet
Development

No branches or pull requests

4 participants