Bacteria that can cause Legionnaires' disease was detected in an ice machine at a state-run pediatric hospital in Canton.