Update power.inc.sh
This commit is contained in:
@@ -861,6 +861,7 @@ PDUCONTROL(){
|
||||
echo -e "${idsCL[Yellow]}APC-PDU Power Control"
|
||||
DIVIDER true yellow 75
|
||||
[ "${PORT_SEL}" != "" ] && PORTSEL=${PORT_SEL}
|
||||
echo "HERE: '${PORT_SEL}' - '${PORTSEL}'"
|
||||
if [ "${PORTSEL}" == "" ]; then
|
||||
PORT_DESC=$(snmpwalk -t 1 -r 0 -v 1 -c public ${PW_APCPDU_IP} .1.3.6.1.4.1.318.1.1.12.3.3.1.1.2 -O vq 2> /dev/null | sed -e 's/"//g')
|
||||
PORT_POWER=$(snmpwalk -t 1 -r 0 -v 1 -c public ${PW_APCPDU_IP} .1.3.6.1.4.1.318.1.1.12.3.3.1.1.4 -O vq 2> /dev/null | sed -e 's/"//g')
|
||||
|
||||
Reference in New Issue
Block a user