---
title: "Biztalk plugin - How to use Biztalk"
description: "Monitoring Microsoft Biztalk environments involves tracking ports, queues, orchestrations, and host instances using the check\\biztalk plugin. The guide provides command definitions and examples for monitoring key Biztalk components and performance counters with NSClient++ and check\\nrpe."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020056134-op5-monitor-biztalk-plugin-how-to-use-biztalk/index.html"
---
## Disclaimer

The plugin in this HOWTO has not been fully tested with all Biztalk versions, for example certain variables or arguments used and available functionality may differ in your environment, please let us know if you have any issues with the plugins or commands mentioned in this HOWTO. All the plugins in this article are shipped with the default op5 Monitor plugins-package.

This mini how-to will show you how to monitor some basic parameters on a Microsoft Biztalk environment.

### The plugins mentioned in this mini-howto will let you monitor the following in Biztalk

- Ports
- Send ports
- Queues
- Location
- Orchestration
- Cluster host instance process
- Spool size
- Msdtc process

In addition to this, it's also possible to monitor Biztalk-related metrics and performance counters using NSClient++ and check\_nrpe. An example of how to work with this plugin and performance counter can be found at the end of this how-to.

### Command definitions to start with Biztalk monitoring using check\_biztalk plugin

Monitoring BizTalk ports

```
define command{command_name check_biztalk_portscommand_line $USER1$/check_biztalk -U $USER11$ -P$USER12$ -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p}
```

Monitoring Biztalk queues

```
define command{command_name check_biztalk_queuescommand_line $USER1$/check_biztalk -U $USER11$-P$USER12$-H $HOSTADDRESS$ -W $ARG1$ -C $ARG2$}
```

Specific receive location(s) to check, comma-separated

```
define command{command_name check_biztalk_specific_locationscommand_line $USER1$/check_biztalk -U $USER11$-P$USER12$-H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -l $ARG3$}
```

Biztalk orchestration monitoring command

```
define command{command_name check_biztalk_orchestrationcommand_line $USER1$/check_biztalk -U $USER11$-P $USER12$-H $HOSTADDRESS$ -o $ARG1$ -O $ARG2$}
```

Monitoring of sendports

```
define command{command_name check_biztalk_sendportscommand_line $USER1$/check_biztalk -U $USER11$-P $USER12$ -H $HOSTADDRESS$ -d $ARG1$ -D $ARG2$}
```

### Command definitions for the check\_biztalk\_cluster\_host\_instance plugin

Cluster instances running

```
define command{command_name check_biztalk_cluster_host_instancecommand_line$USER1$/custom/check_biztalk_cluster_host_instance $ARG1$}
```

### Command definition for the check\_biztalk\_msdtc plugin

Check the active instance running

```
define command{command_name check_biztalk_msdtccommand_line $USER1$/custom/check_biztalk_msdtc $ARG1$}
```

### Command definition for performance counters using check\_nrpe and NSClient++

Checks the spool size of Message Box

```
define command{command_name check_biztalk_spool_sizecommand_line $USER1$/check_nrpe -H $HOSTADDRESS$-c Check
```

For more performance counters related to Biztalk, please visit [Microsoft Technet](http://msdn.microsoft.com/en-us/library/aa578394.aspx "Biztalk Performance Counter").


