Azure NAT Gateway Monitoring | Cloudmon

Azure NAT Gateway

Microsoft Azure

Azure NAT Gateway

Discover the NAT gateways in your connected Azure account, see each one with its SKU, the public IP addresses it uses, and the subnets attached to it, and track the health and performance measures Azure Monitor provides.

Overview

Azure NAT Gateway is a managed service that gives the resources in a subnet outbound internet access through one or more static public IP addresses.

Cloudmon automatically discovers the NAT gateways in your connected Azure account. Navigate to Cloud → Azure → [Select Account] → Azure NAT Gateway to view the list.

To connect an Azure account, see How to Set Up Azure Monitoring.

Turning On Monitoring for Azure NAT Gateway

The Services tab of the Azure account shows a card for each Azure service. Select All to see every supported service. A service that is not yet monitored for the account shows an Enable button instead of a resource count.

To choose the services discovered for an account, edit the account and select them under Services to be Discovered, as described in Actions in Azure Monitoring.

Azure NAT Gateway List

The list displays all discovered NAT gateways with the following details:

ColumnDescription
NameThe name of the resource as configured in Azure.
Resource GroupThe resource group the resource belongs to.
LocationThe Azure region where the resource is deployed.
SKUThe NAT gateway SKU.
Public IPsThe public IP addresses attached to the NAT gateway.
SubnetsThe subnets that use the NAT gateway for outbound traffic.
StatusThe current status of the resource.
ActionsOptions for managing monitoring of the resource.

Metrics

Azure Monitor provides the following metrics for NAT gateways:

MetricDescription
BytesTotal bytes sent and received through the NAT gateway, split by protocol and direction.
PacketsTotal packets sent and received through the NAT gateway.
Dropped PacketsPackets the NAT gateway dropped.
SNAT Connection CountNew outbound (SNAT) connections, split by protocol and connection state.
Total SNAT Connection CountActive outbound (SNAT) connections at a point in time.
Datapath AvailabilityWhether the NAT gateway can pass traffic. A drop points to a problem with outbound connectivity.

Use Cases

  • Watch Datapath Availability to catch outbound connectivity problems for the subnets behind the gateway.
  • Use Dropped Packets and the failed connection states in SNAT Connection Count to spot SNAT port exhaustion.
  • Track Bytes to see how much outbound traffic each NAT gateway carries.

Troubleshooting

IssueWhat to check
The list shows "There are no Azure NAT Gateway Available"The account has no NAT gateways, or discovery has not run since they were created. Navigate to Cloud → Azure → [Account] and click Rediscover.
The service card shows EnableThe service is not monitored for this account. Edit the account and select Azure NAT Gateway under Services to be Discovered.
Resources are missing after discoveryConfirm that the application registered for Cloudmon has the Reader role on the subscriptions that contain the resources. See How to Set Up Azure Monitoring.