Update power.inc.sh
This commit is contained in:
@@ -404,10 +404,10 @@ CHECKPOWER(){
|
||||
HOST_WATTS_disp="${idsCL[Green]}${AD}'amps${spc}`IDS_NUMBER_FORMAT ${HOST_WATTS} 0`'watts"
|
||||
|
||||
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"
|
||||
HOST_WATTS_disp="${idsCL[Yellow]}Host PSU not capable "
|
||||
HOST_WATTS=-2
|
||||
else
|
||||
HOST_WATTS_disp="${idsCL[LightRed]}Could not pull data"
|
||||
|
||||
Reference in New Issue
Block a user