yzl
93958d0fb0
|
1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
template_cloud_azure_http.yaml | 1 year ago |
README.md
Azure by HTTP
Overview
This template is designed to monitor Microsoft Azure by HTTP. It works without any external scripts and uses the script item. Currently the template supports the discovery of Virtual Machines (VMs), Cosmos DB for MongoDB, Storage accounts, Microsoft SQL, MySQL, and PostgreSQL servers.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure
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}
, and{$AZURE.SUBSCRIPTION.ID}
.
Macros used
Name | Description | Default |
---|---|---|
{$AZURE.PROXY} | Sets 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.VM.NAME.MATCHES} | This macro is used in virtual machines discovery rule. |
.* |
{$AZURE.VM.NAME.NOT.MATCHES} | This macro is used in virtual machines discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.VM.LOCATION.MATCHES} | This macro is used in virtual machines discovery rule. |
.* |
{$AZURE.VM.LOCATION.NOT.MATCHES} | This macro is used in virtual machines discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.STORAGE.ACC.NAME.MATCHES} | This macro is used in storage accounts discovery rule. |
.* |
{$AZURE.STORAGE.ACC.NAME.NOT.MATCHES} | This macro is used in storage accounts discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.STORAGE.ACC.LOCATION.MATCHES} | This macro is used in storage accounts discovery rule. |
.* |
{$AZURE.STORAGE.ACC.LOCATION.NOT.MATCHES} | This macro is used in storage accounts discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.STORAGE.ACC.AVAILABILITY} | The warning threshold of the storage account availability. |
70 |
{$AZURE.STORAGE.ACC.BLOB.AVAILABILITY} | The warning threshold of the storage account blob services availability. |
70 |
{$AZURE.STORAGE.ACC.TABLE.AVAILABILITY} | The warning threshold of the storage account table services availability. |
70 |
{$AZURE.RESOURCE.GROUP.MATCHES} | This macro is used in discovery rules. |
.* |
{$AZURE.RESOURCE.GROUP.NOT.MATCHES} | This macro is used in discovery rules. |
CHANGE_IF_NEEDED |
{$AZURE.MYSQL.DB.NAME.MATCHES} | This macro is used in MySQL servers discovery rule. |
.* |
{$AZURE.MYSQL.DB.NAME.NOT.MATCHES} | This macro is used in MySQL servers discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.MYSQL.DB.LOCATION.MATCHES} | This macro is used in MySQL servers discovery rule. |
.* |
{$AZURE.MYSQL.DB.LOCATION.NOT.MATCHES} | This macro is used in MySQL servers discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.PGSQL.DB.NAME.MATCHES} | This macro is used in PostgreSQL servers discovery rule. |
.* |
{$AZURE.PGSQL.DB.NAME.NOT.MATCHES} | This macro is used in PostgreSQL servers discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.PGSQL.DB.LOCATION.MATCHES} | This macro is used in PostgreSQL servers discovery rule. |
.* |
{$AZURE.PGSQL.DB.LOCATION.NOT.MATCHES} | This macro is used in PostgreSQL servers discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.MSSQL.DB.NAME.MATCHES} | This macro is used in Microsoft SQL databases discovery rule. |
.* |
{$AZURE.MSSQL.DB.NAME.NOT.MATCHES} | This macro is used in Microsoft SQL databases discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.MSSQL.DB.LOCATION.MATCHES} | This macro is used in Microsoft SQL databases discovery rule. |
.* |
{$AZURE.MSSQL.DB.LOCATION.NOT.MATCHES} | This macro is used in Microsoft SQL databases discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.MSSQL.DB.SIZE.NOT.MATCHES} | This macro is used in Microsoft SQL databases discovery rule. |
^System$ |
{$AZURE.COSMOS.MONGO.DB.NAME.MATCHES} | This macro is used in Microsoft Cosmos DB account discovery rule. |
.* |
{$AZURE.COSMOS.MONGO.DB.NAME.NOT.MATCHES} | This macro is used in Microsoft Cosmos DB account discovery rule. |
CHANGE_IF_NEEDED |
{$AZURE.COSMOS.MONGO.DB.LOCATION.MATCHES} | This macro is used in Microsoft Cosmos DB account discovery rule. |
.* |
{$AZURE.COSMOS.MONGO.DB.LOCATION.NOT.MATCHES} | This macro is used in Microsoft Cosmos DB account discovery rule. |
CHANGE_IF_NEEDED |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure: Get resources | The result of API requests is expressed in the JSON. |
Script | azure.get.resources |
Azure: Get errors | A list of errors from API requests. |
Dependent item | azure.get.errors Preprocessing
|
Azure: Get storage accounts | The result of API requests is expressed in the JSON. |
Script | azure.get.storage.acc |
Azure: Get storage accounts errors | The errors from API requests. |
Dependent item | azure.get.storage.acc.errors Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure by HTTP/azure.get.errors))>0 |
Average | |
Azure: There are errors in storages requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure by HTTP/azure.get.storage.acc.errors))>0 |
Average | Depends on:
|
LLD rule Storage accounts discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Storage accounts discovery | The list of all storage accounts available under the subscription. |
Dependent item | azure.starage.acc.discovery Preprocessing
|
Item prototypes for Storage accounts discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure: Storage account [{#NAME}]: Get data | The HTTP API endpoint that returns storage metrics with the name |
Script | azure.get.storage.acc[{#NAME}] |
Azure: Storage account [{#NAME}]: Used Capacity | The amount of storage used by the storage account with the name For standard storage accounts, it's the sum of capacity used by blob, table, file, and queue. For premium storage accounts and Blob storage accounts, it is the same as BlobCapacity or FileCapacity. |
Dependent item | azure.storage.used.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Transactions | The number of requests made to the storage service or a specified API operation. This number includes successful and failed requests and also requests that produced errors. Use |
Dependent item | azure.storage.transactions[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Ingress | The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure. |
Dependent item | azure.storage.ingress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Egress | The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure. As a result, this number does not reflect billable egress. |
Dependent item | azure.storage.engress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Success Server Latency | The average time used to process a successful request by Azure Storage. This value does not include the network latency specified in |
Dependent item | azure.storage.success.server.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Success E2E Latency | The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response. |
Dependent item | azure.storage.success.e2e.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Availability | The percentage of availability for the storage service or a specified API operation. Availability is calculated by taking the All unexpected errors result in reduced availability for the storage service or the specified API operation. |
Dependent item | azure.storage.availability[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Capacity | The amount of storage used by the blob service of the storage account with the name |
Dependent item | azure.storage.blob.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Count | The number of blob objects stored in the storage account with the name |
Dependent item | azure.storage.blob.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Container Count | The number of containers in the storage account with the name |
Dependent item | azure.storage.blob.container.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Index Capacity | The amount of storage with the name |
Dependent item | azure.storage.blob.index.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Transactions | The number of requests made to the storage service or a specified API operation. This number includes successful and failed requests and also requests that produced errors. Use |
Dependent item | azure.storage.blob.transactions[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Ingress | The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure. |
Dependent item | azure.storage.blob.ingress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Egress | The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure. As a result, this number does not reflect billable egress. |
Dependent item | azure.storage.blob.engress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Success Server Latency | The average time used to process a successful request by Azure Storage. This value does not include the network latency specified in |
Dependent item | azure.storage.blob.success.server.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Success E2E Latency | The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response. |
Dependent item | azure.storage.blob.success.e2e.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Blob Availability | The percentage of availability for the storage service or a specified API operation. Availability is calculated by taking the All unexpected errors result in reduced availability for the storage service or the specified API operation. |
Dependent item | azure.storage.blob.availability[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Capacity | The amount of storage used by the table service of the storage account with the name |
Dependent item | azure.storage.table.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Count | The number of tables in the storage account with the name |
Dependent item | azure.storage.table.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Entity Count | The number of table entities in the storage account with the name |
Dependent item | azure.storage.table.entity.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Transactions | The number of requests made to the storage service or a specified API operation. This number includes successful and failed requests and also requests that produced errors. Use |
Dependent item | azure.storage.table.transactions[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Ingress | The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure. |
Dependent item | azure.storage.table.ingress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Egress | The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure. As a result, this number does not reflect billable egress. |
Dependent item | azure.storage.table.engress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Success Server Latency | The average time used to process a successful request by Azure Storage. This value does not include the network latency specified in |
Dependent item | azure.storage.table.success.server.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Success E2E Latency | The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response. |
Dependent item | azure.storage.table.success.e2e.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Table Availability | The percentage of availability for the storage service or a specified API operation. Availability is calculated by taking the All unexpected errors result in reduced availability for the storage service or the specified API operation. |
Dependent item | azure.storage.table.availability[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Capacity | The amount of File storage used by the storage account with the name |
Dependent item | azure.storage.file.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Count | The number of files in the storage account with the name |
Dependent item | azure.storage.file.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Share Count | The number of file shares in the storage account. |
Dependent item | azure.storage.file.share.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Share Snapshot Count | The number of snapshots present on the share in storage account's Files Service. |
Dependent item | azure.storage.file.shares.snapshot.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Share Snapshot Size | The amount of storage used by the snapshots in storage account's File service, in bytes. |
Dependent item | azure.storage.file.share.snapshot.size[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Share Capacity Quota | The upper limit on the amount of storage that can be used by Azure Files Service, in bytes. |
Dependent item | azure.storage.file.share.capacity.quota[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Transactions | The number of requests made to the storage service or a specified API operation. This number includes successful and failed requests and also requests that produced errors. Use |
Dependent item | azure.storage.file.transactions[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Ingress | The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure. |
Dependent item | azure.storage.file.ingress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Egress | The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure. As a result, this number does not reflect billable egress. |
Dependent item | azure.storage.file.engress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Success Server Latency | The average time used to process a successful request by Azure Storage. This value does not include the network latency specified in |
Dependent item | azure.storage.file.success.server.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: File Success E2E Latency | The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response. |
Dependent item | azure.storage.file.success.e2e.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Capacity | The amount of Queue storage used by the storage account with the name |
Dependent item | azure.storage.queue.capacity[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Count | The number of queues in the storage account with the name |
Dependent item | azure.storage.queue.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Message Count | The number of unexpired queue messages in the storage account with the name |
Dependent item | azure.storage.queue.message.count[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Transactions | The number of requests made to the storage service or a specified API operation. This number includes successful and failed requests and also requests that produced errors. Use |
Dependent item | azure.storage.queue.transactions[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Ingress | The amount of ingress data, expressed in bytes. This number includes ingress from an external client into Azure Storage and also ingress within Azure. |
Dependent item | azure.storage.queue.ingress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Egress | The amount of egress data. This number includes egress to external client from Azure Storage and also egress within Azure. As a result, this number does not reflect billable egress. |
Dependent item | azure.storage.queue.engress[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Success Server Latency | The average time used to process a successful request by Azure Storage. This value does not include the network latency specified in |
Dependent item | azure.storage.queue.success.server.latency[{#NAME}] Preprocessing
|
Azure: Storage account [{#NAME}]: Queue Success E2E Latency | The average end-to-end latency of successful requests made to a storage service or the specified API operation, expressed in milliseconds. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response. |
Dependent item | azure.storage.queue.success.e2e.latency[{#NAME}] Preprocessing
|
Trigger prototypes for Storage accounts discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure: Storage account [{#NAME}]: Availability is low | (min(/Azure by HTTP/azure.storage.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.AVAILABILITY:"{#NAME}"} |
Warning | ||
Azure: Storage account [{#NAME}]: Blob Availability is low | (min(/Azure by HTTP/azure.storage.blob.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.BLOB.AVAILABILITY:"{#NAME}"} |
Warning | ||
Azure: Storage account [{#NAME}]: Table Availability is low | (min(/Azure by HTTP/azure.storage.table.availability[{#NAME}],#3))<{$AZURE.STORAGE.ACC.TABLE.AVAILABILITY:"{#NAME}"} |
Warning |
LLD rule Virtual machines discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Virtual machines discovery | The list of the virtual machines is provided by the subscription. |
Dependent item | azure.vm.discovery Preprocessing
|
LLD rule MySQL servers discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
MySQL servers discovery | The list of the MySQL servers is provided by the subscription. |
Dependent item | azure.mysql.servers.discovery Preprocessing
|
LLD rule PostgreSQL servers discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
PostgreSQL servers discovery | The list of the PostgreSQL servers is provided by the subscription. |
Dependent item | azure.pgsql.servers.discovery Preprocessing
|
LLD rule Microsoft SQL databases discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Microsoft SQL databases discovery | The list of the Microsoft SQL databases is provided by the subscription. |
Dependent item | azure.mssql.databases.discovery Preprocessing
|
LLD rule Cosmos DB account discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Cosmos DB account discovery | The list of the Cosmos databases is provided by the subscription. |
Dependent item | azure.cosmos.mongo.db.discovery Preprocessing
|
Azure Virtual Machine by HTTP
Overview
This template is designed to monitor Microsoft Azure Virtual Machines (VMs) 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 Virtual Machines
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure Virtual Machine ID. |
|
{$AZURE.VM.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure: Get data | The result of API requests is expressed in the JSON. |
Script | azure.vm.data.get |
Azure: Get errors | A list of errors from API requests. |
Dependent item | azure.vm.data.errors Preprocessing
|
Azure: Availability state | The availability status of the resource. |
Dependent item | azure.vm.availability.state Preprocessing
|
Azure: Availability status detailed | The summary description of availability status. |
Dependent item | azure.vm.availability.details Preprocessing
|
Azure: Percentage CPU | The percentage of allocated computing units that are currently in use by VMs. |
Dependent item | azure.vm.cpu.percentage Preprocessing
|
Azure: Disk read rate | Bytes read from the disk during the monitoring period (1 minute). |
Dependent item | azure.vm.disk.read.bytes Preprocessing
|
Azure: Disk write rate | Bytes written to the disk during the monitoring period (1 minute). |
Dependent item | azure.vm.disk.write.bytes Preprocessing
|
Azure: Disk read Operations/Sec | The count of read operations from the disk per second. |
Dependent item | azure.vm.disk.read.ops Preprocessing
|
Azure: Disk write Operations/Sec | The count of write operations to the disk per second. |
Dependent item | azure.vm.disk.write.ops Preprocessing
|
Azure: CPU credits remaining | The total number of credits available to burst. Available only on B-series burstable VMs. |
Dependent item | azure.vm.cpu.credits.remaining Preprocessing
|
Azure: CPU credits consumed | The total number of credits consumed by the Virtual Machine. Only available on B-series burstable VMs. |
Dependent item | azure.vm.cpu.credits.consumed Preprocessing
|
Azure: Data disk read rate | Bytes per second read from a single disk during the monitoring period. |
Dependent item | azure.vm.data.disk.read.bps Preprocessing
|
Azure: Data disk write rate | Bytes per second written to a single disk during the monitoring period. |
Dependent item | azure.vm.data.disk.write.bps Preprocessing
|
Azure: Data disk read operations/sec | The read IOPS from a single disk during the monitoring period. |
Dependent item | azure.vm.data.disk.read.ops Preprocessing
|
Azure: Data disk write operations/sec | The write IOPS from a single disk during the monitoring period. |
Dependent item | azure.vm.data.disk.write.ops Preprocessing
|
Azure: Data disk queue depth | The number of outstanding IO requests that are waiting to be performed on a disk. |
Dependent item | azure.vm.data.disk.queue.depth Preprocessing
|
Azure: Data disk bandwidth consumed percentage | The percentage of the data disk's bandwidth consumed per minute. |
Dependent item | azure.vm.data.disk.bandwidth.consumed.percentage Preprocessing
|
Azure: Data disk IOPS consumed percentage | The percentage of the data disk input/output (I/O) consumed per minute. |
Dependent item | azure.vm.data.disk.iops.consumed.percentage Preprocessing
|
Azure: Data disk target bandwidth | Baseline bytes per second throughput that the data disk can achieve without bursting. |
Dependent item | azure.vm.data.disk.target.bandwidth Preprocessing
|
Azure: Data disk target IOPS | The baseline IOPS that the data disk can achieve without bursting. |
Dependent item | azure.vm.data.disk.target.iops Preprocessing
|
Azure: Data disk max burst bandwidth | The maximum bytes per second throughput that the data disk can achieve with bursting. |
Dependent item | azure.vm.data.disk.max.bandwidth Preprocessing
|
Azure: Data disk max burst IOPS | The maximum IOPS that the data disk can achieve with bursting. |
Dependent item | azure.vm.data.disk.max.iops Preprocessing
|
Azure: Data disk used burst BPS credits percentage | The percentage of the data disk burst bandwidth credits used so far. |
Dependent item | azure.vm.data.disk.used.burst.bandwidth Preprocessing
|
Azure: Data disk used burst IO credits percentage | The percentage of the data disk burst I/O credits used so far. |
Dependent item | azure.vm.data.disk.used.burst.iops Preprocessing
|
Azure: OS disk read rate | Bytes per second read from a single disk during the monitoring period for OS disk. |
Dependent item | azure.vm.os.disk.read.bps Preprocessing
|
Azure: OS disk write rate | Bytes per second written to a single disk during the monitoring period for OS disk. |
Dependent item | azure.vm.os.disk.write.bps Preprocessing
|
Azure: OS disk read operations/sec | The read IOPS from a single disk during the monitoring period for OS disk. |
Dependent item | azure.vm.os.disk.read.ops Preprocessing
|
Azure: OS disk write operations/sec | The write IOPS from a single disk during the monitoring period for OS disk. |
Dependent item | azure.vm.os.disk.write.ops Preprocessing
|
Azure: OS disk queue depth | The OS disk queue depth (or queue length). |
Dependent item | azure.vm.os.disk.queue.depth Preprocessing
|
Azure: OS disk bandwidth consumed percentage | The percentage of the operating system's disk bandwidth consumed per minute. |
Dependent item | azure.vm.os.disk.bandwidth.consumed.percentage Preprocessing
|
Azure: OS disk IOPS consumed percentage | The percentage of the operating system's disk I/Os consumed per minute. |
Dependent item | azure.vm.os.disk.iops.consumed.percentage Preprocessing
|
Azure: OS disk target bandwidth | Baseline bytes per second throughput that the OS Disk can achieve without bursting. |
Dependent item | azure.vm.os.disk.target.bandwidth Preprocessing
|
Azure: OS disk target IOPS | Baseline IOPS that the OS disk can achieve without bursting. |
Dependent item | azure.vm.os.disk.target.iops Preprocessing
|
Azure: OS disk max burst bandwidth | Maximum bytes per second throughput that the OS Disk can achieve with bursting. |
Dependent item | azure.vm.os.disk.max.bandwidth Preprocessing
|
Azure: OS disk max burst IOPS | Maximum IOPS that the OS Disk can achieve with bursting. |
Dependent item | azure.vm.os.disk.max.iops Preprocessing
|
Azure: OS disk used burst BPS credits percentage | The percentage of the OS Disk burst bandwidth credits used so far. |
Dependent item | azure.vm.os.disk.used.burst.bandwidth Preprocessing
|
Azure: OS disk used burst IO credits percentage | The percentage of the OS disk burst I/O credits used so far. |
Dependent item | azure.vm.os.disk.used.burst.iops Preprocessing
|
Azure: Inbound flows | The number of current flows in the inbound direction (the traffic going into the VM). |
Dependent item | azure.vm.flows.inbound Preprocessing
|
Azure: Outbound flows | The number of current flows in the outbound direction (the traffic going out of the VM). |
Dependent item | azure.vm.flows.outbound Preprocessing
|
Azure: Inbound flows max creation rate | The maximum creation rate of the inbound flows (the traffic going into the VM). |
Dependent item | azure.vm.flows.inbound.max Preprocessing
|
Azure: Outbound flows max creation rate | The maximum creation rate of the outbound flows (the traffic going out of the VM). |
Dependent item | azure.vm.flows.outbound.max Preprocessing
|
Azure: Premium data disk cache read hit | Premium data disk cache read hit. |
Dependent item | azure.vm.premium.data.disk.cache.read.hit Preprocessing
|
Azure: Premium data disk cache read miss | Premium data disk cache read miss. |
Dependent item | azure.vm.premium.data.disk.cache.read.miss Preprocessing
|
Azure: Premium OS disk cache read hit | Premium OS disk cache read hit. |
Dependent item | azure.vm.premium.os.disk.cache.read.hit Preprocessing
|
Azure: Premium OS disk cache read miss | Premium OS disk cache read miss. |
Dependent item | azure.vm.premium.os.disk.cache.read.miss Preprocessing
|
Azure: VM cached bandwidth consumed percentage | The percentage of the cached disk bandwidth consumed by the VM. |
Dependent item | azure.vm.cached.bandwidth.consumed.percentage Preprocessing
|
Azure: VM cached IOPS consumed percentage | The percentage of the cached disk IOPS consumed by the VM. |
Dependent item | azure.vm.cached.iops.consumed.percentage Preprocessing
|
Azure: VM uncached bandwidth consumed percentage | The percentage of the uncached disk bandwidth consumed by the VM. |
Dependent item | azure.vm.uncached.bandwidth.consumed.percentage Preprocessing
|
Azure: VM uncached IOPS consumed percentage | The percentage of the uncached disk IOPS consumed by the VM. |
Dependent item | azure.vm.uncached.iops.consumed.percentage Preprocessing
|
Azure: Network in total | The number of bytes received by the VMs via all network interfaces (incoming traffic). |
Dependent item | azure.vm.network.in.total Preprocessing
|
Azure: Network out total | The number of bytes sent by the VMs via all network interfaces (outgoing traffic). |
Dependent item | azure.vm.network.out.total Preprocessing
|
Azure: Available memory | The amount of physical memory (in bytes) immediately available for the allocation to a process or for a system use in the VM. |
Dependent item | azure.vm.memory.available Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Virtual Machine by HTTP/azure.vm.data.errors))>0 |
Average | |
Azure: Virtual machine is unavailable | The resource state is unavailable. |
last(/Azure Virtual Machine by HTTP/azure.vm.availability.state)=2 |
High | |
Azure: Virtual machine is degraded | The resource is in degraded state. |
last(/Azure Virtual Machine by HTTP/azure.vm.availability.state)=1 |
Average | |
Azure: Virtual machine is in unknown state | The resource state is unknown. |
last(/Azure Virtual Machine by HTTP/azure.vm.availability.state)=3 |
Warning | |
Azure: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure Virtual Machine by HTTP/azure.vm.cpu.percentage,5m)>{$AZURE.VM.CPU.UTIL.CRIT} |
High |
Azure MySQL Flexible Server by HTTP
Overview
This template is designed to monitor Microsoft Azure MySQL flexible servers 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 MySQL flexible servers
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure MySQL server ID. |
|
{$AZURE.DB.CPU.UTIL.CRIT} | The critical threshold of CPU utilization, expressed in %. |
90 |
{$AZURE.DB.STORAGE.PUSED.WARN} | The warning threshold of the storage utilization, expressed in %. |
80 |
{$AZURE.DB.STORAGE.PUSED.CRIT} | The critical threshold of the storage utilization, expressed in %. |
90 |
{$AZURE.DB.ABORTED.CONN.MAX.WARN} | The number of failed attempts to connect to the MySQL server for a trigger expression. |
25 |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure MySQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mysql.data.get |
Azure MySQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mysql.data.errors Preprocessing
|
Azure MySQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mysql.availability.state Preprocessing
|
Azure MySQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mysql.availability.details Preprocessing
|
Azure MySQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mysql.cpu.percentage Preprocessing
|
Azure MySQL: Memory utilization | The memory percent of a host. |
Dependent item | azure.db.mysql.memory.percentage Preprocessing
|
Azure MySQL: Network out | Network egress of a host, expressed in bytes. |
Dependent item | azure.db.mysql.network.egress Preprocessing
|
Azure MySQL: Network in | Network ingress of a host, expressed in bytes. |
Dependent item | azure.db.mysql.network.ingress Preprocessing
|
Azure MySQL: Connections active | The count of active connections. |
Dependent item | azure.db.mysql.connections.active Preprocessing
|
Azure MySQL: Connections total | The count of total connections. |
Dependent item | azure.db.mysql.connections.total Preprocessing
|
Azure MySQL: Connections aborted | The count of aborted connections. |
Dependent item | azure.db.mysql.connections.aborted Preprocessing
|
Azure MySQL: Queries | The count of queries. |
Dependent item | azure.db.mysql.queries Preprocessing
|
Azure MySQL: IO consumption percent | The consumption percent of I/O. |
Dependent item | azure.db.mysql.io.consumption.percent Preprocessing
|
Azure MySQL: Storage percent | The storage utilization, expressed in %. |
Dependent item | azure.db.mysql.storage.percent Preprocessing
|
Azure MySQL: Storage used | Used storage space, expressed in bytes. |
Dependent item | azure.db.mysql.storage.used Preprocessing
|
Azure MySQL: Storage limit | The storage limit, expressed in bytes. |
Dependent item | azure.db.mysql.storage.limit Preprocessing
|
Azure MySQL: Backup storage used | Used backup storage, expressed in bytes. |
Dependent item | azure.db.mysql.storage.backup.used Preprocessing
|
Azure MySQL: Replication lag | The replication lag, expressed in seconds. |
Dependent item | azure.db.mysql.replication.lag Preprocessing
|
Azure MySQL: CPU credits remaining | The remaining CPU credits. |
Dependent item | azure.db.mysql.cpu.credits.remaining Preprocessing
|
Azure MySQL: CPU credits consumed | The consumed CPU credits. |
Dependent item | azure.db.mysql.cpu.credits.consumed Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure MySQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.data.errors))>0 |
Average | |
Azure MySQL: MySQL server is unavailable | The resource state is unavailable. |
last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.availability.state)=2 |
High | |
Azure MySQL: MySQL server is degraded | The resource is in degraded state. |
last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.availability.state)=1 |
Average | |
Azure MySQL: MySQL server is in unknown state | The resource state is unknown. |
last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.availability.state)=3 |
Warning | |
Azure MySQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
Azure MySQL: Server has aborted connections | The number of failed attempts to connect to the MySQL server is more than |
min(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.connections.aborted,5m)>{$AZURE.DB.ABORTED.CONN.MAX.WARN} |
Average | |
Azure MySQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
Azure MySQL: Storage space is low | High utilization of the storage space. |
last(/Azure MySQL Flexible Server by HTTP/azure.db.mysql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure MySQL Single Server by HTTP
Overview
This template is designed to monitor Microsoft Azure MySQL single servers 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 MySQL single servers
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure MySQL server 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.DB.FAILED.CONN.MAX.WARN} | The number of failed attempts to connect to the MySQL server for trigger expression. |
25 |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure MySQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.mysql.data.get |
Azure MySQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.mysql.data.errors Preprocessing
|
Azure MySQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.mysql.availability.state Preprocessing
|
Azure MySQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.mysql.availability.details Preprocessing
|
Azure MySQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.mysql.cpu.percentage Preprocessing
|
Azure MySQL: Memory utilization | The memory percent of a host. |
Dependent item | azure.db.mysql.memory.percentage Preprocessing
|
Azure MySQL: Network out | The network outbound traffic across the active connections. |
Dependent item | azure.db.mysql.network.egress Preprocessing
|
Azure MySQL: Network in | The network inbound traffic across the active connections. |
Dependent item | azure.db.mysql.network.ingress Preprocessing
|
Azure MySQL: Connections active | The count of active connections. |
Dependent item | azure.db.mysql.connections.active Preprocessing
|
Azure MySQL: Connections failed | The count of failed connections. |
Dependent item | azure.db.mysql.connections.failed Preprocessing
|
Azure MySQL: IO consumption percent | The consumption percent of I/O. |
Dependent item | azure.db.mysql.io.consumption.percent Preprocessing
|
Azure MySQL: Storage percent | The storage utilization, expressed in %. |
Dependent item | azure.db.mysql.storage.percent Preprocessing
|
Azure MySQL: Storage used | Used storage space, expressed in bytes. |
Dependent item | azure.db.mysql.storage.used Preprocessing
|
Azure MySQL: Storage limit | The storage limit, expressed in bytes. |
Dependent item | azure.db.mysql.storage.limit Preprocessing
|
Azure MySQL: Backup storage used | Used backup storage, expressed in bytes. |
Dependent item | azure.db.mysql.storage.backup.used Preprocessing
|
Azure MySQL: Replication lag | The replication lag, expressed in seconds. |
Dependent item | azure.db.mysql.replication.lag Preprocessing
|
Azure MySQL: Server log storage percent | The storage utilization by a server log, expressed in %. |
Dependent item | azure.db.mysql.storage.server.log.percent Preprocessing
|
Azure MySQL: Server log storage used | The storage space used by a server log, expressed in bytes. |
Dependent item | azure.db.mysql.storage.server.log.used Preprocessing
|
Azure MySQL: Server log storage limit | The storage limit of a server log, expressed in bytes. |
Dependent item | azure.db.mysql.storage.server.log.limit Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure MySQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure MySQL Single Server by HTTP/azure.db.mysql.data.errors))>0 |
Average | |
Azure MySQL: MySQL server is unavailable | The resource state is unavailable. |
last(/Azure MySQL Single Server by HTTP/azure.db.mysql.availability.state)=2 |
High | |
Azure MySQL: MySQL server is degraded | The resource is in degraded state. |
last(/Azure MySQL Single Server by HTTP/azure.db.mysql.availability.state)=1 |
Average | |
Azure MySQL: MySQL server is in unknown state | The resource state is unknown. |
last(/Azure MySQL Single Server by HTTP/azure.db.mysql.availability.state)=3 |
Warning | |
Azure MySQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure MySQL Single Server by HTTP/azure.db.mysql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
Azure MySQL: High memory utilization | The system is running out of free memory. |
min(/Azure MySQL Single Server by HTTP/azure.db.mysql.memory.percentage,5m)>{$AZURE.DB.MEMORY.UTIL.CRIT} |
Average | |
Azure MySQL: Server has failed connections | The number of failed attempts to connect to the MySQL server is more than |
min(/Azure MySQL Single Server by HTTP/azure.db.mysql.connections.failed,5m)>{$AZURE.DB.FAILED.CONN.MAX.WARN} |
Average | |
Azure MySQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure MySQL Single Server by HTTP/azure.db.mysql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
Azure MySQL: Storage space is low | High utilization of the storage space. |
last(/Azure MySQL Single Server by HTTP/azure.db.mysql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure PostgreSQL Flexible Server by HTTP
Overview
This template is designed to monitor Microsoft Azure PostgreSQL flexible servers 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 PostgreSQL flexible servers
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure PostgreSQL server 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 PostgreSQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.pgsql.data.get |
Azure PostgreSQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.pgsql.data.errors Preprocessing
|
Azure PostgreSQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.pgsql.availability.state Preprocessing
|
Azure PostgreSQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.pgsql.availability.details Preprocessing
|
Azure PostgreSQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.pgsql.cpu.percentage Preprocessing
|
Azure PostgreSQL: Memory utilization | The memory percent of a host. |
Dependent item | azure.db.pgsql.memory.percentage Preprocessing
|
Azure PostgreSQL: Network out | The network outbound traffic across the active connections. |
Dependent item | azure.db.pgsql.network.egress Preprocessing
|
Azure PostgreSQL: Network in | The network inbound traffic across the active connections. |
Dependent item | azure.db.pgsql.network.ingress Preprocessing
|
Azure PostgreSQL: Connections active | The count of active connections. |
Dependent item | azure.db.pgsql.connections.active Preprocessing
|
Azure PostgreSQL: Connections succeeded | The count of succeeded connections. |
Dependent item | azure.db.pgsql.connections.succeeded Preprocessing
|
Azure PostgreSQL: Connections failed | The count of failed connections. |
Dependent item | azure.db.pgsql.connections.failed Preprocessing
|
Azure PostgreSQL: Storage percent | The storage utilization, expressed in %. |
Dependent item | azure.db.pgsql.storage.percent Preprocessing
|
Azure PostgreSQL: Storage used | Used storage space, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.used Preprocessing
|
Azure PostgreSQL: Storage free | Free storage space, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.free Preprocessing
|
Azure PostgreSQL: Backup storage used | Used backup storage, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.backup.used Preprocessing
|
Azure PostgreSQL: CPU credits remaining | The total number of credits available to burst. |
Dependent item | azure.db.pgsql.cpu.credits.remaining Preprocessing
|
Azure PostgreSQL: CPU credits consumed | The total number of credits consumed by the database server. |
Dependent item | azure.db.pgsql.cpu.credits.consumed Preprocessing
|
Azure PostgreSQL: Data disk queue depth | The number of outstanding I/O operations to the data disk. |
Dependent item | azure.db.pgsql.disk.queue.depth Preprocessing
|
Azure PostgreSQL: Data disk IOPS | I/O operations per second. |
Dependent item | azure.db.pgsql.iops Preprocessing
|
Azure PostgreSQL: Data disk read IOPS | The number of the data disk I/O read operations per second. |
Dependent item | azure.db.pgsql.iops.read Preprocessing
|
Azure PostgreSQL: Data disk write IOPS | The number of the data disk I/O write operations per second. |
Dependent item | azure.db.pgsql.iops.write Preprocessing
|
Azure PostgreSQL: Data disk read Bps | Bytes read per second from the data disk during the monitoring period. |
Dependent item | azure.db.pgsql.disk.bps.read Preprocessing
|
Azure PostgreSQL: Data disk write Bps | Bytes written per second to the data disk during the monitoring period. |
Dependent item | azure.db.pgsql.disk.bps.write Preprocessing
|
Azure PostgreSQL: Transaction log storage used | The storage space used by a transaction log, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.txlogs.used Preprocessing
|
Azure PostgreSQL: Maximum used transaction IDs | The maximum number of used transaction IDs. |
Dependent item | azure.db.pgsql.txid.used.max Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure PostgreSQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.data.errors))>0 |
Average | |
Azure PostgreSQL: PostgreSQL server is unavailable | The resource state is unavailable. |
last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.availability.state)=2 |
High | |
Azure PostgreSQL: PostgreSQL server is degraded | The resource is in degraded state. |
last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.availability.state)=1 |
Average | |
Azure PostgreSQL: PostgreSQL server is in unknown state | The resource state is unknown. |
last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.availability.state)=3 |
Warning | |
Azure PostgreSQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
Azure PostgreSQL: High memory utilization | The system is running out of free memory. |
min(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.memory.percentage,5m)>{$AZURE.DB.MEMORY.UTIL.CRIT} |
Average | |
Azure PostgreSQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
Azure PostgreSQL: Storage space is low | High utilization of the storage space. |
last(/Azure PostgreSQL Flexible Server by HTTP/azure.db.pgsql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.WARN} |
Warning |
Azure PostgreSQL Single Server by HTTP
Overview
This template is designed to monitor Microsoft Azure PostgreSQL servers 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 PostgreSQL servers
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure PostgreSQL server 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 PostgreSQL: Get data | The result of API requests is expressed in the JSON. |
Script | azure.db.pgsql.data.get |
Azure PostgreSQL: Get errors | A list of errors from API requests. |
Dependent item | azure.db.pgsql.data.errors Preprocessing
|
Azure PostgreSQL: Availability state | The availability status of the resource. |
Dependent item | azure.db.pgsql.availability.state Preprocessing
|
Azure PostgreSQL: Availability status detailed | The summary description of the availability status. |
Dependent item | azure.db.pgsql.availability.details Preprocessing
|
Azure PostgreSQL: Percentage CPU | The CPU percent of a host. |
Dependent item | azure.db.pgsql.cpu.percentage Preprocessing
|
Azure PostgreSQL: Memory utilization | The memory percent of a host. |
Dependent item | azure.db.pgsql.memory.percentage Preprocessing
|
Azure PostgreSQL: Network out | The network outbound traffic across the active connections. |
Dependent item | azure.db.pgsql.network.egress Preprocessing
|
Azure PostgreSQL: Network in | The network inbound traffic across the active connections. |
Dependent item | azure.db.pgsql.network.ingress Preprocessing
|
Azure PostgreSQL: Connections active | The count of active connections. |
Dependent item | azure.db.pgsql.connections.active Preprocessing
|
Azure PostgreSQL: Connections failed | The count of failed connections. |
Dependent item | azure.db.pgsql.connections.failed Preprocessing
|
Azure PostgreSQL: IO consumption percent | The consumption percent of I/O. |
Dependent item | azure.db.pgsql.io.consumption.percent Preprocessing
|
Azure PostgreSQL: Storage percent | The storage utilization, expressed in %. |
Dependent item | azure.db.pgsql.storage.percent Preprocessing
|
Azure PostgreSQL: Storage used | Used storage space, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.used Preprocessing
|
Azure PostgreSQL: Storage limit | The storage limit, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.limit Preprocessing
|
Azure PostgreSQL: Backup storage used | Used backup storage, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.backup.used Preprocessing
|
Azure PostgreSQL: Replication lag | The replication lag, expressed in seconds. |
Dependent item | azure.db.pgsql.replica.log.delay Preprocessing
|
Azure PostgreSQL: Max lag across replicas in bytes | Lag for the most lagging replica, expressed in bytes. |
Dependent item | azure.db.pgsql.replica.log.delay.bytes Preprocessing
|
Azure PostgreSQL: Server log storage percent | The storage utilization by a server log, expressed in %. |
Dependent item | azure.db.pgsql.storage.server.log.percent Preprocessing
|
Azure PostgreSQL: Server log storage used | The storage space used by a server log, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.server.log.used Preprocessing
|
Azure PostgreSQL: Server log storage limit | The storage limit of a server log, expressed in bytes. |
Dependent item | azure.db.pgsql.storage.server.log.limit Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure PostgreSQL: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.data.errors))>0 |
Average | |
Azure PostgreSQL: PostgreSQL server is unavailable | The resource state is unavailable. |
last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.availability.state)=2 |
High | |
Azure PostgreSQL: PostgreSQL server is degraded | The resource is in degraded state. |
last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.availability.state)=1 |
Average | |
Azure PostgreSQL: PostgreSQL server is in unknown state | The resource state is unknown. |
last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.availability.state)=3 |
Warning | |
Azure PostgreSQL: High CPU utilization | The CPU utilization is too high. The system might be slow to respond. |
min(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.cpu.percentage,5m)>{$AZURE.DB.CPU.UTIL.CRIT} |
High | |
Azure PostgreSQL: High memory utilization | The system is running out of free memory. |
min(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.memory.percentage,5m)>{$AZURE.DB.MEMORY.UTIL.CRIT} |
Average | |
Azure PostgreSQL: Storage space is critically low | Critical utilization of the storage space. |
last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.storage.percent)>{$AZURE.DB.STORAGE.PUSED.CRIT} |
Average | |
Azure PostgreSQL: Storage space is low | High utilization of the storage space. |
last(/Azure PostgreSQL Single Server by HTTP/azure.db.pgsql.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 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} | A response timeout for an API. |
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 a 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 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 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 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} | A response timeout for an API. |
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 a 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 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 Cosmos DB for MongoDB by HTTP
Overview
This template is designed for the effortless deployment of Azure Cosmos DB for MongoDB monitoring by Zabbix via HTTP and doesn't require any external scripts.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Microsoft Azure Cosmos DB
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 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} | A response timeout for an API. |
15s |
{$AZURE.TENANT.ID} | Microsoft Azure tenant ID. |
|
{$AZURE.SUBSCRIPTION.ID} | Microsoft Azure subscription ID. |
|
{$AZURE.RESOURCE.ID} | Microsoft Azure Cosmos DB ID. |
|
{$AZURE.DB.COSMOS.MONGO.AVAILABILITY} | The warning threshold of the Cosmos DB for MongoDB service availability. |
70 |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Azure MongoDB: Get data | The result of API requests is expressed in the JSON. |
Script | azure.cosmosdb.data.get |
Azure MongoDB: Get errors | A list of errors from API requests. |
Dependent item | azure.cosmosdb.data.errors Preprocessing
|
Azure MongoDB: Total requests | Number of requests per minute. |
Dependent item | azure.cosmosdb.total.requests Preprocessing
|
Azure MongoDB: Total request units | The request units consumed per minute. |
Dependent item | azure.cosmosdb.total.request.units Preprocessing
|
Azure MongoDB: Metadata requests | The count of metadata requests. Cosmos DB maintains system metadata collection for each account, that allows you to enumerate collections, databases, etc, and their configurations, free of charge. |
Dependent item | azure.cosmosdb.metadata.requests Preprocessing
|
Azure MongoDB: Mongo requests | The number of Mongo requests made. |
Dependent item | azure.cosmosdb.mongo.requests Preprocessing
|
Azure MongoDB: Mongo request charge | The Mongo request units consumed. |
Dependent item | azure.cosmosdb.mongo.requests.charge Preprocessing
|
Azure MongoDB: Server side latency | The server side latency. |
Dependent item | azure.cosmosdb.server.side.latency Preprocessing
|
Azure MongoDB: Server side latency, gateway | The server side latency in gateway connection mode. |
Dependent item | azure.cosmosdb.server.side.latency.gateway Preprocessing
|
Azure MongoDB: Server side latency, direct | The server side latency in direct connection mode. |
Dependent item | azure.cosmosdb.server.side.latency.direct Preprocessing
|
Azure MongoDB: Replication latency, P99 | The P99 replication latency across source and target regions for geo-enabled account. |
Dependent item | azure.cosmosdb.replication.latency Preprocessing
|
Azure MongoDB: Service availability | The account requests availability at one hour granularity. |
Dependent item | azure.cosmosdb.service.availability Preprocessing
|
Azure MongoDB: Data usage | The total data usage. |
Dependent item | azure.cosmosdb.data.usage Preprocessing
|
Azure MongoDB: Index usage | The total index usage. |
Dependent item | azure.cosmosdb.index.usage Preprocessing
|
Azure MongoDB: Document quota | The total storage quota. |
Dependent item | azure.cosmosdb.document.quota Preprocessing
|
Azure MongoDB: Document count | The total document count. |
Dependent item | azure.cosmosdb.document.count Preprocessing
|
Azure MongoDB: Normalized RU consumption | The max RU consumption percentage per minute. |
Dependent item | azure.cosmosdb.normalized.ru.consumption Preprocessing
|
Azure MongoDB: Physical partition throughput | The physical partition throughput. |
Dependent item | azure.cosmosdb.physical.partition.throughput Preprocessing
|
Azure MongoDB: Autoscale max throughput | The autoscale max throughput. |
Dependent item | azure.cosmosdb.autoscale.max.throughput Preprocessing
|
Azure MongoDB: Provisioned throughput | The provisioned throughput. |
Dependent item | azure.cosmosdb.provisioned.throughput Preprocessing
|
Azure MongoDB: Physical partition size | The physical partition size in bytes. |
Dependent item | azure.cosmosdb.physical.partition.size Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Azure MongoDB: There are errors in requests to API | Zabbix has received errors in response to API requests. |
length(last(/Azure Cosmos DB for MongoDB by HTTP/azure.cosmosdb.data.errors))>0 |
Average | |
Azure MongoDB: Cosmos DB for MongoDB account: Availability is low | (min(/Azure Cosmos DB for MongoDB by HTTP/azure.cosmosdb.service.availability,#3))<{$AZURE.DB.COSMOS.MONGO.AVAILABILITY} |
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