You use the vSphere World object, not individual vCenters.
Yes correct but i have 5 vCenters in the environment but i only want the total VMs combined for two of them.
Then you'll probably have to create a custom group and add those two vCenters and use that as the subject of your growth report. Either that or, depending if it's a view, use the Exclude functionality to see if you can exclude those which are descendants of the other 3 vCenters.
i created a custom group and added those two vcenters but it only started collecting the data from the time that group was created.
I'll play around with the exclude function instead. That might be better
Create a view like this (you probably have something like that):
- Name and Description: <us you wish>
- Presentation: Trend
- Subjects: vSphere World
- Data: add metric -> Summary|Number of Running VMs (if you want, you can filter object like vCenter for example by tag). Set time etc.
- Visibility: Dashboard
Next create a dashboard using this view.
View looks like that: