Questions about the history of the illness and a physical examination help determine the likelihood of meningitis.Lumbar puncture (sampling of the cerebrospinal fluid [CSF]) is the primary test for meningitis and is important for the critical distinction between a bacterial or viral cause.