The city shall have the right to take such samples of waters and wastes and to make such tests, measurements and analyses as are necessary to enforce the provisions of this division and ensure the cleanliness and operational quality of the sewer system.