Forum Discussion

Akif's avatar
Akif
Icon for Altostratus rankAltostratus
Mar 05, 2020

F5-sdk on Python

I'm trying to implement a project with f5-sdk on python.

 

I'm working on a F5 BIG-IP device.

 

I want to get the current throughput and number of connections data so that i can make a simple dashboard.

 

I can get number of connections data for each virtual server but i need to see the data about the whole system.

 

How can i do this? Which functions,classes i can use. Documentation doesn't really helped me to achieve this.

 

Can you give example code parts?

 

Thanks all.

 

 

  • I believe you can get the information from 'tmsh show sys tmm-traffic'. The command provides the traffic data per tmm, so you need to sum them up. The iControl REST endpoint for this command is /mgmt/tm/sys/tmm-traffic.

    • Akif's avatar
      Akif
      Icon for Altostratus rankAltostratus

      Thank you for your answer, it really saved me here. iControl REST endpoint works perfectly.