Update temp.inc.sh

This commit is contained in:
2024-06-30 12:15:08 -05:00
parent 51de117676
commit e2e0e10dde

View File

@@ -592,13 +592,16 @@ CHECKTEMP(){
echo -e "${idsCL[Default]}" echo -e "${idsCL[Default]}"
fi fi
else # else
echo -e " Fans are not managed for this host" # echo -e " Fans are not managed for this host"
fi fi
fi fi
fi fi
((t++)) ((t++))
done done
if [ "${TTYPE}" == "fans" ] && [[ "${PW_ESXI_FANSPEEDCONTROL_HOSTS}" != *"${PW_HOST_IDRACS[${SENSOR}]}"* ]]; then
echo -e " Fans are not managed for this host"
fi
else else
echo -e "${idsCL[LightCyan]} ${vHOSTNAME}${spc}${idsCL[Default]}: No Data" echo -e "${idsCL[LightCyan]} ${vHOSTNAME}${spc}${idsCL[Default]}: No Data"
fi fi