Skip to content

Azure Virtual Network Gateway

Collect Azure Virtual Network Gateway Metrics

Configuration

Install Func

It is recommended to activate the TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed, please proceed with the script installation.

If you are deploying Func yourself, refer to Self-deploying Func

Install Script

Note: Please prepare the Azure application registration information that meets the requirements in advance, and assign the Monitoring Reader role 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】, enter the corresponding parameters:

  • Azure Tenant ID: Tenant ID
  • Azure Client ID: Application Registration Client ID
  • Azure Client Secret Value: Client Secret Value, note that it is not the ID
  • Subscriptions: Subscription ID, multiple subscriptions separated by ,

Click 【Deploy Startup Script】, the system will automatically create the Startup script set and configure the corresponding startup script.

After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to immediately execute it once without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs.

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also view the corresponding task records and logs to check for any abnormalities.
  2. In TrueWatch, 「Infrastructure - Resource Catalog」, check if there is asset information.
  3. In TrueWatch, 「Metrics」, check if there is corresponding monitoring data.

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
mesa_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