DumbMonit

IntegrazioniCloud e domini

Monitorare Microsoft Azure con DumbMonit

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

DocumentazioneSito ufficiale: Microsoft Azure

Le descrizioni sono in inglese, come nel prodotto. Le etichette della pagina seguono la tua lingua.

Cosa controlla 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…

Uso tipico. Resource Health of every resource and active Azure Monitor alerts by severity

Esempi

  • Microsoft Azure subscription

Come si collega

Cosa serve

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

Porte di rete da aprire

  • 443/TCPAzure Resource Manager API (HTTPS, management.azure.com)
  • 443/TCPMicrosoft sign-in, access token (HTTPS, login.microsoftonline.com)
Passaggi di configurazione: 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.

Attenzione. 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.