@cryptotaxi247 / netdata-1 / commits / 31483242a

fix(freeipmi): set sensor state on every reading (#15360)

Ilya Mashchenko committed Jul 11, 2023 at 22:25 UTC 31483242a4cf3f9183c61031c328d1c9039a37e2
1 file changed +2
collectors/freeipmi.plugin/freeipmi_plugin.c
+2
@@ -942,6 +942,8 @@ static void netdata_update_ipmi_sensor_reading(
942 sn->last_collected_metric_ut = state->sensors.now_ut;
943 }
944
945 + sn->sensor_state = sensor_state;
946 +
947 sn->last_collected_state_ut = state->sensors.now_ut;
948
949 dictionary_acquired_item_release(state->sensors.dict, item);