diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 83651c7a8..a3eb4a49b 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -4550,6 +4550,9 @@ sub sensor_was_read { if ($exdata1 & 1<<3) { push @exparts,"Power Cycle"; } + if (@exparts) { + $extext = join(",",@exparts); + } } elsif ($sdr->sensor_type == 0xd) { if ($exdata1 & 1) { push @exparts,"Present"; @@ -4578,6 +4581,9 @@ sub sensor_was_read { if ($exdata1 & 1<<8) { push @exparts,"Rebuild aborted"; } + if (@exparts) { + $extext = join(",",@exparts); + } } else { $extext = "xCAT needs to add support for ".$sdr->sensor_type; }