Authored by qinchao

添加恶意ip拦截组

... ... @@ -14,6 +14,12 @@ public class AlarmGroupContants {
public final static String GROUP_NAME_YUNWEI = "运维组";
/**
* 报警组
* 恶意IP处理组
*/
public final static String GROUP_NAME_MALICIOUS_IP = "恶意IP处理组";
/**
* 运维-双中心切换:
*/
public final static String GROUP_NAME_YUNWEI_SWITCH_CENTER = "切换组";
... ...
... ... @@ -122,7 +122,7 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
logger.error("insert sms into influxdb failed", e);
}
//发送拦截短信
String mobile_yunwei = getUsersInfoUtil.getMobileByAlarmGroup(AlarmGroupContants.GROUP_NAME_YUNWEI);
String mobile_yunwei = getUsersInfoUtil.getMobileByAlarmGroup(AlarmGroupContants.GROUP_NAME_MALICIOUS_IP);
String smsStr = "成功捕获恶意ip->" + ip ;
logger.info(" MaliciousIpServiceImpl writeMipsToOpsReids - "+ip);
alarmMsgService.sendSms("MaliciousIp", smsStr, mobile_yunwei);
... ...