ZOLIX AI is proud to be part of theNVIDIA Inception Program
ZOLIX
HomeProduct
  • AI FinOps
  • Cloud FinOps
  • GPU Calculator
  • AWS Cost Optimization
  • Google Cloud Cost Optimization
  • Azure Cost Optimization
  • Oracle Cloud Cost Optimization
  • GPU Infrastructure Cost Optimization
  • Generative AI Cost Optimization
Insight HubBlogPricingContact
Sign Up
ZOLIX.

AI-powered cloud cost clarity for teams building, operating, and scaling modern infrastructure.

support@zolix.ai

Solutions

  • AI FinOps
  • Cloud FinOps
  • GPU Calculator
  • C2O Engine

Explore

  • Industries
  • Technologies
  • Contact Us
  • MarketplaceSoon

© 2026 ZOLIX AI. All rights reserved.

SitemapPrivacyTermsCookies

Reading guide

On this page

  1. 1What Should You Monitor?
  2. 2Step 1: Check What You Already Get
  3. 3Step 2: Enable VM Insights
  4. 4Step 3: Configure Data Collection
  5. 5Step 4: Create Alerts
  6. 6Step 5: Set Up Action Groups
  7. 7Step 6: Build Dashboards and Workbooks
  8. 8Step 7: Investigate Problems with Logs
  9. 9Best Practices
  10. 10Final Thoughts
All articles
AI in Finance & Operations

How to Monitor Azure Virtual Machines with Azure Monitor: Step-by-Step Guide

December 2, 2026
How to Monitor Azure Virtual Machines with Azure Monitor: Step-by-Step Guide
  1. 1What Should You Monitor?
  2. 2Step 1: Check What You Already Get
  3. 3Step 2: Enable VM Insights
  4. 4Step 3: Configure Data Collection
  5. 5Step 4: Create Alerts
  6. 6Step 5: Set Up Action Groups
  7. 7Step 6: Build Dashboards and Workbooks
  8. 8Step 7: Investigate Problems with Logs
  9. 9Best Practices
  10. 10Final Thoughts

A server that fails silently can cost you customers before anyone notices. Good azure server monitoring helps you catch high CPU, low disk space and crashes early, often before users feel them. Azure Monitor is the built-in service for this. This guide shows how to set it up from scratch.

What Should You Monitor?

Focus on signals that show health and capacity:

  • CPU usage: Sustained high values suggest overload or an undersized VM.
  • Memory: Low available memory causes slowdowns and crashes.
  • Disk: Watch free space, IOPS and latency.
  • Network: Unusual traffic can mean a spike in demand or a problem.
  • Availability: Is the VM running and reachable?
  • Logs and events: Errors, failed services and security-related events.

Step 1: Check What You Already Get

Azure collects basic platform metrics for VMs automatically, such as host-level CPU, disk and network. Open your VM in the Azure portal and select Monitoring > Metrics to view them. These need no setup, but they don't show everything happening inside the operating system, such as memory usage and logs.

Step 2: Enable VM Insights

For deeper visibility, turn on VM insights.

  1. Open the VM in the Azure portal.
  2. Go to Monitoring > Insights.
  3. Select Enable and choose a Log Analytics workspace.
  4. Confirm the setup.

VM insights uses the Azure Monitor Agent (AMA) to collect guest-level data such as memory, processes and performance trends. Note that the older Log Analytics agent has been retired, so use AMA for new setups, and plan a migration if you still use the old agent.

See your real numbers

Stop estimating. Start measuring.

Token-level and instance-level cost attribution across your stack, free.

Try ZOLIX Lite Free

Step 3: Configure Data Collection

Data collection rules (DCRs) control what data is collected and where it goes. Instead of collecting everything, choose what you need:

  • Key performance counters (CPU, memory, disk, network)
  • Important Windows event logs or Linux syslog levels
  • Only the data your alerts and dashboards use

Collecting less data also keeps costs down, which matters because Log Analytics charges are based on data volume.

Step 4: Create Alerts

Dashboards help, but alerts tell you when to act. Go to Monitor > Alerts > Create alert rule and start with these:

  • High CPU: Above a set threshold for a sustained period, such as 10 to 15 minutes
  • Low memory: Available memory below your safe limit
  • Low disk space: Free space under a defined percentage
  • VM availability: The VM stops responding or is deallocated unexpectedly
  • Error events: A spike in critical or error log entries

Use sensible thresholds based on your normal baseline. Alerts that fire constantly get ignored.

Step 5: Set Up Action Groups

An action group decides who gets notified and what happens next.

  • Send email, SMS or push notifications to the right people.
  • Post to a team channel through a webhook or Logic App.
  • Trigger an Azure Automation runbook for simple responses, such as restarting a service.

Make sure alerts reach a team that checks them, not an unmonitored inbox.

Step 6: Build Dashboards and Workbooks

Use Azure Monitor Workbooks or Azure dashboards to give teams a quick view of health.

  • Show CPU, memory, disk and availability for key servers
  • Group views by environment, such as production and staging
  • Add a logs view for recent errors

Keep it simple. A clear dashboard with a few meaningful charts beats a crowded one.

60-second setup

Your next bill is already forming.

See what is driving it now, while there is still time to act on it.

Try ZOLIX Lite Free

Step 7: Investigate Problems with Logs

When an alert fires, open Log Analytics and use Kusto Query Language (KQL) to dig in. Start with a time range around the alert, check performance and event data for that server, then compare against normal behavior. Saving common queries speeds up future investigations.

Best Practices

  • Tag your servers by team, environment and owner, so alerts reach the right people.
  • Monitor the whole system, not only the VM, including the application, database and dependencies.
  • Review alerts regularly and remove noisy ones.
  • Watch monitoring costs. Collect useful data, set retention periods and avoid unnecessary verbose logs.
  • Test your alerts to confirm notifications really arrive.

Final Thoughts

Start small: enable VM insights, create a handful of alerts for CPU, memory, disk and availability, and connect them to the right people. Then refine as you learn what normal looks like. Consistent azure server monitoring helps you fix problems faster, plan capacity better and keep your systems reliable as they grow.

Share this article

AI infra bills grow.We show you what to cut.

Token-level cost attribution and AI-driven savings recommendationsfor your LLM workloads — free, in under 60 seconds.

Try ZOLIX Lite Freelite.zolix.ai
  • Free scan
  • No cloud credentials
  • Results in minutes