When it has been brought to the attention of a director of health or board of health that rain water barrels, tin cans, bottles or other receptacles or pools near human habitations are breeding mosquitoes, such director of health or board of health shall investigate and cause any such breeding places to be abolished, screened or treated in such manner as to prevent the breeding of mosquitoes. The director of health, or any inspector or agent employed by him, may enter any premises in the performance of his duties under this section.