Actually fix rvitals interpretation of some sensors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -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; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user