which API to use for nova diagnostics on servers - i.e. VM resource consumption over time ?

asked 2018-02-05 12:08:48 -0500

pk gravatar image

Which specific API i can use to collect compute nova VM consumption (i.e. nova list --all which will give me number of VMs) over the time on servers? or in other words Which API can help to capture nova diagnostics over server and hypervisors in openstack ?

My research: - $ nova host-list (command gives list of hosts) - $ nova host-describe <hostname>(command gives cpu,memory,disk details) - nova list --all (command giving me list of VMs) - nova diagnostics <nova id="" or="" name=""> (command gives me details of cpu, memory, vda, vnet details) - nova usage-list (command gives instance, RAM, cpu, disk details)

Reference: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/4/html/End_User_Guide/usage_statistics.html (https://access.redhat.com/documentati...)

I do have required API access service endpoints and able to get necessary tokens to test with the APIs.

QUESTION: Which Compute-NOVA API to use to grab above details?

edit retag flag offensive close merge delete