|
@@ -300,10 +300,12 @@ public class AlarmEngineMsgHandler {
|
|
|
alarmCondition.setInfoCodes(infoCodes);
|
|
|
alarmCondition.setConfigs(condition.getConfigs());
|
|
|
alarmCondition.setTriggerBackend(condition.getTrigger().replaceAll(alarmConfigItem.getObjId()+"_",""));
|
|
|
+ alarmCondition.setTriggerUphold(0);
|
|
|
if (condition.getTriggerUphold() != null) {
|
|
|
alarmCondition.setTriggerUphold(condition.getTriggerUphold()/60);
|
|
|
}
|
|
|
alarmCondition.setAlarmLevel(alarmConfigItem.getLevel());
|
|
|
+ alarmCondition.setEndUphold(0);
|
|
|
if (condition.getEndUphold() != null) {
|
|
|
alarmCondition.setEndUphold(condition.getEndUphold()/60);
|
|
|
}
|