Engine monitoring and protection