System Resilience through Health Monitoring and Reconfiguration