top of page
Brock Peterson

The Most Commonly Created Super Metric in Aria Operations

We've discussed Aria Operations Super Metrics several times before, but haven't gone into details on the most commonly created Super Metric, which is the Super Metric created on a parent object type to sum (or max/min/etc) a certain metric or property of all children. Let's have a look.


Say for example you want to sum the number of VM vCPUs on an ESXi Host, or Cluster, or Datacenter, or Custom Group containing VMs. Some of these totals are provided out of the box, but others aren't, and you'd use Super Metrics to create them. This same methodology holds for any metric you might want to use.


I have various Custom Groups of VMs defined in Operations, I can use Views to total vCPU in each, but I'd like to have a Super Metric to use in Dashboards, Alerts, and more. My Custom Groups look like this.

Let's create a Super Metric on these Custom Groups, go to Operations - Configurrations - Super Metrics - ADD and give your Super Metric a name and description.

Click NEXT, now this is the Object Type against which you are defining your Super Metric. In my case this will be Environment, which if you recall were the Type of Custom Groups I created. This as the Object Type the Super Metric will show up against.

Click NEXT, this is where you define your formula. Operations has progressed nicely here, in that it will prompt you for formula creation. Clicking in the formula box will prompt for Function, Object Type, Object, or THIS. In this case we'll select Function as we'd like to sum the total of VM vCPUs. We'll then select the Object Type and metric we'd like to total: VM vCPU. We then define the distance away this object (VM) is from the Object Type against which the Super Metric is defined (in this case 1). Finally, you select which Policies you'd like to enable it in. Here's a video showing how to do it.

After 5m go back to your Custom Groups to confirm the Super Metric has been created.

And there it is, let's confirm it's accurate, I have a Dashboard we can use.

The Super Metric on the left matches the sum of the VM vCPUs on the right, so we have confirmation. One thing to note, the Super Metric doesn't include metrics from VMs that are Powered Off, as shown here.

This type of Super Metric can be used in countless scenarios where you are trying to sum/max/min/etc groups of objects/metrics. If you'd like the Super Metric created here, you can find it on my GitHub Repo.







Comentários


bottom of page