---
title: "Application - Microsoft Hyper-V Agentless Opspack"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-microsoft-hyper-v-agentless-opspack/index.html"
---
Formerly known as Windows Server Virtualization, Hyper-V is Microsoft’s popular virtualization system for Windows Servers. It provides virtualization software for operating systems as well as hardware components such as, hard drives and network switches. Virtualization and Hyper-V offer numerous benefits, such as; hardware resources savings, space savings and reductions in energy costs, amongst many others. As a result it has become an incredibly popular hypervisor across the globe.

## What You Can Monitor

This opspack allows you to monitor your host and guest systems, ensuring they are performant on all of your Windows Servers, providing service checks for CPU, Memory, Storage and Uptime, as well as important information on health statuses.  This Opspack can be run against Windows 2012 R2 or later, running Microsoft Hyper-V.

## Service Checks

| Service Check    | Description                       |
|:-----------------|:----------------------------------|
| CPU              | Hyper-V Guest CPU load percentage |
| GuestStatus      | Hyper-V Guest Status              |
| Health           | Hyper-V Guest health status       |
| Memory           | Hyper-V Guest memory available    |
| StorageErrors    | Hyper-V Guest storage errors      |
| StorageRead      | Hyper-V Guest storage read rate   |
| StorageWrite     | Hyper-V Guest storage write rate  |
| Uptime Days      | Virtual Machine Uptime in Days    |
| Uptime Seconds   | Virtual Machine Uptime in Seconds |
| Virtual Machines | List all Virtual Machines         |

## Setup Windows Host for Monitoring

To use Windows WMI Agentless Opspacks, the remote windows host must first be configured to allow WMI queries to be run. See: [Monitoring Services with WMI](https://knowledge.opsview.com/docs/monitoring-services-with-wmi).

## Setup and Configuration

### Add the Host Template

Add the **Application - Microsoft Hyper-V Agentless** Host Template to your Opsview Monitor host.


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Add and configure variables required for this host

| Host Variable       | Description                                                                                                                                                                                                           |
|:--------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| HYPER_V_CREDENTIALS | Used for authenticating with the remote host. The Value is not used and therefore can be set to anything. Override the Username and Password with the credentials to be used for authentication with the remote host. |


**Note**


For more information, refer to the documentation on [Adding Variables to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/adding-a-new-variable/index.html#adding-a-variable-to-a-host).



### Apply Changes

Apply Changes and the system will then be monitored:

![Service checks](https://docscdn.itrsgroup.com/opsview/images/opspacks-application-microsoft-hyper-v-agentless-output.png)

## Plugin help


**Warning**


The `check_wmi_plus.pl` plugin is deprecated. If your service checks are still using this plugin, please update them to use `check_wmi_plus` instead. For information on how to update the service check plugin, see [Plugin and Arguments Tab](https://docs.itrsgroup.com/docs/opsview/6.11.7/configuration/service-checks-and-host/active-checks/index.html#plugin-and-arguments-tab).




**Secure Args**


The `check_wmi_plus` plugin uses the [Secure Args](https://docs.itrsgroup.com/docs/opsview/6.11.7/configuration/secure-arguments/index.html) feature for argument passing.




