The purpose of this is to have the needed data on a static file without having to log into two F5 appliances. The wideip is also known as the FQDN that is hosted off a F5 BIG IP DNS, the result is a pool and a pool member (LTM Virtual server ip). The second appliance F5 LTM has the Virtual server with pool, pool member, and nodes. The python script can ssh or rest api to obtain the data and write it to a CSV file. Anyone familiar with F5 products would know how it works and structured, and with python background able to to write the script.
1. Create a Python script that into an F5 BIG-IP GTM collects the output of a wideip, then follows the result to the LTM, logs into the LTM and follows it down the the node.
2. Write the results in a CSV file with this table structure
GTM_NAME, WIDEIP_NAME, WIDEIP_POOL_NAME, WIDEIP_POOL_MEMBERS, LTM_NAME, LTM_Virtual_Server_NAME, LTM_Pool_NAME, LTM_Node_NAME
You can use ssh or rest api perform the tasks.
F5 BIGIP-DNS (GTM) -> F5 Load Balancer (LTM)
WIDEIP_NAME: [url removed, login to view]