ASAP 2.7 Extension Manual
Configuring the ASAP Extension
HP NonStop ASAP Extension Manual—425265-004
2-12
Aggregation Control
Aggregation Control
ASAPX 2.0 introduced aggregation by doing aggregation of individual DataItems using
the original MetricRule formula for the attribute. For DataItems that are not constants
ASAPX used the sum of all DataItems. However, it did nothing for constants because it
didn't know how to treat a constant. ASAPX 2.4 corrects this limitation by giving users
the ability to control how DataItems are aggregated before they are used in MetricRule
formulas for aggregate domains.
ASAPX 2.4 extends the codes used to specify MetricRule formulas to ASAPX to give
the user control over how DataItems are aggregated together prior to being used in the
MetricRule formula (for aggregate domains only.)
METRICRULE formula
formula
is an algebraic formula consisting of: operand operator operand
operator
is one of:
+
-
*
/
operand
is one of:
expression Another “operand operator operand” expression contained in
parenthesis.
#n [nac] The "#" character designates the number following it as a
DataItem number, zero-relative, from 0 to 11.
nac An optional aggregate code of one of these values:
MIN - Use the minimum DataItem value.
MAX - Use the maximum DataItem value.
SUM - Use the sum of DataItem values.
AVG - Use the average of DataItem values.
CNT - Use the count of DataItem values.
The aggregate code must immediately follow the DataItem
number, with at least one space. The value is ignored if
aggregate domains are not being generated by ASAPX. The
default for all DataItem types is SUM.
Note: For text constant DataItems, use the MIN, MAX, or CNT
codes. Attempting math on the contents using SUM or AVG
produces unpredictable results.