- Disks
- Files
- Check Time
- Windows Services
- Exchange Databases
- Queue
- Database
- Jobs
- Connection Time
- Temp DB size
- Log file size
- Application Pool
- Web Sites
- NSClient version 3.09 or later.
- Power Shell
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 -
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 -