Are there hereditary forms of meningitis?

Not specificly. Heredity dose play a role in some forms of immune deficiency. Children with an inherited immune defects are more at risk for meningitis & other severe infections. Some may be more prone to specific germs than others. Some are less successful at fighting an infection if they occur. That said, meningitis is not passed like eye color or sickle cell.
Its an infection. Meningitis is a result of infection of the brain due to bacteria, viruses or fungi. It is not an inherited disorder. In cases of some forms of cancer, meningitis may be caused by cancer cells invading the brain.