Using host facts to diagnose failures