If you are familiar with creating a View in vROPs, all you have to do is the following:
1. Create a New View
2. Select the type of view you want, in this case, Under Presentation > Select Distribution > Under Visualisation > Select Pie Chart, Under Distribution Type > Select Discrete Distribution
3. Under Subject > Select Virtual Machine object
4. Under Data > Drop down to select Properties > Expand Summary -> Double click on vSphere Tag metric.
5. Under the Data button to the right of the window > Rename your metric to something more familiar > Like VM Inventory By Prod and Non-Prod
6. Under the Filter button > Filter for each vSphere tag that you have. Selection should look similar to the below:
7. Finally you can select a source (vCenter Adapter > vSphere World) at the top right corner to verify that your pie chart is populating correctly.
8. Click Save
Let me know if you need further assistance on this.
Sorry, but didnt work for me. I have created a category named "Environment" and three tags (Prod, Dev and test). When I create the View, in the filter Menu i choose the tag in the following structure:
[<Category-tag>]. For example [<Environment-Dev>]. Doing this i receive garbage results ...like a graph with variables like [..] [,,,] [,,,,,].
We had numerous problems with vsphere tags. The two main ones
- Relies on the inventory database on the vcenter. We had problems and had to rebuild them and lost all the tags
- the format in vrops was not very clear and easy to read.
To get around this we used the REST API to create custom properties in vrops against the objects. This way it is all within vrops and the value of the property is reported back exactly how it is typed in. The two down sides is it is static but this can be said for vcenter tags and once the property is created it cant be deleted. The value can be changed but the property cant be change or deleted.
I would recommend using the API to create the custom properties. As an example we added the EOSL date for all our hosts and now i can create a bar chart showing all our hosts and when there EOSL date is and how many need replaced. Below is an example of how powerful custom properties can be.
What version of vROPs are you running this on? Also can you show me a screenshot when you try to apply your filter?
gruiz Your subject should be Virtual Machine not Host System since you wanted a pie chart showing number of VMs in Production, Stage and Dev.
For the pie chart to show split parts of the pie, you have to set a filter for each tag as I have indicated in my full instructions before.