|
| 1 | +--- |
| 2 | +title: Metrics and alerts for Azure Virtual Network NAT |
| 3 | +titleSuffix: Azure Monitor metrics and alerts for Azure Virtual Network NAT |
| 4 | +description: Understand Azure Monitor metrics and alerts available for Virtual Network NAT. |
| 5 | +services: virtual-network |
| 6 | +documentationcenter: na |
| 7 | +author: asudbring |
| 8 | +manager: KumudD |
| 9 | +ms.service: virtual-network |
| 10 | +Customer intent: As an IT administrator, I want to understand available Azure Monitor metrics and alerts for Virtual Network NAT. |
| 11 | +ms.devlang: na |
| 12 | +ms.topic: overview |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.workload: infrastructure-services |
| 15 | +ms.date: 03/03/2020 |
| 16 | +ms.author: allensu |
| 17 | +--- |
| 18 | + |
| 19 | +# Azure Virtual Network NAT metrics |
| 20 | + |
| 21 | +Azure Virtual Network NAT gateway resources provide multi-dimensional metrics. You can use these metrics to observe the operation and for [troubleshooting](nat-metrics.md). Alerts can be configured for critical issues such as SNAT exhaustion. |
| 22 | + |
| 23 | +<p align="center"> |
| 24 | + <img src="media/nat-overview/flow-direction1.svg" width="256" title="Virtual Network NAT for outbound to Internet"> |
| 25 | +</p> |
| 26 | + |
| 27 | +*Figure: Virtual Network NAT for outbound to Internet* |
| 28 | + |
| 29 | +>[!NOTE] |
| 30 | +>Virtual Network NAT is available as public preview at this time. Currently it's only available in a limited set of [regions](nat-overview.md#region-availability). This preview is provided without a service level agreement and isn't recommended for production workloads. Certain features may not be supported or may have constrained capabilities. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms) for details. |
| 31 | +
|
| 32 | +## Metrics |
| 33 | + |
| 34 | +NAT gateway resources provide the following multi-dimensional metrics in Azure Monitor: |
| 35 | + |
| 36 | +| Metric | Description | Recommended Aggregation | Dimensions | |
| 37 | +|---|---|---|---| |
| 38 | +| Bytes | Bytes processed inbound and outbound | Sum | Direction (In; Out), Protocol (6 TCP; 17 UDP) | |
| 39 | +| Packets | Packets processed inbound and outbound | Sum | Direction (In; Out), Protocol (6 TCP; 17 UDP) | |
| 40 | +| Dropped packets | Packets dropped by the NAT gateway | Sum | / | |
| 41 | +| SNAT Connection Count | State transitions per interval | Sum | Connection State, Protocol (6 TCP; 17 UDP) | |
| 42 | +| Total SNAT connection count | Current active SNAT connections (~ SNAT ports in use) | Sum | Protocol (6 TCP; 17 UDP) | |
| 43 | + |
| 44 | + |
| 45 | +## Alerts |
| 46 | + |
| 47 | +Alerts for metrics can be configured in Azure Monitor for each of the preceding [metrics](#metrics). |
| 48 | + |
| 49 | +## Limitations |
| 50 | + |
| 51 | +Resource Health isn't supported. |
| 52 | + |
| 53 | +## Next steps |
| 54 | + |
| 55 | +- Learn about [Virtual Network NAT](nat-overview.md) |
| 56 | +- Learn about [NAT gateway resource](nat-gateway-resource.md) |
| 57 | +- Learn about [Azure Monitor](../azure-monitor/overview.md) |
0 commit comments