-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Usage" Metrics #9
Comments
The "used" values are aggregated from calls to the listsHosts API method. So for the entire cloud it should reflect the total usage from all hosts. For a zone it should reflect the usage from only hosts in that zone, and so on. http://download.cloud.com/releases/2.2.0/api_2.2.12/global_admin/listHosts.html The 433MHz used CPU sounds somewhat plausible without knowing anything other than that you stress tested one VM. However, the memory used does seem suspiciously low. How many hosts do you have? Would it be possible for you to go through each of those and see what they report for used CPU and memory and see if it makes sense? |
I have 4 hosts and 5 VMs. If I check the Memory graph of one host, I see 2.36M/4.38G/6.47G (Used/Allocated/Total)
Mem: 6723 6607 115 0 105 4084 On a VM running on this host, I get: |
Sorry. I meant to check the host CPU and memory usage graphs within Zenoss. |
So, in the Zenoss->Components->Clusters->Cluster1 graphs/view, I see: Since I have a single cluster with 1 zone and 1 pod, the graphs in the pod & zone view are identical: In the Components->Hosts view: I do not collect detailed ZenOSS graphs (eg. via SNMP) for hosts and VMs. |
At least it's consistent. The code that's collecting this is pretty straightforward. Unless the memoryused and memorytotal responses to the listHosts API call are represented in different units, I don't see where the problem could be. I'm seeing if anyone in #cloudstack has any ideas. |
Hi,
Can you please give more details regarding how the "Used CPU" and "Used memory" metrics are collected and what do they actually mean? For instance, in your own screenshots, there are 8GHz allocated, but only 433M used. In my setup, I have 9 Ghz allocated and 622 Mhz used (cur/avg/max).
Similarly, I have 16 GB of RAm allocated, but only 8.05/8.05/8.13 MB (cur/avg/max) used.
This seems quite odd.
I also stress tested a VM (CPU & memory) and these numbers didn't change a bit.
Thanks
The text was updated successfully, but these errors were encountered: