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

missing IIS net_clr appPoolCounters #41352

Open
AlexDF2017 opened this issue Oct 21, 2024 · 3 comments
Open

missing IIS net_clr appPoolCounters #41352

AlexDF2017 opened this issue Oct 21, 2024 · 3 comments
Assignees
Labels
Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team

Comments

@AlexDF2017
Copy link

Hi all, on a fresh installation of metricbeat 7.17.24 under Windows Server 2022, IIS metricbeat module activated, we have the following repeating errors in metricbeat logs:

2024-10-21T20:05:42.285+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Exceps Thrown
2024-10-21T20:05:42.285+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Filters / sec
2024-10-21T20:05:42.288+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Exceps Thrown / sec
2024-10-21T20:05:42.288+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\Throw To Catch Depth / sec
2024-10-21T20:05:42.290+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Finallys / sec

It seems that all net_clr appPoolCounters aren't available on OS, how to fix? No particular requirement is reported on metricbeat installation documentation for IIS monitoring.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 21, 2024
@lucian-ioan lucian-ioan self-assigned this Oct 23, 2024
@lucian-ioan
Copy link
Contributor

Hi @AlexDF2017,

Firstly, make sure ASP.NET is installed as this might be similar to: elastic/integrations#7992

Let me know if you still encounter the error afterwards.

@AlexDF2017
Copy link
Author

Hi @lucian-ioan , sorry but we had already installed the required features & roles, the same as indicated in elastic/integrations#7992. We rebooted the server after installation to be sure, but the problem is the same,

To confirm:

Image
Image

2024-10-23T13:56:38.714+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Finallys / sec
2024-10-23T13:56:38.717+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Exceps Thrown
2024-10-23T13:56:38.717+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Filters / sec
2024-10-23T13:56:38.719+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\# of Exceps Thrown / sec
2024-10-23T13:56:38.719+0200	ERROR	[application_pool]	application_pool/reader.go:106	Element not found.failed to expand counter path (query= "%v")\.NET CLR Exceptions(w3wp*)\Throw To Catch Depth / sec

@lucian-ioan
Copy link
Contributor

Thanks for confirming, I have already tried to replicate this with our existing virtual machine running IIS with no luck.

I'll try setting up a new VM from scratch and come back to you on this.

@ishleenk17 ishleenk17 removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 23, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 23, 2024
@lucian-ioan lucian-ioan added the Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team label Oct 30, 2024
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team
Projects
None yet
Development

No branches or pull requests

3 participants