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
The script works well out of the box. The only change I made was that the final return line is a case in which there were no VM’s found on the machine. IMO, this should be at least an Unknown state, and not an Ok state, because the HyperV server should always have VM’s on it. I modified this final line to more accurately reflect this condition when hit. Otherwise it seems to work well from my testing.