update
This commit is contained in:
@@ -217,9 +217,9 @@ CHECKTEMP_SERVICE(){
|
|||||||
echo -en "${FanSpeed} - ${vHOSTFAN} = "
|
echo -en "${FanSpeed} - ${vHOSTFAN} = "
|
||||||
if [ ${FanSpeed} -gt 90 ]; then
|
if [ ${FanSpeed} -gt 90 ]; then
|
||||||
echo yes
|
echo yes
|
||||||
SENDNOTICE "${vHOSTiDRACIP} Fan Issue" "Workaround commands sent to set the Fans at 30%" 1
|
SENDNOTICE "${PW_HOST_IDRACS[${SENSORa}]} Fan Issue" "Workaround commands sent to set the Fans at 30(percent)" 1
|
||||||
ssh root@${PW_RACADM_ACCESS} "ipmitool -I lanplus -H ${vHOSTiDRACIP} -U ${PW_ESXI_USER} -P '${PW_ESXI_PASS}' raw 0x30 0x30 0x01 0x00"
|
ssh root@${PW_RACADM_ACCESS} "ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P '${PW_ESXI_PASS}' raw 0x30 0x30 0x01 0x00"
|
||||||
ssh root@${PW_RACADM_ACCESS} "ipmitool -I lanplus -H ${vHOSTiDRACIP} -U ${PW_ESXI_USER} -P '${PW_ESXI_PASS}' raw 0x30 0x30 0x02 0xff 0x1E"
|
ssh root@${PW_RACADM_ACCESS} "ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P '${PW_ESXI_PASS}' raw 0x30 0x30 0x02 0xff 0x1E"
|
||||||
else
|
else
|
||||||
echo no
|
echo no
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user