diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 1e09616b..a2aa43f2 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -358,8 +358,8 @@ CHECKTEMP_SERVICE(){ ${PW_TMPFOLDER}/zservicerun.${SENSORa}.done } CHECKTEMP_SERVICE_RUNSENSOR(){ - start_sub=`date +%s`; echo -en "${SENSORa}" SENSORa=${1} + start_sub=`date +%s`; echo -en "${SENSORa}" if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then vHOST_TEMPNAMES=$(snmpwalk -v 1 -c public -t 2 ${PW_HOST_IDRACS[${SENSORa}]} .1.3.6.1.4.1.674.10892.5.4.700.20.1.8 -O vq | sed -e 's/"//g' | sed -e 's/ Temp//g') IFS=$'\n'