Session based VM Stats for any Particular VM | Nutanix Community
Skip to main content
Solved

Session based VM Stats for any Particular VM


Forum|alt.badge.img

We have a scenario where we want to show session based stats for any particular VM. Using below API we can get the CPU stats for the whole VM.

https://{{cluster_ip}}:{{port}}/PrismGateway/services/rest/v1/vms/{{uuid}}/stats?metrics=hypervisor_cpu_usage_ppm&intervalInSecs=60&startTimeInUsecs=1607965687547284&endTimeInUsecs=1607967487547284

Is there any way or any API that can can give stats bases on machine sessions?

Best answer by JeroenTielen

Got it. That is not in the product. You can use other tools for that. For example Citrix Director if using Citrix CVAD. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1341 replies
  • October 25, 2022

What do you mean with machine sessions? 


Forum|alt.badge.img
  • Author
  • Adventurer
  • 3 replies
  • October 25, 2022

By machine session, we mean that a VM can be accessed by multiple users at the same time. Therefore, we would want to see what are the VM stats for each user. For example, user A and user B are using a VM using their respective credentials. So, the VM currently has two unique sessions. We want to identify the stats for each session.


JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1341 replies
  • Answer
  • October 25, 2022

Got it. That is not in the product. You can use other tools for that. For example Citrix Director if using Citrix CVAD. 


Forum|alt.badge.img
  • Author
  • Adventurer
  • 3 replies
  • October 25, 2022

Thank you for your reply. Can you please pinpoint me to any documentation that I can go through to help find a solution?


JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1341 replies
  • October 25, 2022
Aaqib wrote:

thankyou for your reply. Can you please pinpoint me to any documentation that I can go through to help find a solution

Not via Nutanix, you need third party tools for that.