You add your super metric that captures the average CPU usage across all virtual machines. With a super metric, you can conveniently track one value instead of several CPU usage metrics for multiple virtual machines.

Design your super metric formula. See Design a Super Metric.

Become familiar with the user interface to build super metric formulas. See Building a Super Metric Formula.

1

Select Content > Super Metrics and click the plus sign.

2

Enter a meaningful name for the super metric such as SM-AvgVMCPUUsage% in the Name text box.

3

Define the formula for the super metric.

Select each function or operator to use and the metrics or attribute kinds to use in each function or with each operator.

a

For Function, select avg.

b

In the Operators field, select the left parenthesis, then select the right parenthesis. Click between the two parentheses to position your cursor in the formula.

c

In the Adapter Type field of the Object Types pane, select vCenter Adapter.

d

From the list of object types that appear, select Virtual Machine.

e

In the Attribute Kinds pane, expand the CPU category, scroll down and double-click the Usage (%) metric .

The formula appears as a mathematical function with the format avg(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=cpu|usage_average, depth=1}). To view the formula in a textual format, click the Show Formula Description icon. The formula appears as avg(VirtualMachine: CPU|Usage).

If the formula syntax is wrong, an error message appears. For example, vRealize Operations Manager verifies that the number of opening and closing parentheses are the same and that single values and arrays are not mixed. You must correct the formula before you can save the super metric.