I just love vSphere Tags. I think it’s one of those vSphere features that people don’t use that much – what a shame because when it comes to vROps integration it can come very handy!
Funny, while working on this post one of my Twitter peeps, Grant Orchard put a question out there asking if we can group VMs by tag into a common dashboard in vROps 6.
The answer is yes of course, let me show how…
First, create a new Tag and Tag Category in vCenter. In my case I wanted to capture all my vCenter applications (I only have two of those servers in my lab).
Create a new Tag Category and associate it to a Virtual Machine object type.
Then, go ahead and create a new Tag and assign it with the new category you have just created.
Assign the new Tag to the relevant virtual machines. Like I said, in my case I assigned it to my two vCenter servers VMs and below you can see my management vCenter VM.
That’s all you need to do on the vSphere side. In vROps, go to Custom Groups configurations located under the “Environment” tab. Click the “+” sign to create a new custom group.
Provide a group name, type and policy (and keep the group membership up to date if you like).
The object type for this group will be a “Virtual Machine” which is part of vROps “vCenter Adapter”.
Provide the criteria set configurations:
- vSphere Tag is consider a property so choose “Properties”
- In the “property” field, select “vSphere Tag” located under “Summary”
- Select the “contains” option
- The value will be the name of the vSphere Tag you created earlier
- Click the “Preview” button to validate you configurations
The end result should look like that:
Select your new group created under “Custom Groups” and go to the “Troubleshooting” tab. As you can see, a new custom group based on vSphere Tag can now be integrated to your vROps custom dashboards 🙂