Skip to content

Azure Load Balancer

Collect Azure Load Balancer Metrics

Configuration

Install Func

It is recommended to enable TrueWatch 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 Reader role to the application registration.

To synchronize the monitoring data of Azure Load Balancer, we install the corresponding collection script: 「Integration (Azure-Load Balancer Collection)」(ID: integration_azure_load_balancer)

After clicking [Install], input the corresponding parameters:

  • Azure Tenant ID: Tenant ID
  • Azure Client ID: Application registration Client ID
  • Azure Client Secret Value: Client secret value, note it is not the ID
  • Subscriptions: 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

  1. 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.
  2. In TrueWatch, 「Infrastructure - Resource Catalog」, check if there is asset information.
  3. In TrueWatch, check if there are corresponding monitoring data in "Metrics".

Metrics

Collect Azure Load Balancer Metrics, more metrics can be collected through configuration Microsoft.Network/loadBalancers Supported Metrics

Metric Name Description Unit
byte_count_total Total bytes transmitted during the time period byte
packet_count_total Total packets transmitted during the time period count
syncount_total Total number of SYN packets transmitted during the time period count
vip_availability_average Average availability of IP addresses for each duration %
dip_availability_average Average availability of dedicated IP %
allocated_snat_ports_average The total number of SNAT ports allocated during the statistical period. count
global_backend_availability_average The backend health status of the cross-region load balancer during the statistical period. count
snat_connection_count_total The total number of new SNAT connections during the statistical period. count
used_snat_ports_average The total number of SNAT ports used during the statistical period. count