Hi.
I was sick all of last month means that you've been sick for a whole month, whereas Last month I got sick means that you got sick a month ago, but you don`t specify how long you were like that.
I was sick last month means that you were sick a month ago, but like the sentence above you don`t specify how long you were like thath