5.0

Table Of Contents
For example, max([$This:CPUavg,Host3:CPUavg,VM:CPUavg) finds the value of the CPUavg metric for the
resource to which the super metric is assigned, for the resource called Host3, and for all resources of type VM
that are below the resource to which the super metric is assigned in the resource tree.
Although this example uses the same metric in all three res:met pairs, you do not need to use the same metric.
For example, you can have one function take the average of the physical memory used for one attribute, and
the virtual memory used for a second attribute for one or more defined resources.
Single Functions
Single functions work on only a single value or a single pair of values.
Table 4-5. Single Functions
Function Format Description
abs abs(x) Absolute value of x. x can be any floating point number.
acos acos(x) Arccosine of x.
asin asin(x) Arcsine of x.
atan atan(x) Arctangent of x.
ceil ceil(x) The smallest integer that is greater than or equal to x.
cos cos(x) Cosine of x.
cosh cosh(x) Hyperbolic cosine of x.
exp exp(x) e raised to the power of x.
floor floor(x) The largest integer that is less than or equal to x.
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.
Add a Super Metric
You create a super metric when only a combination of metrics can let you know if your systems are behaving
normally.
When you add a super metric, you might find it helpful to open two vCenter Operations Manager browser
tabs. For example, you can create the super metric in one tab and view a dashboard that shows the Resource
Selector, Metric Selector, and Metric Graph widgets in the other tab. When you use two tabs, you can also see
the metric graph of a metric and verify that it is correct before you use it in a super metric.
Prerequisites
n
Design your super metric formula. See “Design a Super Metric,” on page 44.
n
Become familiar with the user interface for building super metric formulas. See “Build a Super Metric
Formula,” on page 44.
Chapter 4 Configuring Attribute Packages
VMware, Inc. 47