Update install-dsmon.sh

This commit is contained in:
2022-03-18 23:24:02 -05:00
parent 17973871f4
commit ff87565992

View File

@@ -55,7 +55,7 @@ for ((i = 0 ; i <= $((${NUMDRIVES}-1)) ; i++)); do
else
#echo "${ia};${ib};${ic}"
THRESHOLDSPACE=$(bc <<< "scale=2; $TOTALSPACE*.8")
THRESHOLDSPACE=$(bc <<< "scale=2; ${ib}*.8")
echo -e "${idsCL[LightCyan]}(${ia}) total size: ${idsCL[LightGreen]}${ib}GB${idsCL[Default]}"
echo -e "${idsCL[LightCyan]}Using the default threshold of 80% would alert at: ${idsCL[LightGreen]}${THRESHOLDSPACE}GB${idsCL[Default]}"