Giter VIP home page Giter VIP logo

outsideit / check_ms_iis_application_pool Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 8.0 91 KB

:four_leaf_clover: Check MS IIS Application Pool :four_leaf_clover:

Home Page: https://outsideit.net/monitoring-iis-application-pools/

PowerShell 100.00%
nagios-plugin iis monitoring powershell-script website nagios-plugins monitoring-plugins metrics-gathering nagios nagios-nrpe health-check monitoring-scripts windows

check_ms_iis_application_pool's Issues

Debug option

It would be nice to have a command line debug option, to switch $DebugPreference and $VerbosePreference variables from 'SilentlyContinue' to 'Continue'.

BR,
Yannick

CPU & Memory thresholds are not taken into account

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

-a $ARG$ doesnt recognize whitespaces

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

Permission problem

Hello,

I tried to use the plugin but i'm facing a permission issue.
The message returned is:
image
Checking the command directly on the IIS hosting server show that it works in cmd "as Administrator", but not in a standard cmd:
image

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

Error due to missing IIS dependency, but the plugin returns OK

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.

image

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

Application pool name sometime used as case sensitive and sometime not

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

CPU 100%

For some reason I always show the cpu 100%

Another query, you can set limits for critical memory and cpu

No cpu info for 1 application pool

Hello,

On a IIS server, amount 8 application pool there is 1 without CPU usage reported:
image.

I checked with the last version of the plugin, v1.05.170922, same behavior.

Please tell me if I can provide any information to figure out what the issue/problem is.

BR,
Yannick

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.