question

GVS avatar image
0 Votes"
GVS asked JeffMason-3567 answered

How to check server uptime and accessbility from azure portal

Hi, How to check server uptime an accessibility from azure portal or az powershell instead of logging to every Vm and check manually after any activity

azure-virtual-machines
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AzureisMyCareer-5423 Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

0 Votes 0 ·

1 Answer

karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered karishmatiwari-msft edited

You can use Azure Monitor to collect and analyze monitoring data from Azure virtual machines to maintain their health.

Azure Monitor starts collecting data from Azure virtual machines the moment that they're created. In this quickstart, you'll take a brief walkthrough the data that's automatically collected for an Azure VM and how to view it in the Azure portal. You'll then enable Azure Monitor for VMs for your VM which will enable agents on the VM to collect and analyze data from the guest operating system including processes and their dependencies.

While metrics and activity logs will be collected for the host VM, you need an agent and some configuration to collect and analyze monitoring data from the guest operating system and its workloads. Azure Monitor for VMs installs these agents and provides additional powerful features for monitoring your virtual machines.

  1. Go to the menu for your virtual machine.

  2. Either click Go to Insights from the tile in the Overview page, or click on Insights from the Monitoring menu.
    ![21361-image.png

  3. If Azure Monitor for VMs has not yet been enabled for the virtual machine, click Enable.

  4. If the virtual machine isn't already attached to a Log Analytics workspace, you will be prompted to select an existing workspace or create a new one. Select the default which is a workspace with a unique name in the same region as your virtual machine.

I am sharing the documents which have step by step instructions as well as details on the same.
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/quick-monitor-azure-vm
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/monitor-vm-azure
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-performance

Let me know if you have further questions.


Please 'Accept' as answer if it helped, so that it can help others who have the same question.


image.png (267.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you, is there any other way

0 Votes 0 ·

If you can elaborate on your requirements, it would help me understand and suggest any other solution.

0 Votes 0 ·