Clarify which chassis own which rvitals output

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-05-06 19:46:47 +00:00
parent 8588d0e6be
commit 7b00213c5d

View File

@ -4125,12 +4125,13 @@ sub sensorformat {
$data = "N/A";
}
#$unitdesc.= sprintf(" %x",$sdr->sensor_type);
use Data::Dumper;
print Dumper($lformat,$sdr->id_string,$data);
# use Data::Dumper;
# print Dumper($lformat,$sdr->id_string,$data);
my $text = sprintf($lformat,$sdr->id_string . ":",$data);
if ($extext) {
$text="$text ($extext)";
}
if ($sessdata->{bmcnum} != 1) { $text.=" on BMC ".$sessdata->{bmcnum}; }
xCAT::SvrUtils::sendmsg($text,$callback,$sessdata->{node},%allerrornodes);
if (scalar @{$sessdata->{sensorstoread}}) {
$sessdata->{currsdr} = shift @{$sessdata->{sensorstoread}};