Monitoring or fail-safe circuits