A predictive maintenance policy with imperfect monitoring