Monitoring load balancers
To monitor a load balancer
Admin panel
On the Compute > Network > Load balancers tab, select the required load balancer and open the Overview tab. The following charts are available:
- Members state
- The total number of members in the balancing pools grouped by status: “Healthy”, “Unhealthy”, “Error”, and “Disabled”.
- Network
- Incoming and outgoing network traffic.
- Active connections
- The number of active connections.
- Error requests
- The number of error requests.
Command-line interface
Use the following command:
vinfra service compute load-balancer stats <load-balancer>
<load-balancer>
- Load balancer ID or name
For example, to view the statistics for the load balancer mylbaas
, run:
# vinfra service compute load-balancer stats mylbaas +-------+-------------------------------------------------------+ | Field | Value | +-------+-------------------------------------------------------+ | stats | active_connections: 0 | | | bytes_in: 0 | | | bytes_out: 0 | | | listeners: null | | | loadbalancer_id: 17cfa86f-c374-4ca3-8cd6-f638a5234fe7 | | | request_errors: 0 | | | total_connections: 0 | +-------+-------------------------------------------------------+