---
title: "Host Template: Application - Microsoft Exchange - Client Connectivity"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-microsoft-exchange-agentless-opspack/application-microsoft-exchange-client-connectivity-host-template/index.html"
---## Overview

Monitor the status of your Microsoft Exchange client connectivity with a variety of checks including connectivity, Client Access Server latency and ActiveSync requests.

This Host Template includes the following Service Checks:

| Service&nbsp;Check&nbsp;Name | Description | Default&nbsp;Thresholds (Metric:&nbsp;Warning,&nbsp;Critical) | UOM |
|:-----------------------------|:------------|:------------------------------------------------:|:---:|
| Exchange - Connectivity - ActiveSync Status | Check connectivity to Microsoft Exchange ActiveSync virtual directories. If not run with verbose mode, results will be truncated and summarised. | N/A | ms |
| Exchange - Connectivity - ECP Status | Check connectivity to Exchange Control Panel (ECP) virtual directories. If not run with verbose mode, results will be truncated and summarised. | N/A | ms |
| Exchange - Connectivity - IMAP Status | Check that the connectivity to the Microsoft Exchange IMAP4 service is working as expected. If not run with verbose mode, results will be truncated and summarised. | N/A | ms |
| Exchange - Connectivity - Web Service Status | Check the client connectivity to Exchange Web Services virtual directories. If not run with verbose mode, results will be truncated and summarised. | N/A | ms |
| Exchange - Connectivity - POP Status | Check that the Microsoft Exchange POP3 service is working as expected. If not run with verbose mode, results will be truncated and summarised. | N/A | ms |
| Exchange - Connectivity - Web App Connected Users | Shows the number of unique users currently logged on to Outlook Web App. This value monitors the number of unique active user sessions, users are only removed from this counter after they log off or their session times out. Determines current user load. | N/A | N/A |
| Exchange - Connectivity - Client Access Server Latency | Shows the average latency in milliseconds of CAS processing time (does not include time spent proxying) over the last 200 requests. If not run with verbose mode, results will be truncated and summarised. | cas_latency: &#8203;`2000`,`4000` | ms |
| Exchange - Connectivity - ActiveSync Requests | Shows the number of HTTP requests received from the client via ASP.NET per second. Determines the current Exchange ActiveSync request rate. Used only to determine current user load. | N/A | N/A |


**Note**


See details about [Monitoring Plugin thresholds here](https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT).



## Usage Instructions

Please review the overall [Application - Microsoft Exchange Agentless Opspack](https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-microsoft-exchange-agentless-opspack/application-microsoft-exchange-agentless-opspack/index.html) documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

### Add this Host Template

Add the **Application - Microsoft Exchange - Client Connectivity** Host Template to your Opsview Monitor host.
If the resource you're monitoring has no hostname or public IP, then open the **Advanced** settings pane and change **Host Check Command** to **Always assumed to be UP**.


**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

The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance alongside the Host Template:

- [**WINRM_TRANSPORT**](#winrm_transport)


**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 now be monitored:

![View Output](https://docscdn.itrsgroup.com/opsview/images/opspacks-application-microsoft-exchange-agentless-output-application-microsoft-exchange-client-connectivity.png)

## Additional Information

Ensure you have set the Primary Hostname/IP field of your Opsview Host to the hostname or IP address of your exchange server.

## Available Variables

### WINRM_TRANSPORT

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| `-Transport` | Value | Authentication Type | Authentication type to use |
| `-Username` | Arg1 | Username | Username for remote windows host |
| `-Password` | Arg2 | Password | Password for remote windows host |
| `-Scheme` | Arg3 | Scheme | Scheme for connecting to remote windows host |
| N/A | Arg4 | Extra Args | Extra args for check_by_winrm. The value is appended to the check_by_winrm call. |

## Plugin help

Plugin: `check_microsoft_exchange`


**Secure Args**


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



For mode-specific help, run the plugin with the `-h -m <mode>` flags. This will list the required and optional Variable Arguments for that mode.
The appropriate mode for each Service Check is listed here:

| Service&nbsp;Check&nbsp;Name | Mode |
|:-----------------------------|:-----|
| Exchange - Connectivity - ActiveSync Status | `MSExConnectivity.ActiveSync` |
| Exchange - Connectivity - ECP Status | `MSExConnectivity.ECP` |
| Exchange - Connectivity - IMAP Status | `MSExConnectivity.IMAP` |
| Exchange - Connectivity - Web Service Status | `MSExConnectivity.Web.Service` |
| Exchange - Connectivity - POP Status | `MSExConnectivity.POP` |
| Exchange - Connectivity - Web App Connected Users | `MSExConnectivity.Connected.Users` |
| Exchange - Connectivity - Client Access Server Latency | `MSExConnectivity.CAS.Latency` |
| Exchange - Connectivity - ActiveSync Requests | `MSExConnectivity.ActiveSync.Requests` |


