Update temp.inc.sh

This commit is contained in:
2023-12-26 19:21:00 -06:00
parent f685fbf5d9
commit 59aae41e12

View File

@@ -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'