Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » Configure Azure Monitor for VMs on Azure Stack Hub
  • FIDO KEY FEATURE
    How to use a Fido Certified U2F Key for Authentication Password Manager
  • maxresdefault
    Linux Directory Hierarchy Linux
  • Screenshot 2020 05 14 at 19.09.08
    How to backup a Cisco IOS Network | Monitoring
  • Docker Volumes
    Create and Mount Volume to Docker Container Containers
  • How To Put Multiple OS ISO Files In One Bootable USB Disk
    USB Drive: Create a Multiboot with Multiple OS ISOs Windows
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • Burn ISO on MAC   Proxmox installation
    Create a bootable USB on Mac: Proxmox VE Setup Virtualization
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup

Configure Azure Monitor for VMs on Azure Stack Hub

Posted on 14/10/202115/09/2023 Christian By Christian No Comments on Configure Azure Monitor for VMs on Azure Stack Hub
AzureMonitor

Azure Monitor is a platform service that provides a single source for monitoring Azure resources. With Azure Monitor, you can visualize, query, route, archive, and otherwise take action on the metrics and logs coming from resources in Azure. Azure Stack Hub has built-in Azure Monitor capabilities; however, they are limited. Therefore, if you are looking for a more feature-rich solution, you should use public Azure Monitor. Virtual Metric announces the newest addition to its infrastructure monitoring suite. In this article, we will discuss how to Configure Azure Monitor for VMs on Azure Stack Hub. Please see How to delete your Slack account, how to Leave a Slack Workspace temporarily: How to deactivate a Slack Workspace.

To complete the steps in this article, you must have appropriate access to a subscription in the Azure and Azure Stack Hub portals. You can as well refer to some of the related guides. How to configuring azure monitor for vms on azure stack hub, how to configure vm update management on azure stack hub, how to create a load balancer for azure stack hub, how to install and configure Ansible on Ubuntu, how to install Ansible on Windows with Cygwin, how to automate infrastructure deployments in the cloud with ansible and azure pipelines, how to install Kerberos packages in Windows via Cygwin, how to configure a remote server (windows) to Support Ansible, and how to deploy azure vmware solution private cloud.

Microsoft Azure Stack HCI Monitoring

With the Azure Stack HCI monitoring and reporting tool within VirtualMetric, you can collect, visualize into charts and analyze a wide variety of counters and statistics from your environment. This includes virtual machines on-premise and within the cloud, Windows servers, resources, performance, and more. Like in this article, the Azure Stack HCI monitoring software is completely agentless and delivers features like dashboards, dashboards playlists, smart recursive alarms and notifications, inventory collection, and full customization of all reports inside.

The advanced Microsoft Azure Stack HCI observability solution can be easily integrated within your infrastructure and you can start to collect metrics from physical infrastructure and virtual machines within minutes. Therefore, I’ll be explaining how to utilize public Azure Monitor with Azure Stack Hub instead of the built-in Azure Monitor.

Enabling Azure Monitor for VM Insights

From the Azure portal, select Virtual machines, Virtual machine scale sets, or Servers – Azure Arc. Next, select a resource from the list. In the Monitoring section of the menu, select Insights and then Enable. The following example shows an Azure virtual machine, but the menu is similar for Azure virtual machine scale set or Azure Arc.

  • From the Azure portal,
  • Select Virtual machines -> select a VM resource created on the list
  • In the Monitoring section of the menu -> select Insights -> then Enable.
Capture-13-1ghjjpeg


Creating the Log Analytics Workspace

A Log Analytics Workspace is an Azure resource and a container where data is collected, aggregated, and serves as an administrative boundary.

Creating an Azure Monitor Log Analytics workspace has some specific considerations you need to account for before choosing to create a new workspace.

  • Log in to the Azure portal, and create a Log Analytics Workspace in your Azure subscription:
    • Click Create a resource
    • In the search bar, search for log analytics
    • Click Log Analytics Workspace
    • Click Create
Capture-14

Then provide the following details below:

  • A Subscription to link the workspace to
  • A Resource group to host the workspace in
  • A unique Name for the Log Analytics Workspace
  • A Region to host the workspace in
  • Click Review + Create once finished, then click Create. The Log Analytics Workspace will now begin deploying. A notification will appear in the top right of the portal.
Capture-15

Once deployment is complete, navigate to the resource group you placed the Log Analytics Workspace in.

  • Click the newly created workspace.
  • On the new blade, under Settings, select Agents management.
  • Note down the Workspace ID and Primary Key values.
Capture-16

You can as well like to configure additional data sources just as it is shown below

  • Under Settings, select Agents configuration.
  • From the Windows event log tab
  • Click Add windows event log
  • Select an event log from the dropdown and use the checkboxes to determine the severities that you want to collect for this log type.
Capture-17


Please see the Benefits of Azure API Management and how to create an API instance. Learn Cost Management in Azure using the cost analysis tool: How to query a log that can analyze cost in Azure.

Installing the extensions

From the Azure portal. Select Virtual machines -> select a VM resource created on the list that you want to enable Azure Monitor on. Go to Settings, and select the Extensions blade.

Note: For any monitoring to work correctly, the VM must have HTTPS (port 443) enabled in the Network Security Group rules.

  • Click Add at the top, select the extension Agent for Windows Server Monitoring, click Create and then OK, and wait for the deployment to finish before continuing.
  • Provide the extension with the Workspace ID and Primary Key values (noted down previously), then click OK.
Capture-18


Configuring the Log Analytics Workspace

In public Azure, select Monitor from the favorites menu on the left. In the new blade under Insights, click Virtual Machines on the left.

You will see three usage analytics tabs (Get Started, Performance, and Map) for the VMs you have enabled Azure Monitor for VMs on.

Capture-19
  1. At the top, click the Performance tab, then on the right, move the switch from Azure to Hybrid
  2. A prompt will appear to upgrade the workspace, click Upgrade. In the new blade, click Upgrade again.
  3. Upon refreshing the page, the prompt will disappear and the workspace will begin showing usage analytics for the VMs you’ve enabled Azure Monitor for VMs on.

Note: It can take between 30 minutes and 6 hours for the dashboard to display updated data from Azure Monitor-enabled VMs.

Capture-20


To Executing Kusto Query Language (KQL) queries to retrieve data from the Log Analytics Workspace

  • Navigate to the Log Analytics Workspace you created.
  • Under General, click Logs.
  • Enter the KQL query in the New Query 1 tab, then click Run. The below example will select data from the event log table Event, filtering for events of type System and containing the phrase was unexpected, then sorted by the TimeGenerated field in descending order.
Capture-21

This article provided an overview of how to Configure Azure Monitor for VMs on Azure Stack Hub. it also discussed Azure Monitor for VM Insights, creating the Log Analytics Workspace, Installing the extensions, configuring the Log Analytics Workspace. I hope you found this article useful for your project.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure, Azure Pipelines, Microsoft Azure Active Directory

Post navigation

Previous Post: How to fix the Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship on Windows Server [Part 2]
Next Post: Using Awx to deploy, schedule and run playbooks

Related Posts

  • Commvault Docker Images
    Pull and Push Commvault Images to Azure Container Registry AWS/Azure/OpenShift
  • article 1280x720.192a2586 1
    How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
  • Create AWS RDS instance
    How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
  • images
    AWS Network Adapter: Redhat to Citrix PV and AWS PV Driver AWS/Azure/OpenShift
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
  • Webp.net resizeimage 5
    How to create a Traffic Manager Profile in Azure AWS/Azure/OpenShift

More Related Articles

Commvault Docker Images Pull and Push Commvault Images to Azure Container Registry AWS/Azure/OpenShift
article 1280x720.192a2586 1 How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
Create AWS RDS instance How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
images AWS Network Adapter: Redhat to Citrix PV and AWS PV Driver AWS/Azure/OpenShift
Webp.net resizeimage 1 Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
Webp.net resizeimage 5 How to create a Traffic Manager Profile in Azure AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • FIDO KEY FEATURE
    How to use a Fido Certified U2F Key for Authentication Password Manager
  • maxresdefault
    Linux Directory Hierarchy Linux
  • Screenshot 2020 05 14 at 19.09.08
    How to backup a Cisco IOS Network | Monitoring
  • Docker Volumes
    Create and Mount Volume to Docker Container Containers
  • How To Put Multiple OS ISO Files In One Bootable USB Disk
    USB Drive: Create a Multiboot with Multiple OS ISOs Windows
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • Burn ISO on MAC   Proxmox installation
    Create a bootable USB on Mac: Proxmox VE Setup Virtualization
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,832 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.