...
|
...
|
@@ -59,7 +59,7 @@ public class RedisTask extends Task { |
|
|
try {
|
|
|
if (null == client || !client.isConnected()) {
|
|
|
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to connect to redis " + this.getUrl() + " .", this.getSnsMobileConfig().getBaseMobile());
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to connect to redis " + this.getUrl() + " .", this.getSnsMobileConfig().getRedisMobile());
|
|
|
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -94,7 +94,7 @@ public class RedisTask extends Task { |
|
|
//check redis
|
|
|
if (!testRedis(redisInfo)) {
|
|
|
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to write-read redis " + this.getUrl() + " .", this.getSnsMobileConfig().getBaseMobile());
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to write-read redis " + this.getUrl() + " .", this.getSnsMobileConfig().getRedisMobile());
|
|
|
|
|
|
redisInfo.setStatus("NO-OK");
|
|
|
}
|
...
|
...
|
@@ -104,7 +104,7 @@ public class RedisTask extends Task { |
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to write-read redis:" + this.getUrl() + "," + "role:" + redisInfo.getRole() + ".", this.getSnsMobileConfig().getBaseMobile());
|
|
|
this.getAlarmMsgService().sendSms("Redis", "Failed to write-read redis:" + this.getUrl() + "," + "role:" + redisInfo.getRole() + ".", this.getSnsMobileConfig().getRedisMobile());
|
|
|
|
|
|
redisInfo.setStatus("NO-OK");
|
|
|
}
|
...
|
...
|
|