Detection of Equipment Faults Before Beam Loss