Azure Virtual Network Gateway
Collect Azure Virtual Network Gateway Metrics
Configuration¶
Install Func¶
It is recommended to enable Guance integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the script installation.
If deploying Func manually, refer to Manual Func Deployment
Install Script¶
Note: Please prepare the required Azure application registration information in advance and assign the
Monitoring Readerrole to the application registration.
To synchronize the monitoring data of Azure Virtual Network Gateway, we install the corresponding collection script: 「 Integration (Azure-Virtual Network Gateway Collection)」(ID: integration_azure_virtual_network_gateway)
After clicking [Install], input the corresponding parameters:
Azure Tenant ID: Tenant IDAzure Client ID: Application registration Client IDAzure Client Secret Value: Client secret value, note it is not the IDSubscriptions: Subscription ID, multiple subscriptions separated by,
Click [Deploy Startup Script], the system will automatically create Startup script sets and configure the corresponding startup scripts.
After enabling, you can see the corresponding automatic trigger configuration in "Manage / Automatic Trigger Configuration". Click [Execute] to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.
Verification¶
- In "Manage / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any exceptions.
- In Guance, 「Infrastructure - Resource Catalog」, check if there is asset information.
- In Guance, check if there are corresponding monitoring data in "Metrics".
Metrics¶
Collect Azure Virtual Network Gateway Metrics, you can collect more metrics through configuration microsoft.network/virtualnetworkgateways Supported Metrics
| Metric Name | Description | Unit |
|---|---|---|
average_bandwidth_average |
Gateway S2S Bandwidth | Bytes/s |
bgp_peer_status_average |
BGP Peer Status | count |
bgp_routes_advertised_total |
Number of BGP Routes Advertised | count |
bgp_routes_learned_total |
Number of BGP Routes Learned | count |
express_route_gateway_active_flows_average |
Number of Active Flows | count |
express_route_gateway_bits_per_second_average |
Bits Received Per Second | Bytes/s |
express_route_gateway_count_of_routes_advertised_to_peer_maximum |
Number of Routes Advertised to Peer | count |
express_route_gateway_count_of_routes_learned_from_peer_maximum |
Number of Routes Learned from Peer | count |
express_route_gateway_cpu_utilization_average |
CPU Utilization | % |
express_route_gateway_frequency_of_routes_changed_total |
Frequency of Route Changes | % |
express_route_gateway_max_flows_creation_rate_maximum |
Maximum Number of Flows Created Per Second | count |
express_route_gateway_number_of_vm_in_vnet_maximum |
Number of VMs in Virtual Network | count |
express_route_gateway_packets_per_second_average |
Packets Received Per Second | count |
inbound_flows_count_maximum |
Gateway Inbound Flows | % |
outbound_flows_count_maximum |
Gateway Outbound Flows | % |
vnet_address_prefix_count_total |
VNet Address Prefix Count | count |
mmsa_count_total |
Tunnel MMSA Count | count |
qmsa_count_total |
Tunnel QMSA Count | count |
tunnel_average_bandwidth_average |
Tunnel Bandwidth | Bytes/s |
tunnel_egress_bytes_total |
Tunnel Egress Bytes | Byte |
tunnel_ingress_bytes_total |
Tunnel Ingress Bytes | Byte |
tunnel_egress_packets_total |
Tunnel Egress Packets | count |
tunnel_ingress_packets_total |
Tunnel Ingress Packets | count |
tunnel_egress_packet_drop_count_total |
Number of packets dropped in the tunnel egress direction | count |
tunnel_ingress_packet_drop_count_total |
Number of packets dropped in the tunnel ingress direction | count |
p_2_sconnection_count_maximum |
The number of point-to-site connections for the gateway. | count |
scalable_express_route_gateway_active_flows_average |
Number of active flows on the scalable ExpressRoute gateway. | count |
scalable_express_route_gateway_bits_per_second_average |
Scalable ExpressRoute The total number of bits per second received by the gateway. | bps |
scalable_express_route_gateway_count_of_routes_advertised_to_peer_maximum |
Scalable ExpressRoute Number of routes advertised by the gateway to peers. | count |
scalable_express_route_gateway_count_of_routes_learned_from_peer_maximum |
Scalable ExpressRoute The number of routes the gateway has learned from peers. | count |
scalable_express_route_gateway_cpu_utilization_average |
CPU usage percentage for scalable ExpressRoute gateway. | % |
scalable_express_route_gateway_frequency_of_routes_changed_total |
Scalable ExpressRoute The number of route changes for the gateway. | count |
scalable_express_route_gateway_max_flows_creation_rate_maximum |
Scalable ExpressRoute Maximum number of new flows per second for the gateway. | count/s |
scalable_express_route_gateway_number_of_vm_in_vnet_maximum |
Scalable Number of virtual machines in the virtual network where the ExpressRoute gateway resides. | count |
scalable_express_route_gateway_packets_per_second_average |
Scalable ExpressRoute The total number of packets received by the gateway per second. | count/s |
scalable_express_route_gateway_scale_unit_maximum |
Scalable ExpressRoute Number of scaling units for the gateway. | count |
tunnel_egress_packet_drop_tsmismatch_total |
The number of outbound packets dropped by the tunnel due to traffic selector mismatches. | count |
tunnel_ingress_packet_drop_tsmismatch_total |
The number of inbound packets dropped by the tunnel due to traffic selector mismatches. | count |
tunnel_nat_allocations_total |
The number of allocations of each NAT rule on the tunnel. | count |
tunnel_nated_bytes_total |
The number of bytes converted by the NAT rule on the tunnel. | B |
tunnel_nated_packets_total |
The number of packets converted by the NAT rule on the tunnel. | count |
tunnel_nat_flow_count_total |
Number of tunnel NAT flows by flow type and NAT rule. | count |
tunnel_nat_packet_drop_total |
Tunnel NAT converted packet drops by drop type and NAT rule. | count |
tunnel_peak_packets_maximum |
The peak number of packets per second for the tunnel. | count |
tunnel_reverse_nated_bytes_total |
The number of bytes reversely converted by the NAT rule on the tunnel. | B |
tunnel_reverse_nated_packets_total |
The number of packets reversely converted by the NAT rule on the tunnel. | count |
tunnel_total_flow_count_total |
The total number of flows on the tunnel. | count |
user_vpn_route_count_total |
Number of point-to-site user VPN routes learned by the gateway. | count |