Giter VIP home page Giter VIP logo

check_ms_iis_application_pool's Introduction

Nagios plugin to check Microsoft IIS application pool states

Idea

Checks Microsoft Windows IIS application pool state returning web application count, % CPU usage and memory usage.

Screenshots

IIS 01

Status

In production.

How To

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

Help

In case you find a bug or have a feature request, please make an issue on GitHub.

On Nagios Exchange

https://exchange.nagios.org/directory/Plugins/Web-Servers/IIS/Check-Microsoft-IIS-Application-Pool/details

Copyright

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/licenses/.

check_ms_iis_application_pool's People

Contributors

2dman avatar tontonitch avatar willemdh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_ms_iis_application_pool's Issues

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

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

-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

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

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

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

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

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.