Authored by simba

update

... ... @@ -143,7 +143,7 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService
}else{
twemproxyAlarmCount++;
redisMonitor.setIsFailed(0);
redisMonitor.setParamMonitor("0,");
redisMonitor.setParamMonitor(obj.getMoHostIp()+":"+Integer.valueOf(ports[0]));
}
redisMonitor.setNodeFrom(redisTweproxyMap.get(obj.getMoTypeId()));
redisMonitor.setNodeTo(obj.getMoHostIp()+":"+ports[1]);
... ... @@ -244,9 +244,9 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService
if(slaveAramCount>0){
alrarmMsg.append("redis主从:"+redisAlarmCount+"台连接失败;请及时查看!");
}
log.info("sms redis start info {}",alrarmMsg.toString());
if(StringUtils.isNotBlank(alrarmMsg.toString())){
alarmMsgService.sendSms("zookeeper", alarmMsgService.toString(), snsMobileConfig.getBaseMobile());
alarmMsgService.sendSms("redis", alrarmMsg.toString(), snsMobileConfig.getBaseMobile());
}
}
}
... ...