DumbMonit

IntegraçõesNuvem e domínios

Monitorar Microsoft Azure com o DumbMonit

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

DocumentaçãoSite oficial: Microsoft Azure

As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.

O que o DumbMonit vigia

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…

Uso típico. Resource Health of every resource and active Azure Monitor alerts by severity

Exemplos

  • Microsoft Azure subscription

Como se conecta

O que você precisa

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

Portas de rede a abrir

  • 443/TCPAzure Resource Manager API (HTTPS, management.azure.com)
  • 443/TCPMicrosoft sign-in, access token (HTTPS, login.microsoftonline.com)
Etapas de configuração: 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.

Atenção. 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.