yosbit / nagios-plugins

Nagios Plugins for monitoring Windows system.
GNU General Public License v3.0
11 stars 4 forks source link

Donate

Nagios Plugins

Monitor Windows system using NSClient.

Windows system

Exchange - all in one

MS SQL Servers - all in one

Internet Information Services (IIS)

Prerequisites

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