# Baseline_engine percent algorithm calculation

 Document ID : KB000095012 Last Modified Date : 08/05/2018 Show Technical Document Details
 Question: How does Baseline_Engine probe use the Percent threshold configuration for dynamic alarms ? Answer: 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 1QOS Value: QOS_CPU_UTILIZATION =17.0Baseline value = 9.2Percent Threshold =(100%, 40%, 20%, 10%, 5%) [Critical -> Info]First baseline checks upon configured threshold values:Critical:17 > 100% of Baseline + Baseline value17 > 9.2 + 9.217 > 18.2 (False)Major:17 > 40% of Baseline + Baseline Value17 > 3.68 + 9.217 > 12.88 (True) Alarm is sentExample 2Similarly for QOS_REACHABLILITY_REACHABILITY =100Baseline Value = 100.0Percent Threshold = (50%,80%,90%,95%,99%)[Critical ->Info]Critical:100 <= 50% of Baseline + baseline100 <= 50% of 100 + 100100 <= 150 (True)  Alarm is sent.  Additional Information: