Check an IIS Application pool state (Visit this link)

rating from 0 votes
This plugin checks for the state of an IIS application pool.
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.

-- 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 scripts\check_iis_apppool_state.vbs $ARG1$


Then restart NSclient++ service.
Create a command in Nagios to execute this.

Submitted by: bigbrozer
Hits: 501
Overall downloads: 30
Added: 2009-01-31 00:00:00
Last Modified: 2009-10-29 09:01:15

Filename Preview Size Description DL
check_iis_apppool_state.vbs 2 kb check_iis_apppool_state.vbs 442

Comments


Be the first to comment this project.

Leave a reply

If you just want to rate the project leave the other field empty.
Even though it would be nice if you would drop a line.

Allowed tags: blockquote, strong, a, b, i, u, code

Captcha Reload Image


  • Check SNMP Citrix

    rating from 0 votes
    Check Citrix Server Connection Information via SNMP. Extra OID's available through snmp4ctx package (http://www.wtcs.org/snmp4tpc/snmp4ctx.htm)
  • check_squid

    rating from 0 votes
    check_squid is a plugin to nagios for monitoring Squid by using squidclient
  • Siebel CRM

    rating from 0 votes
    Monitoring of Siebel CRM Application.
  • check_bind.sh

    rating from 0 votes
    sh compliant script to check whether BIND is running and to get the performance data via rndc stats (PNP Template included)
  • check_conntrack.sh

    rating from 0 votes
    A plugin to check the conntrack table.
  • jmeter invocation plugin

    rating from 0 votes
    This script is a rebuild of (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=2455.html;d=1) that invokes an Apache JMeter (available from http://jakarta.apache.org/jmeter) test plan and parses the results, which are returned to Nagios per plugin API defined exit statuses and performance data.
  • check_universal_cups

    rating from 0 votes
    I have all checks combined which other check plugins provided, in this plugin.
  • check_hadoop-dfs.sh

    rating from 0 votes
    sh-compliant script to check the amount of available datanodes of a Hadoop cluster and its total and used size as well.
  • FlexLM

    rating from 0 votes
    Check flexlm license server and return total license and license in use (Also use Performance data).
  • check_gms_directory_entries

    rating from 0 votes
    The GMS (Global Management System) from Polycom provides a global addressbook service for conferencing endpoints. This script checks for a given number of entries in the global addressbook.
Catalot 1.3.0 (appkit/v0.9.0-dev, Agavi/1.0.0) | www.netways.de | Legal
© 2009 NETWAYS GmbH. The Program is provided AS IS, without warranty. Licensed under GPLv3.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3.