Legionnaires' disease is an infection with a legionella bacteria
that causes a pneumonia
It is transmitted in a waterborne fashion, often from cooling towers, humidifiers and such. It is not spread person-to-person. It is treated with antibiotics if found. Avoiding the source is the best way to avoid infection. There is no other preventive treatment that I am aware of.