diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 672981b1..2a8a11db 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -592,13 +592,16 @@ CHECKTEMP(){ echo -e "${idsCL[Default]}" fi - else - echo -e " Fans are not managed for this host" + # else + # echo -e " Fans are not managed for this host" fi fi fi ((t++)) done + if [ "${TTYPE}" == "fans" ] && [[ "${PW_ESXI_FANSPEEDCONTROL_HOSTS}" != *"${PW_HOST_IDRACS[${SENSOR}]}"* ]]; then + echo -e " Fans are not managed for this host" + fi else echo -e "${idsCL[LightCyan]} ${vHOSTNAME}${spc}${idsCL[Default]}: No Data" fi