dav3860 / vmbix

Fork of vmbix, a TCP proxy for querying a VMWare infrastucture with Zabbix
53 stars 19 forks source link

cluster.mem[name,usage] #40

Open Spuun1 opened 7 years ago

Spuun1 commented 7 years ago

This doesn't return the memory usage of a cluster. It results the amount of memory used by cluster services etc. (effective memory usage) . Effective memory is the amount of memory available for virtual machines.

Effective Memory = Aggregate host machine memory - (VMkernel memory + Service Console memory + other service memory)

Cluster memory usage should be calculated like this:

Cluster: memory usage = memory consumed + memory overhead ÷ effectivemem

as it's explained in https://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/memory_counters.html

Could this be retrieved for cluster from root resource pool?

https://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.ResourcePool.html

And for last but not least thanks to dav for this great tool!