From 7b00213c5d90a01b0e7075aeb5c7a614caf99558 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 6 May 2011 19:46:47 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/ipmi.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 7691333ae..39d8e67cc 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -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}};