Merge "Maintain sensor degrade over a process restart"

This commit is contained in:
Zuul 2018-08-23 13:25:16 +00:00 committed by Gerrit Code Review
commit 4d43887256
1 changed files with 1 additions and 1 deletions

View File

@ -2462,7 +2462,7 @@ bool hwmonHostClass::manage_startup_states ( struct hwmonHostClass::hwmon_host *
else if ( critl == true )
{
clear_degraded_state ( sensor_ptr );
set_degraded_state ( sensor_ptr );
set_alarmed_severity ( sensor_ptr, FM_ALARM_SEVERITY_CRITICAL);
hwmonAlarm_critical ( host_ptr->hostname, HWMON_ALARM_ID__SENSOR, sensor_ptr->sensorname, REASON_DEGRADED );
}