check_csv.ps1
This Script reads the name of your Hyper-V Cluster Shared Volume and check weather is enough space or not.
Usage
./check_nrpe -H HOSTNAME -p 5666 -c check_csv -a [CSV Name] [Warning] [Critical]
Lines for nsclient.ini
- Set the wrappings for Powershell
[/settings/external scripts/wrappings] ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command -
- Set the Command Lines
[/settings/external scripts/wrapped scripts] check_csv = check_csv.ps1 $ARG1$ $ARG2$ $ARG3$