The three big reasons to get a ventriculostomy (or "ventric", for those who sling the lingo) are head trauma, including brain bleeds; hydrocephalus that happens really fast, or an infection inside the brain itself that needs to be dosed directly with drugs. We also sometimes put them in during or before surgery, or use them for chemotherapy, though those are less common, at least that I've seen.