From f22bf21fe50146d7769a2c152f96ef54ac41fddc Mon Sep 17 00:00:00 2001 From: dusselmann <91031217+dusselmann@users.noreply.github.com> Date: Thu, 30 Dec 2021 15:55:44 +0100 Subject: [PATCH] Update storj-system-health.sh --- storj-system-health.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storj-system-health.sh b/storj-system-health.sh index 4223e48..7e20bcb 100644 --- a/storj-system-health.sh +++ b/storj-system-health.sh @@ -339,7 +339,7 @@ fi # ------------------------------------ # send discord ping -if [[ $tmp_fatal_errors -ne 0 ]] || [[ $tmp_io_errors -ne $tmp_rest_of_errors ]] || [[ $tmp_audits_failed -ne 0 ]] || [[ $get_repair_ratio_int -lt 95 ]] || [[ $put_repair_ratio_int -lt 95 ]] || [[ $get_ratio_int -lt 90 ]] || [[ $put_ratio_int -lt 90 ]] || [[ $tmp_no_getput_1h ]] || [[ $DEB -eq 1 ]]; then +if [[ $tmp_fatal_errors -ne 0 ]] || [[ $tmp_io_errors -ne $tmp_rest_of_errors ]] || [[ $tmp_audits_failed -ne 0 ]] || [[ $get_repair_ratio_int -lt 95 ]] || [[ $put_repair_ratio_int -lt 95 ]] || [[ $get_ratio_int -lt 90 ]] || [[ $put_ratio_int -lt 90 ]] || $tmp_no_getput_1h || [[ $DEB -eq 1 ]]; then ./discord.sh --webhook-url="$URL" --username "storj stats" --text "$DLOG" echo ".. discord push sent." fi