# Baseline_engine percent algorithm calculation

Document ID : KB000095012
Show Technical Document Details
Question:
How does Baseline_Engine probe use the Percent threshold configuration for dynamic alarms ?
Percent algorithm is based on the [Percent of baseline value + baseline value] for that period.

If Baseline is X and Percent threshold configured is Y%, QoS Value is Q is Compared with ((Y% of X) + X).

Example:
If the baseline value for 3PM - 4PM on Monday is calculated to be 7.0 , and the dynamic alarm algorithm is set to percent and threshold is provided to be >= 10%, then the alarms will be generated if QOS value is reported 7.7 and above.

Example 1

QOS Value: QOS_CPU_UTILIZATION =17.0
Baseline value = 9.2
Percent Threshold =(100%, 40%, 20%, 10%, 5%) [Critical -> Info]

First baseline checks upon configured threshold values:
Critical:
17 > 100% of Baseline + Baseline value
17 > 9.2 + 9.2
17 > 18.2 (False)

Major:
17 > 40% of Baseline + Baseline Value
17 > 3.68 + 9.2
17 > 12.88 (True) Alarm is sent

Example 2

Similarly for QOS_REACHABLILITY_REACHABILITY =100
Baseline Value = 100.0
Percent Threshold = (50%,80%,90%,95%,99%)[Critical ->Info]

Critical:
100 <= 50% of Baseline + baseline
100 <= 50% of 100 + 100
100 <= 150 (True)  Alarm is sent.