Authored by qinchao

恢复之前代码

... ... @@ -68,10 +68,6 @@ public class NodePm2Task {
String result = httpRestClientService.doGet("http://" + ip + ":9615", null);
JSONObject resultJSONObject = JSON.parseObject(result);
if(resultJSONObject==null){
logger.warn("nodePm2Info get {} :9615 is null", ip);
return;
}
JSONObject monit = resultJSONObject.getJSONObject("monit");
long freeMem = monit.getLongValue("free_mem")/(1024 * 1024);
long totalMem = monit.getLongValue("total_mem")/(1024 * 1024);
... ...