DumbMonit

集成云和域名

用 DumbMonit 监控 Microsoft Azure

Resource Health and active Azure Monitor alerts of an Azure subscription, read through a Reader service principal.

文档官方网站:Microsoft Azure

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

The health of an Azure subscription: resources that Azure reports as unavailable or degraded, and the Azure Monitor alerts that are fired and not closed. DumbMonit reads two lists on management.azure.com, once a minute: Resource Health (Microsoft.ResourceHealth/availabilityStatuses, API 2022-10-01), the availability that the Azure platform announces for each resource, and the Azure Monitor alerts (Microsoft.AlertsManagement/alerts, API 2019-05-05-preview) that are fired and either new or acknowledged. The credential is a service principal: an Entra application with a client secret and the Reader role on the subscription. DumbMonit exchanges the secret for a one-hour token (client…

典型用途. Resource Health of every resource and active Azure Monitor alerts by severity

示例

  • Microsoft Azure subscription

连接方式

您需要准备

  • Entra application (service principal)The client ID and a client secret of an Entra application that has the Reader role on the subscription.

需要开放的网络端口

  • 443/TCPAzure Resource Manager API (HTTPS, management.azure.com)
  • 443/TCPMicrosoft sign-in, access token (HTTPS, login.microsoftonline.com)
设置步骤: Create a read-only application for DumbMonit
  1. In the Azure portal, open Microsoft Entra ID > App registrations > New registration, name it DumbMonit, keep single tenant, then Register.

  2. On the Overview page, copy the Application (client) ID and the Directory (tenant) ID.

  3. Open Certificates & secrets > New client secret, choose a lifetime, then copy the secret Value: it is shown once.

  4. Open Subscriptions > your subscription > Access control (IAM) > Add > Add role assignment, pick the Reader role, select the DumbMonit application, then Review + assign.

  5. Copy the Subscription ID from the subscription Overview page.

  6. In DumbMonit, enter management.azure.com as address, paste the client ID and secret, and fill the Tenant ID and Subscription ID options.

注意. A stopped or deallocated virtual machine is reported by Azure as unavailable on the user's request: it is counted apart and raises no alert. Azure Monitor alerts need the Microsoft.AlertsManagement resource provider registered on the subscription; without it only Resource Health is monitored.