IIS

Check IIS Site and Application Pool

Description:

Plugin for check IIS Sites and Application pool status, using NRPE.

Current Version

1.0.5

Last Release Date

2016-11-22

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Photos
Project Notes
Author: Yossi Bitton yossi@edp.co.il Version: 1.0.5 LastModified: 22/11/2016 Check IIS 7 Sites and Application Pool status using NRPE. Monitor Option: Sites = check if all Sites with AutoStart=True, up and running. AppPool = check if all AppPool with AutoStart=True, up and running. DebugMode = run plugin in debug mode. Exclude = exclude sites ot application pool. For NSC.ini add the following line under section: [Wrapped Scripts] check_iis=check_iis.ps1 $ARG1$ [Script Wrappings] ps1 = cmd /c echo scripts%SCRIPT%%ARGS%; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command - Example: For nsclient.ini check_iis = cmd /c echo scriptscheck_iis.ps1 $ARG1$ ; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command - 2> $null Monitor all IIS sites. ./check_nrpe -H IIS_IP_Address -t 30 -c check_iis -a '-CheckType Sites' Monitor all IIS sites, exclude site01,oldsite2 ./check_nrpe -H IIS_IP_Address -t 30 -c check_iis -a '-CheckType Sites -Exclude site01,oldsite' Monitor all Application pool, exclude app01 ./check_nrpe -H IIS_IP_Address -t 30 -c check_iis -a '-CheckType AppPool -Exclude app01' Debug mode: add -DebugMode 1 You can add the argument by position: CheckType = 1 DebugMode =2 Exclude = 3 So this command also work: ./check_nrpe -H IIS_IP_Address -t 30 -c check_iis -a 'Sites 0 sites01,oldsite' This command mean: check 1: iis sites 2: no debug, 3: exclude sites01,oldsite
Reviews (0) Add a Review
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
5 (1)
Favorites
0
Views
18,148