Create a super metric when you want to check the health of your environment, but cannot find a suitable metric to perform the analysis.

Procedure

  1. On the menu, click Administration and in the left pane click Configuration > Super Metrics.
  2. Click the Add icon.
  3. Enter a meaningful name for the super metric such as SM-AvgVMCPUUsage% in the Name text box.
  4. Define the formula for the super metric.

    Select the function or operator. Select the metrics or attribute types that you want to use in each function or with each operator. For example, to add a super metric that captures average CPU usage across all virtual machines, perform the following tasks.

    1. For Function, select avg.
    2. In the Operators text box, select the left parenthesis, then select the right parenthesis. Click between the two parentheses to position the cursor.
    3. In the Adapter Type text box of the Object Types pane, select vCenter Adapter.
    4. Click the This object icon, and from the list of object types, select Virtual Machine.

      If the This object icon is not selected, the super metric function displays the object with a long description.

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

    The formula appears as a mathematical function. To view the formula in a textual format, click the Show Formula Description icon. If the formula syntax is wrong, an error message appears. The formula ends with depth=1. With depth=1, you assign the super metric to an object type that is one level above virtual machines in the relationship chain. The super metric appears as a metric for that object type. With depth=2, you assign the super metric to an object type that is two levels above virtual machines, for example a Cluster.

  5. To assign the super metric to an object type at depth=1, type 2 instead of 1, so that depth=2 is displayed.
  6. Verify that the super metric formula has been created correctly.
    1. Click the Visualize Super Metric icon.
    2. In the Objects pane, double-click one of the objects listed.

      A metric graph is displayed showing values of the metric collected for the object. Verify that the graph shows values over time.

  7. Click Save.
  8. Associate the super metric with an object. vRealize Operations Manager calculates the super metric for the target objects and displays it as a metric for the object type.
    1. In the Super Metrics workspace, select the super metric.
    2. In the Object Types tab, click the Add icon.
    3. In the Select Object Type text box, select the required object. For example, if you created your super metric for Host Systems under the vCenter Adapter, expand vCenter Adapter, and select Host Systems.
    4. Click Select.

      After one collection cycle, the super metric appears on each of the objects of the specified object type. For example, you defined the super metric to calculate average CPU usage across all virtual machines and assigned it to the Host System object type. After one collection cycle, the super metric appears as a super metric on each host.

What to do next

In the Policies > Edit Policy > Attributes workspace, you must select and enable each super metric. See Custom Policies. Wait at least one collection cycle for the super metric to begin collecting and processing data. Then review your super metric in the All Metrics tab.