Update dsmon.sh

This commit is contained in:
2023-02-12 13:00:36 -06:00
parent 465e7996e4
commit b06b7db9fd

View File

@@ -217,6 +217,10 @@ CHECK(){
elif (( $(bc <<<"${DRIVEINFO_FREEPER[$DRIVE]} <= ${WARNING_LEVEL}") )); then elif (( $(bc <<<"${DRIVEINFO_FREEPER[$DRIVE]} <= ${WARNING_LEVEL}") )); then
fs_status='Warning' fs_status='Warning'
fs_status_color='Yellow' fs_status_color='Yellow'
elif (( $(bc <<<"${DRIVEINFO_FREE[$DRIVE]} < 5") )); then
fs_status='Warning'
fs_status_color='Magenta'
else else
fs_status='Normal' fs_status='Normal'
fs_status_color='Green' fs_status_color='Green'