Preventive and corrective maintenance of submersible pumps