Failure Detection In Linear Systems