An inspector who, in the course of the inspector's duties, discovers anything the inspector believes to be a failure to comply with any provision of any enactment relating to health or safety administered (in whole or in part) by territorial authorities shall give the appropriate territorial authority written notice of the apparent failure.