I seem not to get it to work. What I need is a simple vcpu to pcpu ratio for the cluster which I will use in a dashboard.
XML based this was : <Metric attrkey="cpu|demand|vConsumption.per.pConsumption" label="vCPU : pCPU" unit=":1" yellow="5" orange="6" red="7" />
and as a supermetric this could for example be: sum(This Resource:Summary|Number of vCPUs on Powered On VMs)/((sum(This Resource:CPU Usage|Provisioned CPU Cores)/sum(This Resource:Summary|Total Number of Hosts))*(sum(This Resource:Summary|Total Number of Hosts)-1))
Anyone has an idea?
Just an FYI from 6.7 on-words you dont need to create metric config files for charts, scoreboards etc anymore. They added a mode object types directly in the widget config
which is great as i can now get the CPU usage for every VM in a group with the addition of the relationship option as well. I was only after that for 4 years