Random Project
Directory > IIS> check_iis_apppools
IIS

check_iis_apppools

0 (0)
14
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

Description

Overview

check_iis_apppools.ps1 monitors IIS Application Pool health using the PowerShell WebAdministration module. It verifies that application pools are running and returns Nagios-compatible status codes based on their current state.

The plugin can monitor all application pools or a specified list of application pools. It is designed for use with Nagios XI and NCPA and operates in a read-only manner without performing any IIS actions.

Features

  • Monitors all IIS Application Pools or specified pools
  • Reports stopped application pools as CRITICAL
  • Reports starting and stopping pools as WARNING
  • Handles unexpected application pool states
  • Returns standard Nagios plugin status codes
  • Provides performance data for graphing
  • Read-only operation with no configuration changes
  • Designed for Nagios XI and NCPA environments

Requirements

  • Windows Server with IIS installed
  • PowerShell
  • WebAdministration PowerShell 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
  • WARNING: Transitional AppPools: MyAppPool(Starting) | running=7 total=8 stopped=0 transitional=1
  • CRITICAL: Stopped AppPools: MyAppPool | running=7 total=8 stopped=1 transitional=0


Project Details

Current Version

1.0.0

Last Release Date

2026-08-24

Owner

John Shorey

License

GPL

Compatible With

  • Nagios XI

Recommend

To:


From: