Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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”`