Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_iis_pool

Current Version
0.1
Last Release Date
2017-08-19
Owner
License
GPL
Hits
6611
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
You can use this PS script to check IIS pool status by Nagios / ICINGA via your favourite NRPE. Currently it expects that all applications in IIS should be running.
# COMMENT: Script to check for IIS Pool with Nagios/Icinga2 + NRPE/NSClient++
#
# Checks:
# - if there is any app which is in stopped state
#
# Return Values for NRPE:
# Everything started - OK (0)
# There is some App with stopped state - CRITICAL (2)
# Script errors - UNKNOWN (3)
#
# NRPE Handler to use with NSClient++:
# [NRPE Handlers]
# check_updates=cmd /c echo scriptscheck_iis_pool.ps1 $ARG1$ $ARG2$; exit $LastExitCode | powershell.exe -command -
#