DataScript: avi.pool.get_active_server_list
DataScript
Function | avi.pool.get_active_server_list( pool ) |
Description |
Determine the number of servers with up status. |
Events |
HTTP_REQ HTTP_RESP |
Parameter |
pool can be a specific pool name or an expression that evaluates to a valid pool name. |
Returns |
A table with the IP addresses of all active servers in the pool. |
Example |
Print active servers and total count.
|