Commit 5f5a896f authored by 段英荣's avatar 段英荣

modify

parent a06d378d
......@@ -223,7 +223,7 @@ class ESPerform(object):
cpu_load_1m = item.split(" ")[4]
if float(cpu_load_1m) > 50:
high_num += 1
es_nodes_list.append(int(cpu_load_1m))
es_nodes_list.append(float(cpu_load_1m))
if high_num > len(es_nodes_list)/3:
logging.info("check es_nodes_load high,cpu load:%s" % str(es_nodes_info_list))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment