---
title: "OS - Windows WMI - Terminal Services Agentless Opspack"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/current/opspacks/os-windows-wmi-terminal-services-agentless-opspack/index.html"
---
Windows WMI Agentless Opspacks allow you to monitor the status and various performance metrics for a range of Microsoft services such as DNS, Exchange, IIS, Terminal Services and more, without the need of installing an agent on your remote host.

## What Can You Monitor

This Opspack allow you to monitor the status of your Terminal Services sessions.

## Service Checks

| Service Check | Description                                    |
|:--------------|:-----------------------------------------------|
| Sessions      | Check the status of Terminal Services sessions |
| Show Sessions | Show the list of Terminal Services sessions    |

## Prerequisites

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://docs.itrsgroup.com/docs/opsview/current/configuration/windows-agentless-monitoring/wmi-agentless-monitoring/index.html)

## Setup and Configuration

### Add the Host Template

Add the **OS - Windows WMI - Terminal Services 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/current/host/index.html#host-templates).



### Add and configure variables required for this host

| Host Variable  | Description                                                                                                                                                                                                           |
|:---------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| WINCREDENTIALS | 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. |

### Apply Changes

Apply Changes and the system will then be monitored:

![View Service Checks](https://docscdn.itrsgroup.com/opsview/images/opspacks-os-windows-wmi-terminal-services-agentless-output.png)

## Plugin help


**Warning**


The `check_wmi_plus.pl` Perl plugin is no longer supported in Opsview. If your service checks are still using this plugin, please update them to use the `check_wmi_plus` Python plugin instead via the **Plugin** drop-down in the **Plugin and Arguments** tab.
For more information, see [Active Checks and Monitoring plugins](https://docs.itrsgroup.com/docs/opsview/current/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/current/configuration/secure-arguments/index.html) feature for argument passing.




