Home Directory Plugins Operating Systems Windows Check Hyper-V Integration Services

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Hyper-V Integration Services

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2017-12-12
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
Hits
6381
Files:
FileDescription
check_is_hv.ps1check_is_hv.ps1
check_is_hv.ps1If VM Version has newer than Version on Host Version result is ok
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check Hyper-V Integration Services
Usage:
check_is_hv.ps1 -V NameOfVM -U DomainAdminUser -P DomainAdminPassword

Checkcommand:
check_is_hv=cmd /c echo scriptscheck_is_hv.ps1 -V $ARG1$ -U $ARG2$ -P $ARG3$; exit $LastExitCode | powershell.exe -command -

Output: Name of Hyper-V Host of the VM and Update required or not

Description:
At first the Script reads VM's Registry to find the parent Hyper-V Host. Then it checks the installed IS on the Hyper-V Host and the installed IS on the VM.
Username and Password is needed to connect the hosts powershell.

Script is tested on Windows 2012 R2 Hyper-V Hosts and OS of VM's could be Windows 2003 -> Windows 2016.