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

Monitor the status of your Microsoft Exchange server with checks to monitor the status of required services and components.

This Host Template includes the following Service Checks:

| Service&nbsp;Check&nbsp;Name | Description | Default&nbsp;Thresholds (Metric:&nbsp;Warning,&nbsp;Critical) | UOM |
|:-----------------------------|:------------|:------------------------------------------------:|:---:|
| Exchange - Status - Service States | Check required Microsoft Exchange services are running. If not run with verbose mode, results will be truncated and summarised. | N/A | N/A |
| Exchange - Status - Component States | Check the status of Microsoft Exchange components. If not run with verbose mode, results will be truncated and summarised. | 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 - Status** 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)
- [**MS_EXCHANGE_EXPECTED_INACTIVE**](#ms_exchange_expected_inactive)


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

### MS_EXCHANGE_EXPECTED_INACTIVE

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| `-InactiveComponents` | Arg1 | MS Exchange Inactive Components | Comma separated list of components which are expected to be inactive |
| `-InactiveServices` | Arg2 | MS Exchange Inactive Services | Comma separated list of services which are not expected to be running |

## 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 - Status - Service States | `MSExStatus.Service.States` |
| Exchange - Status - Component States | `MSExStatus.Component.States` |


