ASAP 2.7 Extension Manual
Configuring the ASAP Extension
HP NonStop ASAP Extension Manual—425265-004
2-13
Aggregation Control
Examples
The following examples all assume these DataItems are defined:
DATAITEMS "0 I, 1 I, 2 U, 3 C, 4 C, 5 T"
where:
To display the value of DataItem 0, the number of transactions during the interval, in 
the detail records and the sum of all transactions for all domains in the group in the 
aggregate records:
AT TransCnt MetricRule "#0"
To display the number of transactions in detail records and the average of all 
transactions for all members in the group in the aggregate records:
AT TransCnt MetricRule "#0 AVG"
To display the number of transactions as a per second rate value in detail records and 
to display the overall transaction rate for all members of the group in the aggregate 
records:
Cn The "C" character designates the number following as an 
integer constant. Any 31-bit positive integer value is 
acceptable.
S[sac] The "S" instructs ASAPX to use the number of seconds in the 
interval in the calculation.
sac An optional aggregate code of one of these values:
SUM - Use the sum of seconds in the interval.
AVG - Use the average of seconds in the interval.
The aggregate code must immediately follow the "S", with at 
least one space. The value is ignored if aggregate domains are 
not being generated by ASAPX. The default is SUM if the other 
operand used in the calculation is a time bucket DataItem of 
type U, M or S because ASAP assumes a percentage is being 
generated. Otherwise, the default is AVG because ASAP 
assumes that a rate value is being generated. This default 
setting maintains compatibility with ASAPX 2.0.
0 is an integer count of all successful transactions
1 is an integer count of all failed transactions
2 is the number of microseconds spent servicing transactions
3 is a constant representing the current state of the server
4 is a constant representing the value remaining in an account
5 is a text string indicating "Yes" or "No" to specify whether a transaction is currently 
active










