Creating custom groups in vROps 6.x

Custom groups are a handy way of grouping objects, similar or dissimilar, into a set and using the group in a dashboard or view for easy access and quick troubleshooting. Groups can be:

  • static – objects like vCenter Servers can be termed ‘static’ in vROps terms, it’s not like you create them every other day or you are setting up monitoring of a fairly static environment, such as a DMZ.
  • dynamic – objects like VMs are quite dynamic like in a VDI environment especially when non-persistent desktops are in use.
  • associated with adapters – you can only edit these groups from the adapter instance.

Basically, custom groups are a way to categorize objects together. Be careful with the policies you attach to/apply to custom groups as policies dictate how vROps calculates trends and generates recommendations.

To create a group:

  • Go to the Environment tab, then to the Groups tab and click on the green plus to begin creating a group.

vROpsGroups1.JPG

  • Here’s a group called VDI group that I’m creating specifically for VDI clusters, here are its properties

vROpsGroups4

The idea behind this group is this:

  • I wanted a group that grouped specific VDI clusters that I could later use to show CPU utilization within the clusters.
  • I used the VDI Policy which I customized to suit my needs.
  • “Keep group membership up to date” – is very handy, you couldn’t do without it. Basically, new additions to clusters get added automatically.
  • Next, I chose the Object Type as the Cluster Compute Resource in Define membership criteria.
  • In Objects to always include, I chose the two clusters I want to create the group for. You need to double-click the check boxes next to the clusters.
  • You need to ensure you click the tiny down arrow next to the Add button which reveals something very important – selected objects and descendants. This will includes the clusters, the hosts, the VMs, the datastores – basically every object within a cluster. Click on “Selected objects and descendants” and then click on Add. If you miss this step, only the cluster object will be included in the group resulting in skewed/incorrect data wherever you use this group.
  • Sit back and let it add every object to the right (where it says “Objects to always include (0)”. This may take a while depending on the size of your clusters. In my case, it took about 15 minutes.
  • Click Ok to finish creating the group.

I’ve now created a group that I can use within Dashboards and custom Views. Next post will discuss using this group in Dashboards and Views.

2 Comments

 Add your comment
  1. Have you tried to execute the GetStaticGroups API request ?

Leave a Comment

Your email address will not be published.