Update power.inc.sh
This commit is contained in:
@@ -405,7 +405,7 @@ CHECKPOWER(){
|
||||
HOST_WATTS_disp="${idsCL[Green]}${AD}'A${spc}`IDS_NUMBER_FORMAT ${HOST_WATTS} 0`'W"
|
||||
|
||||
elif [ "$(ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSOR}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" chassis power status | grep off)" != "" ]; then
|
||||
HOST_WATTS_disp="${idsCL[LightRed]}Host powered down "
|
||||
HOST_WATTS_disp="${idsCL[LightRed]}Host powered down"
|
||||
HOST_WATTS=-1
|
||||
elif [ "${HOST_WATTS}" = "0" ]; then
|
||||
HOST_WATTS_disp="${idsCL[Yellow]}Host PSU not capable"
|
||||
|
||||
Reference in New Issue
Block a user