Forum Discussion

greglaskowski's avatar
greglaskowski
Icon for Nimbostratus rankNimbostratus
Mar 23, 2021

Call API: %CPUusage of Slot id0 for the last week?

Hello,

 

I wan't to know the good call API to get the average CPU for one week of the CPU ( slot id 0 or CPU ids Overall)

 

I think it's possible with the call API https://hostname/mgmt/tm/analytics/cpu/report but i don't find the good syntax..

 

Someone can help me ?

 

thanks

1 Reply

  • Please test this endpoint, works fine.

    curl -sku admin -H "Content-Type: application/json" -X GET https://<hostname>/mgmt/tm/sys/cpu