Microsoft Azure SQL Server Database
This SAM application monitor template contains metrics for monitoring a SQL Server Database. Some counters may require manual configuration, such as setting up installation-specific instances or correcting thresholds for your environment.
Passwords for legacy Microsoft Azure application monitor templates and related application monitors are stored as plain text in the SolarWinds Platform database. SolarWinds recommends switching to Microsoft Azure API poller templates that leverage OAuth 2.0 authorization.”
Prerequisites
-
PowerShell modules (Az, Az.Accounts, Az.Resources) installed
-
Parameters for connecting to your Azure account
-
Subscription ID
-
Application ID
-
Tenant ID
-
Secret Key
-
-
Any Azure App (with its name and ID) having minimum role as Read Only
-
SQL Server Database name for which metrics are being calculated
-
PowerShell 5.1 or later
Credentials
- Windows Administrator privileges on the target system
- Login credential to access the Azure Portal, passed as script arguments per prerequisites (<SubscriptionID>, <TenantID>, <ApplicationID>, value=<Secret Key>, <SQL Server Database Name>).
- Optional parameters can be passed to script argument:
- Time interval for which data has to be fetched (in hours).
- Number of retries as the second last argument; the default is 3 times.
- WaitTime as the last argument; the default is 0.5 seconds.
Notes
- Run scripts as the Administrator.
- The ApplicationID with which you are connecting to the Azure portal must be registered in Azure Active Directory as read-only contributor role for the monitored application. See Add an Azure Active Directory app for cloud monitoring in the SolarWinds Platform
- Portions of this document were originally created by and are excerpted from the following sources:
Component monitors
Blocked Connections
This metric provides the average number of firewall blocked connections established for the given SQL database during the time period specified as the Polling Frequency.
Unit: Count
Failed Connections
This monitor provides the average number of failed connections established for the given SQL database during the time period specified as the Polling Frequency.
Unit: Count
Successful Connections
This metric provides the average number of successful connections established for the given SQL database during the time period specified as the Polling Frequency.
Unit: Count
Deadlocks
This metric provides the average number of deadlocks established for the given SQL database during the time period specified as the Polling Frequency.
Unit: Count
Database throughput units (DTU) Limit
This metric provides the average database throughput limit in units for the given SQL database during the time period specified as the Polling Frequency.
Unit: Count
Database throughput units (DTU) used
This metric provides the average database throughput units used for the given SQL database during the time period specified as the polling frequency.
Unit: Count
Sessions percentage
This metric provides the average percentage of available sessions used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Database size percentage
This metric provides the average percentage of storage used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Total database size
This metric provides the average for the total database size for the given SQL database during the time period specified as the polling frequency.
Unit: Bytes
Workers percentage
This metric provides the average percentage of available workers used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Average CPU utilization
This metric provides the average percent CPU used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Average IO utilization
This metric provides the average percentage of data IO used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Average log utilization
This metric provides the average percentage of log IO used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
In-Memory OLTP storage percent
This monitor provides the average In-Memory OLTP (Online Transaction Processing) storage percent for the given SQL database during the time period specified as the polling frequency.
Unit: Percent
Database throughput unit (DTU) percentage
This metric provides the average percentage of database throughput units used for the given SQL database during the time period specified as the polling frequency.
Unit: Percent