---
title: "How to Monitor Microsoft SQL clustered servers"
description: "Monitoring Microsoft SQL clustered servers requires configuring OP5 Monitor to track drives and Win32 services on virtual server names. The setup involves adding virtual servers as hosts and escaping the $-sign in service names for accurate monitoring."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020252673-op5-monitor-how-to-monitor-microsoft-sql-clustered-servers/index.html"
---
Monitoring Microsoft clustered servers requires some extra configuration. This how-to describes how to configure OP5 Monitor to monitor drives and win32-services on clustered Windows servers.

## Drives/partitions

Since drives/partitions in Windows server clusters can fail over between the physical servers, the drives need to be checked/monitored via the virtual server names.

First, you need to add the virtual servers as new hosts in your configuration.

Second, add services to these new hosts. See example below:

|  |  |
| --- | --- |
| service\_description: | Disk usage Q: |
| check\_command: | check\_nt\_disk |
| check\_command\_args: | Q!88%!95% |

## Services

In a Windows server cluster, the Win32-services are named using the format 'win-servicename$virtualhostname'. To monitor these services, the $-sign needs to be escaped in check\_command\_args. See example below:

|  |  |
| --- | --- |
| service\_description: | SQL Server service |
| check\_command: | check\_nt\_service |
| check\_command\_args: | MSSQLSERVER\$$virtualhost |


