Check Hyper-V Cluster Shared Volume

Check state of CSV


This Script reads the name of your Hyper-V Cluster Shared Volume and check weather is enough space or not.


./check_nrpe -H HOSTNAME -p 5666 -c check_csv -a [CSV Name] [Warning] [Critical]

Lines for nsclient.ini

  1. Set the wrappings for Powershell
    [/settings/external scripts/wrappings]
    ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command -
  2. Set the Command Lines
    [/settings/external scripts/wrapped scripts]
    check_csv = check_csv.ps1 $ARG1$ $ARG2$ $ARG3$


Image of ICINGA WEB 2