Update powerwall.sh
This commit is contained in:
@@ -676,6 +676,10 @@ CHECKPOWER(){
|
||||
hostpower="${idsCL[Green]}${watts}'W"
|
||||
fi
|
||||
echo -e "${idsCL[LightCyan]}${PW_iDRACHOST_SHORTNAMES[${host}]} ${idsCL[Default]}: ${hostpower}${idsCL[Default]}"
|
||||
|
||||
HOST_WATTS=$(snmpwalk -v 1 -c public ${host} iso.3.6.1.4.1.674.10892.5.4.600.30.1.6.1. | sed 's/.*: //')
|
||||
echo -e "${idsCL[LightCyan]}${PW_iDRACHOST_SHORTNAMES[${host}]} SNMP ${idsCL[Default]}: ${HOST_WATTS}${idsCL[Default]}"
|
||||
|
||||
mv ${hostfile} ${hostfile}.done
|
||||
|
||||
elif [ "${host}" == "done" ]; then
|
||||
|
||||
Reference in New Issue
Block a user