Build precise queries to find exactly what you need
Press ESC to close
@shree.srikant
Member Since: January 8, 2014
Favorites0
Views
Projects0
To utilise, add the following to your nsclient.ini file: [/settings/external scripts/wrapped scripts] exchange_serverhealth=exchange/exchange-serverhealth.ps1 -HealthSet $ARG1$
Reviewed 12 years ago
Thanks monkinsane :). Simple and easy to use. need little fine tune who all are using password. Below is the change i made. Thanks monkinsane :) added "PSW=$2" changed line #10 to OKVMS=`$CHNT -H $HOST -s $PSW -p 12489 -v COUNTER -l "Hyper-V Virtual Machine Health SummaryHealth OK"` changed line #11 to CRITVMS=`$CHNT -H $HOST -s $PSW -p 12489 -v COUNTER -l "Hyper-V Virtual Machine Health SummaryHealth Critical"` changed line #15 to CMDERR=`$CHNT -H $1 -s $2 -p 12489 -v COUNTER -l "Hyper-V Virtual Machine Health SummaryHealth OK" |grep -i -o "could not fetch information from server"`
Reviewed 11 years ago