Commit 81b7ea4c authored by 段英荣's avatar 段英荣

modify

parent 95288622
......@@ -226,6 +226,7 @@ class ESPerform(object):
es_nodes_list.append(int(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))
return True
else:
return False
......
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