Diagnose incidents on Azure virtual machines

Advanced
Administrator
Azure Virtual Machines
Azure Monitor

Two Azure virtual machines can show the same symptom and need different repairs. A dashboard shows no completed orders from either a Linux VM or a Windows VM. The Linux worker is still processing orders, but a Syslog filter drops its completion messages. On Windows, the order-processing service has stopped, so there are no new completions to collect. Configure monitoring before an incident so you can trace each event and decide which repair the evidence supports.

Learning objectives

By the end of this module, you can:

  • Distinguish a problem with the workload (the application doing the work) from a problem collecting its logs, searching the wrong resources, or running the VM on Azure.
  • Build a timeline for each VM that distinguishes when an event happened from when you could find it.
  • Distinguish a collection filter that excludes valid events from a stopped worker. On Linux, trace Syslog messages; on Windows, trace records from the Windows Event Log.
  • Show that the application produced new events, the alert rule detected a test event, and the intended recipient received the notification.
  • Hand the incident to the next investigator with a record of what you ruled out, what remains unknown, and what you cleaned up.

Prerequisites

This module assumes familiarity with two topics:

  • Azure virtual machines and basic Windows and Linux administration.
  • Azure Monitor and Log Analytics.

You don't need a live Azure subscription to follow the worked incident.