district09 / check_ms_iis_application_pool Goto Github PK
View Code? Open in Web Editor NEW:four_leaf_clover: Check MS IIS Application Pool :four_leaf_clover:
Home Page: https://outsideit.net/monitoring-iis-application-pools/
:four_leaf_clover: Check MS IIS Application Pool :four_leaf_clover:
Home Page: https://outsideit.net/monitoring-iis-application-pools/
Hello,
The following parameters are not taken into account:
-WM|--WarningMemory
-CM|--CriticalMemory
-WC|--WarningCpu
-CC|--CriticalCpu
It would be nice to have these thresholds working, in order to be alerted for exemple when the memory used by the app pool is abnormally high.
BR,
yannick
Hi,
Thanks for this wonderful plug in. I'm just wondering on how to pass the arguments with white spaces.
Command:
./check_nrpe -H 10.0.1.3 -p 5666 -c check_ms_iis_application_pool -a '-A .NET v2.0 Classic' -APOD 1
Error:
CRITICAL: Argument: v2.0
Value: Classic Error: Illegal arguments detected: v2.0
It seems that it is not liking the "second" space on the argument.
Best Regards,
SA
Hello,
For an application pool, I had a service that returned 0 applications using it. All the other information returned were okay: state, mem, cpu.
I discovered that it was due to the use of an incorrect case for the application pool name: for example Myapppool instead of MyAppPool.
I think it would be better to make the plugin working case sensitive or case insensitive everywhere.
BR,
Yannick
It would be nice to have a command line debug option, to switch $DebugPreference and $VerbosePreference variables from 'SilentlyContinue' to 'Continue'.
BR,
Yannick
For some reason I always show the cpu 100%
Another query, you can set limits for critical memory and cpu
Hello,
I tried to use the plugin but i'm facing a permission issue.
The message returned is:
Checking the command directly on the IIS hosting server show that it works in cmd "as Administrator", but not in a standard cmd:
The Icinga2 service which is responsible of running the command runs with "Log On As Nework Service".
I don't want to another account to run the Icinga2 service. Is there a solution in order to run this plugin with such an account?
BR,
Yannick
Hello,
I discovered that the plugin was not working correctly on some servers because the "IIS Management Scripts and Tools" feature was not installed.
But the plugin returned an OK state and the plugin output included errors related to an invalid namespace.
It may be useful to return an UNKNOWN status in case this issue occurs, so administrators can react. Indeed, in case we deploy many servers, it is possible to miss the issue.
BR,
Yannick
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.