This commit is contained in:
2024-01-28 10:09:02 -06:00
parent 39936b8797
commit a73c0a43cf
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.5.171-01272024'
VERS='2.5.172-01282024'
noheader=' update service dailytemp confsync -r -report '

View File

@@ -614,6 +614,11 @@ CHECKTEMP_SERVICE_RUNSENSOR(){
fi
fi
elif [[ "${PW_ESXI_FANSPEEDCONTROL_HOSTS}" != *"${PW_HOST_IDRACS[${SENSORa}]}"* ]] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set ]; then
rm -f ${PW_TMPFOLDER}/.lastfancheck/${SENSORa}.set
ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x01 0x01 >/dev/null 2>&1
[ "${PW_HOST_IDRACS[${SENSORa}]}" == "10.10.2.27" ] && ipmitool -I lanplus -H 10.10.2.26 -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x01 0x01 >/dev/null 2>&1
fi
if [[ "${SENSORa}" != *"-Usage"* ]] && [[ "${SENSORa}" != *"FAN"* ]] && (( $(bc <<< "${temp_f} < ${temp_warn}") )); then