Update temp.inc.sh

This commit is contained in:
2024-07-18 20:23:51 -05:00
parent 4902476297
commit 659e8fefe8

View File

@@ -375,7 +375,7 @@ CHECKTEMP(){
echo -en "${idsCL[LightCyan]} Getting FanSpeed..."
fi
[ ! -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ] && until [ -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ]; do tmp=tmp; done
RPM=$(snmpwalk -v 1 -c public -t 2 ${vHOSTiDRACIP} .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1.3 -O vq)
RPMs=$(snmpwalk -v 1 -c public -t 2 ${vHOSTiDRACIP} .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq)
# RPMs=($(snmpwalk -v 1 -c public -t 2 10.10.2.27 .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq))
RPM_tot=0
for RPMn in "${RPMs[@]}"; do