Anyone know how I can get the total number of objects in a custom group?
I would like to use it on a scoreboard in a dashboard.
I have created some Custom Groups based on VMs with different vSphere TAGs.
I'm unable to find a metric or property on the Custom Group that shows the total amount of members.
Do I have to use a Super Metric? If so, how is that done in this scenario?
Kind regards
Bernt Torbjornsen
You need to be 6.4 vrops to get the count super metric
I use this all the time and works great
count(${adaptertype=VMWARE, objecttype=VirtualMachine, attribute=badge|health, depth=1})
In short this will count all the heath badges of the vMs in the group regardless of the badge score
Similar thing for hosts
count(${adaptertype=VMWARE, objecttype=HostSystem, attribute=badge|health, depth=1})
You need to be 6.4 vrops to get the count super metric
I use this all the time and works great
count(${adaptertype=VMWARE, objecttype=VirtualMachine, attribute=badge|health, depth=1})
In short this will count all the heath badges of the vMs in the group regardless of the badge score
Similar thing for hosts
count(${adaptertype=VMWARE, objecttype=HostSystem, attribute=badge|health, depth=1})
Perfect, just what I was looking for.
I'm running 6.4, so the Super Metric you provided worked fine.