I'm trying to figure out if I can monitor an Azure Virtual Network Gateway using PRTG to see if the VPN connection is active or not, similar to what you'd do for standard Network Operations Center (NOC) monitoring. Is this feasible?
4 Answers
I'm not sure if you can directly monitor with PRTG like you want. Isn't PRTG mainly pulling SNMP data from interfaces? That might not be available in Azure. Have you thought about setting up a ping test through the tunnel? It might give you a straightforward up/down alert.
Technically, you can monitor it, but keep in mind that Azure VPN Gateway doesn't have a simple ICMP signal for 'VPN up/down'. Instead, you'll want to look into the tunnel connection state, BGP status if you're using it, and data transfer metrics. Most NOCs view this more as service health rather than device health.
While it might not be exactly what you're looking for, one way to monitor your VPN connection is to track endpoints at each end of the tunnel. You could use Azure's Network Watcher to test connectivity between your Azure VM and an on-premises server. For more reliable monitoring, consider adding multiple endpoints, triggering alerts only if all of them fail. Also, you might want to collect diagnostic logs to monitor tunnel connection and disconnection events through the TunnelDiagnosticLog table, although this can have some delays compared to endpoint monitoring.
With enough effort, you can make PRTG work for your needs! First, ensure your PRTG is connected to Azure via app registration; that’ll help with monitoring.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures