Probably from the base of massaomai (through the idea of contact); a whip (literally, the Roman flagellum for criminals; figuratively, a disease) -- plague, scourging.
μάστιξ, μαστιχος, ἡ, a whip, scourge (for שׁוט, 1 Kings 12:11, 14; Proverbs 26:3): Acts 22:21; Hebrews 11:36; metaphorically, a scourge, plague, i. e. a calamity, misfortune, especially as sent by God to discipline or punish (Psalm 88:33 (); with Διός added, Homer, Iliad 12, 37; 13, 812; Θεοῦ, Aeschylus sept. 607): of distressing bodily diseases, Mark 3:10; Mark 5:29, 34; Luke 7:21; 2 Macc. 9:11.
Mark 3:10 - N-AFP GRK:ὅσοι εἶχον μάστιγας NAS: had afflictions pressed around KJV: as many as had plagues. INT: as many as had diseases
Mark 5:29 - N-GFS GRK:ἀπὸ τῆς μάστιγος NAS: that she was healed of her affliction. KJV: she was healed of that plague. INT: from the affliction
Mark 5:34 - N-GFS GRK:ἀπὸ τῆς μάστιγός σου NAS: and be healed of your affliction. KJV: of thy plague. INT: from the affliction of you
Luke 7:21 - N-GFP GRK:νόσων καὶ μαστίγων καὶ πνευμάτων NAS: [people] of diseases and afflictions and evil KJV: and plagues, and INT: diseases and afflictions and spirits
Acts 22:24 - N-DFP GRK:παρεμβολήν εἴπας μάστιξιν ἀνετάζεσθαι αὐτὸν NAS: that he should be examined by scourging so KJV: should be examined by scourging; that INT: barracks having directed by flogging to be examined him
Hebrews 11:36 - N-GFP GRK:ἐμπαιγμῶν καὶ μαστίγων πεῖραν ἔλαβον NAS: mockings and scourgings, yes, KJV: and scourgings, yea, INT: of mockings and of scourgings trial received