Forum Discussion
serah
Sep 01, 2020Nimbostratus
F5 api to get active connections of virtual servers in ltm
Hi,
I have been trying to figure out how to get the number of current connections for the ltm virtual servers. I was able to do so using https://ipaddr/mgmt/tm/ltm/virtual/stats endpoint. But i am trying to get the total sum for intervals like 24 hours , hourly data etc.
import requests
url = "https://ipaddr/mgmt/tm/ltm/virtual/stats"
payload = {}
headers = {
'
}
response = requests.request("GET", url, headers=headers, data = payload)
print(response.text.encode('utf8')
Can you please help me with this rest api call?
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects