Port monitoring in Azure Monitor

Simran Kaur Deol 41 Reputation points
2022-05-03T09:30:52.297+00:00

Hi everyone,

I'm new to Azure and need some expert suggestions on the challenge that I'm facing.

I'm working towards migrating from an existing monitoring tool to Azure monitor in order to track different KPIs (such as URLs, Ports, DB) of our servers in one place. Currently, I wanted to monitor all ports of VMs, check their status, give out alerts in case a port is not responding but couldn't really find a way to do that.

Please let me know if there's a way to do it.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,792 questions
{count} votes

Accepted answer
  1. Alistair Ross 7,101 Reputation points Microsoft Employee
    2022-05-03T10:15:22.223+00:00

    Ho @Simran Kaur Deol

    Azure Monitor for Virtual Machines will monitor local ports on a VM from within the OS, monitoring inbound and outbound traffic.

    Depending on your need you can use Application Insights URL ping tests, Standard tests, or Connection monitor for URL monitoring.

    SQL insights can be used for monitoring SQL databases on VM's as well.

    All of this can be alerted on in using Log Alerts, though some (like connection monitor and the URL tests) build the alerts as part of the deployment wizard.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Faisal Khalid 1 Reputation point
    2022-07-20T12:14:57.573+00:00

    How do I monitor if inbound port on nsg is set to allow it could be rdp 3389 etc.


  2. Maxim Sergeev 6,566 Reputation points Microsoft Employee
    2022-07-20T17:44:44.9+00:00

    Actually, Azure Monitor with Network Watcher Connection Monitor could monitor ports and URLs by using Azure Network Extension on Azure VM machines. Including external addresses\ports and internal (based on VNET) endpoints. See the doc https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview

    222789-image.png