/nagios-plugins

Nagios Plugins for monitoring Windows system.

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

Donate

Nagios Plugins

Monitor Windows system using NSClient.

Windows system

Exchange - all in one

  • Exchange Databases
  • Queue

MS SQL Servers - all in one

  • Database
  • Jobs
  • Connection Time
  • Temp DB size
  • Log file size

Internet Information Services (IIS)

  • Application Pool
  • Web Sites

Prerequisites

  • NSClient version 3.09 or later.
  • Power Shell

Instalation

NSClient with NSC.ini config file (old version)

Edit NRPE config:
Edit NSC.ini or nsclient.ini and add the following line under section:
[Wrapped Scripts]
check_name=check_name.ps1 $ARG1$
[Script Wrappings]
ps1 = cmd /c echo scripts\%SCRIPT%%ARGS%; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command - 

NSClient with nsclient.ini config file (new version)

add the followings lines under:
[/settings/external scripts/scripts]
check_name = cmd /c echo scripts\check_name.ps1 $ARG1$ ; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass   -command -

Download

Donate