From e78dbd495d72a87d594fae05b0f24065248969fd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 12 Jan 2024 19:30:27 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index d90a4057..732c1a1c 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -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')