Skip to content

Commit

Permalink
Update storj-system-health.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerrrn authored Dec 30, 2021
1 parent a616fa4 commit f22bf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storj-system-health.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f22bf21

Please sign in to comment.