update the getaddsensorevent for new sensor events
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f0e2c1dee5
commit
96943769a1
@ -3664,12 +3664,13 @@ sub getaddsensorevent {
|
||||
} elsif ($offset == 0x05) {
|
||||
$text = "$event_data_3% full";
|
||||
}elsif($offset==0x06){
|
||||
if($event_data_2){
|
||||
if(defined $event_data_2){
|
||||
if(defined($event_data_3) and ($event_data_3 & 0x80 == 0x80)){
|
||||
$text="Vendor-specific processor number:";
|
||||
}else{
|
||||
$text="Entity Instance number:";
|
||||
}
|
||||
$text.=sprintf("%02xh",$event_data_2 & 0xff);
|
||||
}else{
|
||||
$text="for all Processor sensors";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user