IntegrationenCloud und Domains
Microsoft Azure überwachen mit DumbMonit
Resource Health and active Azure Monitor alerts of an Azure subscription, read through a Reader service principal.
DokumentationOffizielle Website: Microsoft Azure
Die Produktbeschreibungen sind englisch, wie im Produkt. Die Beschriftungen der Seite folgen Ihrer Sprache.
Was DumbMonit überwacht
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…
Typischer Einsatz. Resource Health of every resource and active Azure Monitor alerts by severity
Beispiele
- Microsoft Azure subscription
Wie die Verbindung läuft
Was Sie brauchen
- Entra application (service principal)The client ID and a client secret of an Entra application that has the Reader role on the subscription.
Zu öffnende Netzwerk-Ports
443/TCPAzure Resource Manager API (HTTPS, management.azure.com)443/TCPMicrosoft sign-in, access token (HTTPS, login.microsoftonline.com)
Einrichtungsschritte: Create a read-only application for DumbMonit
In the Azure portal, open Microsoft Entra ID > App registrations > New registration, name it DumbMonit, keep single tenant, then Register.
On the Overview page, copy the Application (client) ID and the Directory (tenant) ID.
Open Certificates & secrets > New client secret, choose a lifetime, then copy the secret Value: it is shown once.
Open Subscriptions > your subscription > Access control (IAM) > Add > Add role assignment, pick the Reader role, select the DumbMonit application, then Review + assign.
Copy the Subscription ID from the subscription Overview page.
In DumbMonit, enter management.azure.com as address, paste the client ID and secret, and fill the Tenant ID and Subscription ID options.
Hinweis. 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.