diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index c5023bf8..b66459a8 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -72,7 +72,9 @@ async def check_load_average(): load_av = re.match(pattern, uptime_string).group(1) if float(load_av) > 10: message = "High system load detected in uptime output: {}".format(uptime_string) - await send_msg(message, force_notify=True) + # Disabling pings until we have metrics solution and process to better + # address + await send_msg(message, force_notify=False) # check_disk checks the amount of free space on the /home partition and issues @@ -109,7 +111,9 @@ async def check_disk(): # dump disk usage script_dir = os.path.dirname(os.path.realpath(sys.argv[0])) - os.popen(script_dir + "/disk-usage-dump.sh " + script_dir + "/" + DISK_USAGE_DUMP_LOG) + os.popen( + script_dir + "/disk-usage-dump.sh " + script_dir + "/" + DISK_USAGE_DUMP_LOG + ) inspect = os.popen("docker inspect sia").read().strip() inspect_json = json.loads(inspect)