Predictive maintenance in industry