Update install-dsmon.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user