IIS

Check an IIS Application pool state

Description:

This plugin checks for the state of an IIS application pool.

Current Version

Last Release Date

June 22, 2009

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Owner


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Photos
Project Notes
This plugin was tested on a Windows Server 2003 R2 box running IIS v6. NSclient++ v0.3.5 was used as the Nagios agent on the server. Update: if you need the same plugin but for IIS 7, have a look to the plugin "Check IIS 7 Application Pool State" by Nicolas Bressan. -- Usage (local machine only) -- check_iis_apppool_state.vbs pool_name pool_name - The name of the application pool (ex: DefaultAppPool). It returns: - OK if state is running. - CRITICAL if state is stopped. - WARNING if state is stopping or starting. - UNKNOWN for all the others (app pool not found, etc...). -- Nagios Agent configuration (NSC.INI) -- Copy this file into the "scripts" directory of your NSclient++ installation. Add the following line to your NSC.INI file, section "NRPE_Handlers": check_iis_apppool_state=cscript.exe //nologo //T:60 scriptscheck_iis_apppool_state.vbs $ARG1$ Then restart NSclient++ service. Create a command in Nagios to execute this.
Reviews (5) Add a Review
How can I configure this plugin to be used with NCPA Agent on Windows Server
by sampath.krb, August 31, 2017
How can I configure this plugin to be used with NCPA Agent on Windows Server
Helpful? Yes  No 
additional modification are needed
by wujekgrga, August 31, 2014
If script vbs works for you but you cannot invoke from nagios using check_nrpe or directly from config file please uncomment following lines in NSC.ini and restart nsclient++ service:
allow_arguments=1
allow_nasty_meta_chars=1
Helpful? Yes  No 
creating command
by chris@justice, January 31, 2014
Hi,

I have no idea how to create the command for this script. How do I do this? I have searched everywhere but did not find the answer.
Helpful? Yes  No 
how to create the command?
by tomerof, November 30, 2011
how to Create a command in Nagios to execute this??
Helpful? Yes  No 
Unable to call
by Sukhjeet, June 30, 2010
I'm able to use this command and configure it but I'm unable to call it through windows.cfg.

$USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c check_iis_site -a "$ARG1$"

./check_nrpe -H 172.16.10.149 -t 60 -p 5666 -c check_iis_apppool_state -a DefaultAppPool

Please share the configuration using which I can call it in windows.cfg as well..!!
1 of 1 found this review helpful.
Helpful? Yes 1 No 0
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.1 (7)
Favorites
2
Views
222,798