diff --git a/dsmon.sh b/dsmon.sh index 50ac8f4..3d812f3 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -217,6 +217,10 @@ CHECK(){ elif (( $(bc <<<"${DRIVEINFO_FREEPER[$DRIVE]} <= ${WARNING_LEVEL}") )); then fs_status='Warning' fs_status_color='Yellow' + + elif (( $(bc <<<"${DRIVEINFO_FREE[$DRIVE]} < 5") )); then + fs_status='Warning' + fs_status_color='Magenta' else fs_status='Normal' fs_status_color='Green'