MSSQL Database States (Service Check)
  • 10 Jan 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

MSSQL Database States (Service Check)

  • Dark
    Light
  • PDF

Article Summary

Service Check Category: System Checks

Passive: No

Description: This service check can be used to create alarms for database states. The alarm parameters are configurable so that you can choose which states to alarm on.

The possible states available to monitor on are:

CodeStateApplication Restrictions
0ONLINE 
1RESTORING 
2RECOVERINGSQL Server 2008 through SQL Server 2017
3RECOVERY_PENDINGSQL Server 2008 through SQL Server 2017
4SUSPECT 
5EMERGENCYSQL Server 2008 through SQL Server 2017
6OFFLINESQL Server 2008 through SQL Server 2017
7COPYINGAzure SQL Database active geo-replication
10OFFLINE_SECONDARYAzure SQL Database active geo-replication

Was this article helpful?