Showing
1 changed file
with
2 additions
and
2 deletions
@@ -117,7 +117,7 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService | @@ -117,7 +117,7 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService | ||
117 | ipList.add(key); | 117 | ipList.add(key); |
118 | } | 118 | } |
119 | } | 119 | } |
120 | - tMap.put(obj.getMoHostIp(),ipList); | 120 | + tMap.put(obj.getMoHostIp()+":"+obj.getMoTags(),ipList); |
121 | redisMonitor.setIsFailed(1); | 121 | redisMonitor.setIsFailed(1); |
122 | redisMonitor.setParamMonitor(paramMonitor.toString()); | 122 | redisMonitor.setParamMonitor(paramMonitor.toString()); |
123 | } | 123 | } |
@@ -127,7 +127,7 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService | @@ -127,7 +127,7 @@ public class RedisMonitorHandleServiceImpl implements IRedisMonitorHandleService | ||
127 | redisMonitor.setParamMonitor("状态:宕机;"); | 127 | redisMonitor.setParamMonitor("状态:宕机;"); |
128 | } | 128 | } |
129 | redisMonitor.setNodeFrom(redisTweproxyMap.get(obj.getMoTypeId())); | 129 | redisMonitor.setNodeFrom(redisTweproxyMap.get(obj.getMoTypeId())); |
130 | - redisMonitor.setNodeTo(obj.getMoHostIp()+obj.getMoTags()); | 130 | + redisMonitor.setNodeTo(obj.getMoHostIp()+":"+obj.getMoTags()); |
131 | redisMonitor.setLevel(1); | 131 | redisMonitor.setLevel(1); |
132 | redisInfoList.add(redisMonitor); | 132 | redisInfoList.add(redisMonitor); |
133 | } | 133 | } |
-
Please register or login to post a comment