Random Project
Directory > IIS> check_iis_apppools
IIS

check_iis_apppools

0 (0)
270
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

**Overview**

`check_iis_apppools.ps1` monitors IIS Application Pool health using the PowerShell `WebAdministration` module. It checks whether all application pools or a specified list of pools are running and returns Nagios-compatible status codes.

The plugin is designed for Nagios XI and NCPA. It is read-only and does not start or stop pools or change IIS configuration.

**Features**

– Monitors all IIS Application Pools or specified pools
– Reports stopped pools and requested pools that are not found as CRITICAL
– Reports starting, stopping, and other unexpected states as WARNING
– Returns standard Nagios plugin status codes
– Provides performance data for graphing
– Performs no IIS actions or configuration changes
– Designed for Nagios XI and NCPA environments

**Requirements**

– Windows Server with IIS installed
– PowerShell
– PowerShell `WebAdministration` module
– NCPA Agent for remote execution

**Example Commands**

– `check_iis_apppools.ps1`
– `check_iis_apppools.ps1 All`
– `check_iis_apppools.ps1 “DefaultAppPool”`
– `check_iis_apppools.ps1 “AppPool1,AppPool2″`

**Example Output**

– `OK: All AppPools running | running=8 total=8 stopped=0 transitional=0 missing=0`
– `WARNING: Transitional AppPools: MyAppPool(Starting) | running=7 total=8 stopped=0 transitional=1 missing=0`
– `CRITICAL: Stopped AppPools: MyAppPool | running=7 total=8 stopped=1 transitional=0 missing=0`
– `CRITICAL: Missing AppPools: UnknownPool | running=0 total=0 stopped=0 transitional=0 missing=1`

Performance data includes `running`, `total`, `stopped`, `transitional`, and `missing` counts.


Project Details

Current Version

1.2.1

Last Release Date

2026-09-21

Owner

John Shorey

License

GPL

Compatible With

  • Nagios XI

Recommend

To:


From: