Dostupná řešení
Azure Microsoft SQL Database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.4 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used percent. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Full backup storage size | Cumulative full backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.size Preprocessing
|
| Differential backup storage size | Cumulative differential backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.diff.size Preprocessing
|
| Log backup storage size | Cumulative log backup storage size. Applies to the vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.2 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used percent. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Full backup storage size | Cumulative full backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.size Preprocessing
|
| Differential backup storage size | Cumulative differential backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.diff.size Preprocessing
|
| Log backup storage size | Cumulative log backup storage size. Applies to the vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used percent. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Full backup storage size | Cumulative full backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.size Preprocessing
|
| Differential backup storage size | Cumulative differential backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.diff.size Preprocessing
|
| Log backup storage size | Cumulative log backup storage size. Applies to the vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 6.4 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Azure Microsoft SQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Azure Microsoft SQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Azure Microsoft SQL: Data IO percentage | The percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Azure Microsoft SQL: Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Azure Microsoft SQL: Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Azure Microsoft SQL: Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Azure Microsoft SQL: Data space used percent | Data space used percent. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Azure Microsoft SQL: Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Azure Microsoft SQL: Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Azure Microsoft SQL: Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| Azure Microsoft SQL: CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| Azure Microsoft SQL: CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| Azure Microsoft SQL: SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Azure Microsoft SQL: Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log file size | The space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Azure Microsoft SQL: Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Azure Microsoft SQL: Full backup storage size | Cumulative full backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.size Preprocessing
|
| Azure Microsoft SQL: Differential backup storage size | Cumulative differential backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.diff.size Preprocessing
|
| Azure Microsoft SQL: Log backup storage size | Cumulative log backup storage size. Applies to the vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
For Zabbix version: 6.2 and higher.
Setup
See Zabbix template operation for basic instructions.
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure macros
{$AZURE.APP_ID},{$AZURE.PASSWORD},{$AZURE.TENANT_ID},{$AZURE.SUBSCRIPTION_ID}, and{$AZURE.RESOURCE_ID}.
Configuration
No specific Zabbix configuration is required.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.APP_ID} | The AppID of Microsoft Azure. |
`` |
| {$AZURE.DATA.TIMEOUT} | A response timeout for an API. |
60s |
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of the CPU utilization expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of the memory utilization expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of the storage utilization expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of the storage utilization expressed in %. |
80 |
| {$AZURE.PASSWORD} | Microsoft Azure password. |
`` |
| {$AZURE.RESOURCE_ID} | Microsoft Azure Microsoft SQL database ID. |
`` |
| {$AZURE.SUBSCRIPTION_ID} | Microsoft Azure subscription ID. |
`` |
| {$AZURE.TENANT_ID} | Microsoft Azure tenant ID. |
`` |
Template links
There are no template links in this template.
Discovery rules
Items collected
| Group | Name | Description | Type | Key and additional info |
|---|---|---|---|---|
| Azure | Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
SCRIPT | azure.db.mssql.data.get Expression: The text is too long. Please see the template. |
| Azure | Azure Microsoft SQL: Get errors | A list of errors from API requests. |
DEPENDENT | azure.db.mssql.data.errors Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Availability state | The availability status of the resource. |
DEPENDENT | azure.db.mssql.availability.state Preprocessing: - JSONPATH: ⛔️ON_FAIL: - STR_REPLACE: - STR_REPLACE: - STR_REPLACE: - STR_REPLACE: - IN_RANGE: ⛔️ON_FAIL: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
DEPENDENT | azure.db.mssql.availability.details Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
DEPENDENT | azure.db.mssql.cpu.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data IO percentage | The physical data read percentage. |
DEPENDENT | azure.db.mssql.data.read.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Log IO percentage | Log IO percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.log.write.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data space used | Data space used. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.used Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Connections successful | The count of successful connections. |
DEPENDENT | azure.db.mssql.connections.successful Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
DEPENDENT | azure.db.mssql.connections.failed.system Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
DEPENDENT | azure.db.mssql.firewall.blocked Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.deadlocks Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data space used percent | Data space used percent. Not applicable to data warehouses or hyperscale databases. |
DEPENDENT | azure.db.mssql.storage.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.xtp.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Workers percentage | Workers percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.workers.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Sessions percentage | Sessions percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.sessions.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
DEPENDENT | azure.db.mssql.sessions.count Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: CPU limit | The CPU limit. Applies to vCore-based databases. |
DEPENDENT | azure.db.mssql.cpu.limit Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: CPU used | CPU used. Applies to vCore-based databases. |
DEPENDENT | azure.db.mssql.cpu.used Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: SQL Server process core percent | CPU usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.server.cpu.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.server.memory.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Tempdb data file size | Space used in tempdb data files in bytes. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.data.size Preprocessing: - JSONPATH: ⛔️ON_FAIL: - MULTIPLIER: |
| Azure | Azure Microsoft SQL: Tempdb log file size | Space used in tempdb transaction log file in bytes. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.log.size Preprocessing: - JSONPATH: ⛔️ON_FAIL: - MULTIPLIER: |
| Azure | Azure Microsoft SQL: Tempdb log used percent | Space used percentage in tempdb transaction log file. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.log.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Data space allocated | Allocated data storage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.allocated Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Full backup storage size | Cumulative full backup storage size. Applies to vCore-based databases. Not applicable to Hyperscale databases. |
DEPENDENT | azure.db.mssql.storage.backup.size Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Differential backup storage size | Cumulative differential backup storage size. Applies to vCore-based databases. Not applicable to Hyperscale databases. |
DEPENDENT | azure.db.mssql.storage.backup.diff.size Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Log backup storage size | Cumulative log backup storage size. Applies to vCore-based and Hyperscale databases. |
DEPENDENT | azure.db.mssql.storage.backup.log.size Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.data.errors))>0 |
AVERAGE | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.availability.state)=2 |
HIGH | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in degraded state. |
last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.availability.state)=1 |
AVERAGE | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.availability.state)=3 |
WARNING | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
HIGH | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
AVERAGE | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
WARNING |
Feedback
Please report any issues with the template at https://support.zabbix.com.
You can also provide feedback, discuss the template, or ask for help at ZABBIX forums.
Azure Microsoft SQL Database by HTTP
Overview
This template is designed to monitor Microsoft SQL databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 6.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Azure Microsoft SQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Azure Microsoft SQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Azure Microsoft SQL: Data IO percentage | The percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Azure Microsoft SQL: Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Azure Microsoft SQL: Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Azure Microsoft SQL: Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Azure Microsoft SQL: Data space used percent | Data space used percent. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Azure Microsoft SQL: Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Azure Microsoft SQL: Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Azure Microsoft SQL: Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| Azure Microsoft SQL: CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| Azure Microsoft SQL: CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| Azure Microsoft SQL: SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Azure Microsoft SQL: Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log file size | The space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Azure Microsoft SQL: Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Azure Microsoft SQL: Full backup storage size | Cumulative full backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.size Preprocessing
|
| Azure Microsoft SQL: Differential backup storage size | Cumulative differential backup storage size. Applies to the vCore-based databases. Not applicable to the Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.diff.size Preprocessing
|
| Azure Microsoft SQL: Log backup storage size | Cumulative log backup storage size. Applies to the vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Serverless Database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.4 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL serverless databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL Serverless Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL Serverless Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The physical data read percentage. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | The percentage of used data space. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | Space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | Space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| App CPU billed | App CPU billed. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.billed Preprocessing
|
| App CPU percentage | App CPU percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.percent Preprocessing
|
| App memory percentage | App memory percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.memory.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL Serverless: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL Serverless: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL Serverless: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL Serverless: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL Serverless: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Serverless Database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.2 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL serverless databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The physical data read percentage. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | The percentage of used data space. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | Space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | Space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| App CPU billed | App CPU billed. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.billed Preprocessing
|
| App CPU percentage | App CPU percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.percent Preprocessing
|
| App memory percentage | App memory percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.memory.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL Serverless: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL Serverless: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL Serverless: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL Serverless: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL Serverless: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Serverless Database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL serverless databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL Serverless Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL Serverless Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Data IO percentage | The physical data read percentage. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | The percentage of used data space. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | Space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | Space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| App CPU billed | App CPU billed. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.billed Preprocessing
|
| App CPU percentage | App CPU percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.percent Preprocessing
|
| App memory percentage | App memory percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.memory.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL Serverless: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL Serverless: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL Serverless: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL Serverless: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL Serverless: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL Serverless: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL Serverless Database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 6.4 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL serverless databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Azure Microsoft SQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Azure Microsoft SQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Azure Microsoft SQL: Data IO percentage | The physical data read percentage. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Azure Microsoft SQL: Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Azure Microsoft SQL: Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Azure Microsoft SQL: Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Azure Microsoft SQL: Data space used percent | The percentage of used data space. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Azure Microsoft SQL: Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Azure Microsoft SQL: Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Azure Microsoft SQL: CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| Azure Microsoft SQL: CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| Azure Microsoft SQL: SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Azure Microsoft SQL: Tempdb data file size | Space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log file size | Space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Azure Microsoft SQL: App CPU billed | App CPU billed. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.billed Preprocessing
|
| Azure Microsoft SQL: App CPU percentage | App CPU percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.percent Preprocessing
|
| Azure Microsoft SQL: App memory percentage | App memory percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.memory.percent Preprocessing
|
| Azure Microsoft SQL: Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL serverless database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
For Zabbix version: 6.2 and higher.
Setup
See Zabbix template operation for basic instructions.
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure macros
{$AZURE.APP_ID},{$AZURE.PASSWORD},{$AZURE.TENANT_ID},{$AZURE.SUBSCRIPTION_ID}, and{$AZURE.RESOURCE_ID}.
Configuration
No specific Zabbix configuration is required.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.APP_ID} | The AppID of Microsoft Azure. |
`` |
| {$AZURE.DATA.TIMEOUT} | A response timeout for an API. |
60s |
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of the CPU utilization expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of the memory utilization expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of the storage utilization expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of the storage utilization expressed in %. |
80 |
| {$AZURE.PASSWORD} | Microsoft Azure password. |
`` |
| {$AZURE.RESOURCE_ID} | Microsoft Azure Microsoft SQL database ID. |
`` |
| {$AZURE.SUBSCRIPTION_ID} | Microsoft Azure subscription ID. |
`` |
| {$AZURE.TENANT_ID} | Microsoft Azure tenant ID. |
`` |
Template links
There are no template links in this template.
Discovery rules
Items collected
| Group | Name | Description | Type | Key and additional info |
|---|---|---|---|---|
| Azure | Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
SCRIPT | azure.db.mssql.data.get Expression: The text is too long. Please see the template. |
| Azure | Azure Microsoft SQL: Get errors | A list of errors from API requests. |
DEPENDENT | azure.db.mssql.data.errors Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Availability state | The availability status of the resource. |
DEPENDENT | azure.db.mssql.availability.state Preprocessing: - JSONPATH: ⛔️ON_FAIL: - STR_REPLACE: - STR_REPLACE: - STR_REPLACE: - STR_REPLACE: - IN_RANGE: ⛔️ON_FAIL: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
DEPENDENT | azure.db.mssql.availability.details Preprocessing: - JSONPATH: - DISCARD_UNCHANGED_HEARTBEAT: |
| Azure | Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
DEPENDENT | azure.db.mssql.cpu.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data IO percentage | The physical data read percentage. |
DEPENDENT | azure.db.mssql.data.read.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Log IO percentage | Log IO percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.log.write.percentage Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data space used | Data space used. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.used Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Connections successful | The count of successful connections. |
DEPENDENT | azure.db.mssql.connections.successful Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
DEPENDENT | azure.db.mssql.connections.failed.system Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
DEPENDENT | azure.db.mssql.firewall.blocked Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.deadlocks Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Data space used percent | Data space used percent. Not applicable to data warehouses or hyperscale databases. |
DEPENDENT | azure.db.mssql.storage.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.xtp.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Workers percentage | Workers percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.workers.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: Sessions percentage | Sessions percentage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.sessions.percent Preprocessing: - JSONPATH: |
| Azure | Azure Microsoft SQL: CPU limit | The CPU limit. Applies to vCore-based databases. |
DEPENDENT | azure.db.mssql.cpu.limit Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: CPU used | CPU used. Applies to vCore-based databases. |
DEPENDENT | azure.db.mssql.cpu.used Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: SQL Server process core percent | CPU usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.server.cpu.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.server.memory.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Tempdb data file size | Space used in tempdb data files in bytes. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.data.size Preprocessing: - JSONPATH: ⛔️ON_FAIL: - MULTIPLIER: |
| Azure | Azure Microsoft SQL: Tempdb log file size | Space used in tempdb transaction log file in bytes. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.log.size Preprocessing: - JSONPATH: ⛔️ON_FAIL: - MULTIPLIER: |
| Azure | Azure Microsoft SQL: Tempdb log used percent | Space used percentage in tempdb transaction log file. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.tempdb.log.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: App CPU billed | App CPU billed. Applies to serverless databases. |
DEPENDENT | azure.db.mssql.app.cpu.billed Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: App CPU percentage | App CPU percentage. Applies to serverless databases. |
DEPENDENT | azure.db.mssql.app.cpu.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: App memory percentage | App memory percentage. Applies to serverless databases. |
DEPENDENT | azure.db.mssql.app.memory.percent Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
| Azure | Azure Microsoft SQL: Data space allocated | Allocated data storage. Not applicable to data warehouses. |
DEPENDENT | azure.db.mssql.storage.allocated Preprocessing: - JSONPATH: ⛔️ON_FAIL: |
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.data.errors))>0 |
AVERAGE | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.availability.state)=2 |
HIGH | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in degraded state. |
last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.availability.state)=1 |
AVERAGE | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.availability.state)=3 |
WARNING | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
HIGH | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
AVERAGE | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL serverless database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
WARNING |
Feedback
Please report any issues with the template at https://support.zabbix.com.
You can also provide feedback, discuss the template, or ask for help at ZABBIX forums.
Azure Microsoft SQL Serverless Database by HTTP
Overview
This template is designed to monitor Microsoft SQL serverless databases by HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 6.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL serverless databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure Microsoft SQL database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Azure Microsoft SQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mssql.data.get |
| Azure Microsoft SQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Azure Microsoft SQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Azure Microsoft SQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| Azure Microsoft SQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| Azure Microsoft SQL: Data IO percentage | The physical data read percentage. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Azure Microsoft SQL: Log IO percentage | The percentage of I/O log. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Azure Microsoft SQL: Data space used | Data space used. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Azure Microsoft SQL: Connections successful | The count of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Azure Microsoft SQL: Connections failed: System errors | The count of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Azure Microsoft SQL: Connections blocked by firewall | The count of connections blocked by firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Azure Microsoft SQL: Deadlocks | The count of deadlocks. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Azure Microsoft SQL: Data space used percent | The percentage of used data space. Not applicable to the data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| Azure Microsoft SQL: In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Azure Microsoft SQL: Workers percentage | The percentage of workers. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Azure Microsoft SQL: Sessions percentage | The percentage of sessions. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Azure Microsoft SQL: CPU limit | The CPU limit. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.limit Preprocessing
|
| Azure Microsoft SQL: CPU used | The CPU used. Applies to the vCore-based databases. |
Dependent item | azure.db.mssql.cpu.used Preprocessing
|
| Azure Microsoft SQL: SQL Server process core percent | The CPU usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| Azure Microsoft SQL: SQL Server process memory percent | Memory usage as a percentage of the SQL DB process. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Azure Microsoft SQL: Tempdb data file size | Space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log file size | Space used in |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Azure Microsoft SQL: Tempdb log used percent | The percentage of space used in |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Azure Microsoft SQL: App CPU billed | App CPU billed. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.billed Preprocessing
|
| Azure Microsoft SQL: App CPU percentage | App CPU percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.cpu.percent Preprocessing
|
| Azure Microsoft SQL: App memory percentage | App memory percentage. Applies to serverless databases. |
Dependent item | azure.db.mssql.app.memory.percent Preprocessing
|
| Azure Microsoft SQL: Data space allocated | The allocated data storage. Not applicable to the data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure Microsoft SQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure Microsoft SQL: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure Microsoft SQL: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure Microsoft SQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure Microsoft SQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure Microsoft SQL: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL Serverless Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure Microsoft SQL DTU Database by HTTP
Overview
This template is designed to monitor Microsoft SQL DTU-based databases via HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.4 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL DTU-based databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure SQL DTU-based database ID. |
|
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL DTU Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL DTU Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in JSON format. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | A detailed summary of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| CPU percentage | The average percentage of CPU usage on a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| DTU percentage | The average percentage of DTU consumption for a DTU-based database. |
Dependent item | azure.db.mssql.dtu.percentage Preprocessing
|
| Data IO percentage | The average percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O used for log writes. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The number of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The number of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The number of connections blocked by the firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The number of deadlocks. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used in percent. Not applicable to data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| DTU limit | The DTU limit. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.limit Preprocessing
|
| DTU used | The DTU used. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.used Preprocessing
|
| SQL instance CPU percent | CPU usage from all user and system workloads. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL instance memory percent | The percentage of memory used by the database engine instance. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in the |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in the |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Log backup storage size | The cumulative log backup storage size. Applies to vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL DTU: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL DTU: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL DTU: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: High DTU utilization | The DTU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.dtu.percentage,5m)>{$AZURE.DB.DTU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL DTU: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning | Depends on:
|
Azure Microsoft SQL DTU Database by HTTP
Overview
This template is designed to monitor Microsoft SQL DTU-based databases via HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.2 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL DTU-based databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure SQL DTU-based database ID. |
|
| {$AZURE.DB.DTU.UTIL.CRIT} | The critical threshold of DTU utilization, expressed in %. |
90 |
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in JSON format. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | A detailed summary of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| CPU percentage | The average percentage of CPU usage on a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| DTU percentage | The average percentage of DTU consumption for a DTU-based database. |
Dependent item | azure.db.mssql.dtu.percentage Preprocessing
|
| Data IO percentage | The average percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O used for log writes. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The number of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The number of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The number of connections blocked by the firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The number of deadlocks. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used in percent. Not applicable to data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| DTU limit | The DTU limit. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.limit Preprocessing
|
| DTU used | The DTU used. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.used Preprocessing
|
| SQL instance CPU percent | CPU usage from all user and system workloads. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL instance memory percent | The percentage of memory used by the database engine instance. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in the |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in the |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Log backup storage size | The cumulative log backup storage size. Applies to vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL DTU: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL DTU: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL DTU: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: High DTU utilization | The DTU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.dtu.percentage,5m)>{$AZURE.DB.DTU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL DTU: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning | Depends on:
|
Azure Microsoft SQL DTU Database by HTTP
Overview
This template is designed to monitor Microsoft SQL DTU-based databases via HTTP. It works without any external scripts and uses the script item.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure SQL DTU-based databases
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Create an Azure service principal via the Azure command-line interface (Azure CLI) for your subscription.
az ad sp create-for-rbac --name zabbix --role reader --scope /subscriptions/<subscription_id>
See Azure documentation for more details.
- Link the template to a host.
- Configure the macros:
{$AZURE.APP.ID},{$AZURE.PASSWORD},{$AZURE.TENANT.ID},{$AZURE.SUBSCRIPTION.ID}, and{$AZURE.RESOURCE.ID}.
Macros used
| Name | Description | Default |
|---|---|---|
| {$AZURE.PROXY} | Sets the HTTP proxy value. If this macro is empty, then no proxy is used. |
|
| {$AZURE.APP.ID} | The App ID of Microsoft Azure. |
|
| {$AZURE.PASSWORD} | Microsoft Azure password. |
|
| {$AZURE.DATA.TIMEOUT} | API response timeout. |
15s |
| {$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
| {$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
| {$AZURE.RESOURCE.ID} | Microsoft Azure SQL DTU-based database ID. |
|
| {$AZURE.DB.DTU.UTIL.CRIT} | The critical threshold of DTU utilization, expressed in %. |
90 |
| {$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
| {$AZURE.DB.MEMORY.UTIL.CRIT} | The critical threshold of memory utilization, expressed in %. |
90 |
| {$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of storage utilization, expressed in %. |
80 |
| {$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of storage utilization, expressed in %. |
90 |
| {$HTTP.TLS.VERIFY} | TLS certificate verification for script items: "none" - disabled, "peer" - verify the certificate chain and expiration, "full" - full verification. Any other value enables full verification. To override the setting for this template only, define the macro with the context "Azure Microsoft SQL DTU Database", e.g. {$HTTP.TLS.VERIFY:"Azure Microsoft SQL DTU Database"}. |
full |
Items
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| Get data | The result of API requests is expressed in JSON format. |
Script | azure.db.mssql.data.get |
| Get errors | A list of errors from API requests. |
Dependent item | azure.db.mssql.data.errors Preprocessing
|
| Availability state | The availability status of the resource. |
Dependent item | azure.db.mssql.availability.state Preprocessing
|
| Availability status detailed | A detailed summary of the availability status. |
Dependent item | azure.db.mssql.availability.details Preprocessing
|
| CPU percentage | The average percentage of CPU usage on a host. |
Dependent item | azure.db.mssql.cpu.percentage Preprocessing
|
| DTU percentage | The average percentage of DTU consumption for a DTU-based database. |
Dependent item | azure.db.mssql.dtu.percentage Preprocessing
|
| Data IO percentage | The average percentage of physical data read. |
Dependent item | azure.db.mssql.data.read.percentage Preprocessing
|
| Log IO percentage | The percentage of I/O used for log writes. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.log.write.percentage Preprocessing
|
| Data space used | Data space used. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.used Preprocessing
|
| Connections successful | The number of successful connections. |
Dependent item | azure.db.mssql.connections.successful Preprocessing
|
| Connections failed: System errors | The number of failed connections with system errors. |
Dependent item | azure.db.mssql.connections.failed.system Preprocessing
|
| Connections blocked by firewall | The number of connections blocked by the firewall. |
Dependent item | azure.db.mssql.firewall.blocked Preprocessing
|
| Deadlocks | The number of deadlocks. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.deadlocks Preprocessing
|
| Data space used percent | Data space used in percent. Not applicable to data warehouses or Hyperscale databases. |
Dependent item | azure.db.mssql.storage.percent Preprocessing
|
| In-Memory OLTP storage percent | In-Memory OLTP storage percent. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.xtp.percent Preprocessing
|
| Workers percentage | The percentage of workers. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.workers.percent Preprocessing
|
| Sessions percentage | The percentage of sessions. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.sessions.percent Preprocessing
|
| Sessions count | The number of active sessions. Not applicable to Synapse DW Analytics. |
Dependent item | azure.db.mssql.sessions.count Preprocessing
|
| DTU limit | The DTU limit. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.limit Preprocessing
|
| DTU used | The DTU used. Applicable to DTU-based databases. |
Dependent item | azure.db.mssql.dtu.used Preprocessing
|
| SQL instance CPU percent | CPU usage from all user and system workloads. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.cpu.percent Preprocessing
|
| SQL instance memory percent | The percentage of memory used by the database engine instance. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.server.memory.percent Preprocessing
|
| Tempdb data file size | The space used in |
Dependent item | azure.db.mssql.tempdb.data.size Preprocessing
|
| Tempdb log file size | The space used in the |
Dependent item | azure.db.mssql.tempdb.log.size Preprocessing
|
| Tempdb log used percent | The percentage of space used in the |
Dependent item | azure.db.mssql.tempdb.log.percent Preprocessing
|
| Data space allocated | The allocated data storage. Not applicable to data warehouses. |
Dependent item | azure.db.mssql.storage.allocated Preprocessing
|
| Log backup storage size | The cumulative log backup storage size. Applies to vCore-based and Hyperscale databases. |
Dependent item | azure.db.mssql.storage.backup.log.size Preprocessing
|
Triggers
| Name | Description | Expression | Severity | Dependencies and additional info |
|---|---|---|---|---|
| Azure MSSQL DTU: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.data.errors))>0 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is unavailable | The resource state is unavailable. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=2 |
High | |
| Azure MSSQL DTU: Microsoft SQL database is degraded | The resource is in a degraded state. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=1 |
Average | |
| Azure MSSQL DTU: Microsoft SQL database is in unknown state | The resource state is unknown. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.availability.state)=3 |
Warning | |
| Azure MSSQL DTU: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: High DTU utilization | The DTU utilization is too high. The system might be slow to respond. |
min(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.dtu.percentage,5m)>{$AZURE.DB.DTU.UTIL.CRIT} |
High | |
| Azure MSSQL DTU: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
| Azure MSSQL DTU: Storage space is low | High utilization of the storage space. |
last(/Azure Microsoft SQL DTU Database by HTTP/azure.db.mssql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning | Depends on:
|