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

Performance Counter check to monitor APP_POOL_WAS returning error #1170

Open
rarafan opened this issue May 24, 2024 · 0 comments
Open

Performance Counter check to monitor APP_POOL_WAS returning error #1170

rarafan opened this issue May 24, 2024 · 0 comments

Comments

@rarafan
Copy link

rarafan commented May 24, 2024

Attempting to setup check to monitor the Performance Counter for APP_POOL_WAS under Microsoft IIS.
It works when running in the windows power shell but not when running the check.

Base on this we can see this is a counter that can be monitored - https://techcommunity.microsoft.com/t5/iis-support-blog/performance-counters-for-monitoring-iis/ba-p/683389

These are the results when we run in in the command line -

PS C:\Users\administrator> Get-Counter '\APP_POOL_WAS(DefaultAppPool)\Current Application Pool State'

Timestamp CounterSamples


5/23/2024 10:43:38 PM \dc1\app_pool_was(defaultapppool)\current application pool state :
3

If we run it under NCPA this is what we see -

[root@xid libexec]# ./check_ncpa.py -H 10.25.200.60 -t 'nagiosprivate' -M 'windowscounters/app_pool_was(defaultapppool)/current application pool state'
The specified object was not found on the computer.

This is in NCAP version 3.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants