Several people, including a pregnant woman and a child, were taken to the hospital Wednesday after a faulty sump pump filled a Peabody building with carbon monoxide fumes.