Akif
Mar 19, 2020Altostratus
F5 Big-IP REST API Throughput bits/sec
I'm developing a custom dashboard for F5 Big-IP device on python. Right now I'm using the following API endpoints to fetch throughput data:
mgmt/tm/sys/performance/throughput/In
mgmt/tm/sys/performance/throughput/Out
But these endpoints give the data in pkts/sec format. I need to get the data in bits/sec or bytes/sec format. I tried to execute tmsh command 'tmsh show sys performance throughput' inside python but when i run the code it disables the F5 Big-IP interface on web browser so we don't want that to happen. Is there a way to achieve getting the data in bits/sec or bytes/sec format without using tmsh commands? If yes then which endpoints or commands can i use?
Tmos version of my device is 14.1.2.3.