How to Set Up Azure Monitoring

How to Set Up Azure Monitoring

Setup Guide

How to Set Up Azure Monitoring in Cloudmon

Connect your Azure account to Cloudmon using a registered Azure AD application. Once connected, Cloudmon auto-discovers your resources and begins collecting metrics in real time.

Overview

Microsoft Azure is a cloud platform that provides hosted services such as virtual machines, storage, databases, and networking over the internet. Organisations use Azure to run workloads without managing physical hardware, scaling resources as needed and paying only for what they use.

This guide walks you through connecting your Azure account to Cloudmon. The setup involves registering an application in the Azure Portal to generate credentials, then entering those credentials into Cloudmon. Once complete, Cloudmon will have read-only access to your Azure environment and will automatically discover your resources.

Prerequisites

Before you begin, ensure the following are in place:

RequirementDescription
Azure account accessYou must have permissions to register applications in Azure Active Directory and assign roles to service principals
Cloudmon accountAn active Cloudmon account with Cloud Monitoring enabled
Services to monitorDecide which Azure services you want to monitor: Virtual Machines, Storage Account, Blob Storage, Table Storage, File Share, Queue Storage, and Cost Management

How It Works

Cloudmon connects to your Azure account through a registered Azure Active Directory (AAD) application, also called a service principal. This application is granted read-only access to your Azure subscriptions. Cloudmon uses the application's credentials (Tenant ID, Client ID, and Client Secret Key) to call Azure APIs at regular intervals, pulling metrics, resource lists, and configuration data. Nothing is installed inside your Azure environment, and no Cloudmon probe is required: the connection is made directly from the Cloudmon Controller using the credentials you provide.

Azure monitoring architecture, Cloudmon

Configuration Steps

Step 1: Register an Application in Azure Active Directory

Cloudmon connects to Azure using an Azure AD App Registration (service principal). Follow the Microsoft documentation to register an application and obtain the required credentials: Register an application with the Microsoft identity platform, Microsoft documentation

Once registered, note down the following. You will need these in Step 3:

  • Tenant ID: found in Azure Active Directory → Overview
  • Client ID: found on the registered app's Overview page
  • Client Secret Key: generated under the app's Certificates & Secrets section

⚠️ Important: The Client Secret Key is shown only once. Copy and store it securely before leaving the page.

Step 2: Assign a Reader Role to the Application

Once your app is registered, grant it read-only access to your Azure subscription. Follow the Microsoft documentation to assign the built-in Reader role to your registered application at the subscription level: Assign Azure roles using the Azure portal, Microsoft documentation

Step 3: Add Your Azure Account in Cloudmon

  1. Log in to your Cloudmon dashboard
  2. Navigate to Cloud → Azure → Add Azure Account
  3. The Add Azure panel opens, organized into four sections: Monitor Details, Discovery Settings, Resource Management, and Configuration Details

Monitor Details: account identity and credentials.

FieldDescription
Display Name*A friendly name for this Azure account, e.g. "Production Azure Account"
Tenant ID*Unique identifier for your organisation's Azure Active Directory instance, from Step 1
Client ID*Unique identifier for the registered application in Azure AD, from Step 1
Client Secret Key*The secret generated for your registered application, from Step 1. Click Resource Discovery after entering this to validate the credentials

Discovery Settings: services, intervals, and notification.

FieldDescription
Services to be Discovered*Select the Azure services to monitor: Azure VM, Cost Management, Azure Storage Account, Azure Blob Storage, Azure Table Storage, Azure File Share, and Azure Queue Storage
Rediscovery IntervalHow frequently Cloudmon scans for new or removed resources
Notify on DiscoveryToggle on to receive a notification once the initial resource discovery is complete

Resource Management: resource lifecycle, alerts, and tag-based filters.

FieldDescription
Mute Resource Termination AlertsToggle on to stop receiving alerts when a resource is terminated in Azure
Skip Monitoring Stopped ResourcesToggle on to stop polling resources that are stopped in Azure
Automatically Remove Terminated ResourcesToggle on to delete the monitor automatically when its resource is terminated in Azure
Exclude/Include resources using tagsChoose whether Azure tags exclude matching resources from discovery or include only matching resources

Configuration Details: groups and tags.

FieldDescription
GroupsOptional groups to organise this account alongside others
TagsOptional tags to associate with this Azure account
  1. Click Save
  2. Cloudmon will initiate an initial resource discovery scan across all selected services

Step 4: Verify the Connection

After saving, navigate to Cloud → Azure → [Your Account]. If the connection is successful, your Resource Groups, Subscriptions, and selected services will begin populating within a few minutes. If resources do not appear, use the Rediscover button on the account page to trigger a manual scan.


Troubleshooting

IssueLikely CauseResolution
No resources discovered after savingIncorrect Tenant ID, Client ID, or Client SecretRe-enter credentials and click Resource Discovery to validate before saving
Authentication error on saveClient Secret Key has expired or was not copied correctlyGenerate a new Client Secret in Azure AD and update the account in Cloudmon
Some services are not appearingService not selected during setup, or Reader role not assignedEdit the Azure account, enable the missing service, and re-run discovery
Resources not updatingThe rediscovery interval has not elapsed yetNavigate to Cloud → Azure → [Account] and click Rediscover to trigger a manual scan

    • Related Articles

    • Azure Monitoring

      Microsoft Azure Azure Cloud Monitoring with Cloudmon Connect your Azure account once and get full visibility into your Virtual Machines, storage services, and subscriptions — with real-time metrics, Advisor Recommendations, and historical performance ...
    • Actions in Azure Monitoring

      Setup Guide Actions in Azure Monitoring Manage your connected Azure accounts: add a new account, edit configuration, re-run discovery, enable or disable monitoring, or remove an account entirely. Overview All account-level actions for Azure ...
    • Azure Storage Account

      Microsoft Azure Azure Storage Account Azure Storage Accounts are general-purpose storage containers that can host Blob, Table, File Share, and Queue services within a single account. Cloudmon monitors usage, request volume, latency, and availability ...
    • Azure File Share

      Microsoft Azure Azure File Share Azure File Share provides fully managed cloud file shares accessible via SMB and NFS protocols. Cloudmon monitors capacity, snapshot counts, transaction volume, and latency across all your File Share resources. ...
    • Azure Alarm Rules

      Setup Guide Configuring Alarm Rules for Azure Set up alarms to be notified when your Azure resources exceed defined thresholds. Alarm rules are created centrally and can be attached to any individual monitored resource. Overview Cloudmon alarm rules ...