1

Enabling Super Metrics in vROps

In our last post, we created a super metric that will show the sum of the storage commands per second for a group of virtual machines. Even though we applied this super metric to a container within vROps, you’ve likely noticed that we still can’t see our new super metric.

 

This might seem a bit surprising at first, but it’s all part of the plan. One of the best features of vROps is its use of policies. For example, policies can be used to adjust how capacity is calculated for a specific cluster or group of objects. Let’s say your environment is made up of two clusters. One cluster hosts your business-critical applications and another cluster that hosts test/dev. Your goals for each cluster will most likely be different; On the business-critical cluster, performance is paramount whereas the test/dev cluster is all about maximizing or even over-committing the hardware resources. So you obviously wouldn’t want to calculate the capacity remaining for production the same as you would for test/dev, and so you’d apply a policy to test/dev that calculates capacity based on demand and allows for the overcommitment of resources.

How does this apply to super metrics? Depending on what your goals and objectives are for each of your objects within vROps, you may have super metrics that only apply to a few objects and therefore don’t want them available to others. That’s why we need to enable our new super metric within a policy.

If you want your super metric to be available to your entire environment, then you can enable it within your default vROps policy (unless it’s explicitly disabled in other policies). Now, if you want to apply your super metric to a specific policy but aren’t sure which one, just view your object and the policy that’s applied to it will be displayed in the upper right-hand corner.

However, in this example, we’re going to modify the default policy because our super metric is useful for all groups of virtual machines. You can tell which policy is the default as indicated by the letter d under the priority column.

 

Once you’ve identified the policy you want to modify, open the policy library, select the policy, and click on the pencil icon.

 

Select “5. Collect Metrics and Properties,” expand the attribute type, and just check Supermetric.

 

 

Select your super metric and select the state option with the green checkmark. Then save your changes.

 

Once you’ve made the changes to your policy it will take one collection cycle (default is five minutes) before your super metric shows up.

 

 

Now, you can view your super metric under the all metrics tab of your object!!

 

Matt Bradford

One Comment

  1. very good clear instructions I like the way people from the United States document instructions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.