5.6

Table Of Contents
Table 4-5. Single Functions (Continued)
Function Format Description
log log(x) Natural logarithm (base x) of x.
log10 log10(x) Common logarithm (base 10) of x.
pow pow(x,y) Raises x to the y power.
rand rand(x:y) Generates a random number between x and y.
sin sin(x) Sine of x.
sinh sinh(x) Hyperbolic sine of x.
sqrt sqrt(x) Square root of x.
tan tan(x) Tangent of x.
tanh tanh(x) Hyperbolic tangent of x.
Build a Super Metric Formula
A super metric formula can include one or more metric specifications, super metric functions, arithmetic
operators (such as the plus or minus sign), and constants. You can enter any number of constants as part of
the formula.
You must follow certain procedures and rules when you build a super metric formula in the
vCenter Operations Manager user interface.
Prerequisites
n
Become familiar with how to construct super metric specifications. See “Super Metric Specifications,” on
page 47.
n
Become familiar with the super metric functions that vCenter Operations Manager provides. See “Super
Metric Functions,” on page 47.
Procedure
n
To use a function, select it in from the Function drop-down menu and select the resource or resource kind
and metric or attribute kind to use in its argument.
n
For looping functions that are in functN format, type the comma and value of n in the function argument.
n
To select a resource and metric, click the resource in the Resource pane and double-click the metric in the
Metrics pane.
The database IDs of the resource and metric appear in the formula line at the top of the window.
n
Define a metric for the resource to which the super metric is assigned.
a In the Resources pane, click any resource that contains the metric to use.
b Click the This Resource icon or type $This on the formula line.
If the This Resource icon is already selected, do not click it again. After you click the This
Resource icon, you must click it again to turn it off before you can add a specific resource to the
formula.
c In the Metrics pane, double-click the metric.
n
To select a resource kind and attribute kind as an argument for a looping function, click the kind in the
Resource Kinds pane and double-click the kind in the Attribute Kinds list.
The database IDs of the resource kind and attribute kind appear in the formula line.
Chapter 4 Configuring Attribute Packages
VMware, Inc. 49