diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d6381d76..78725aeb 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -719,14 +719,14 @@ DOWNLIST(){ echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" DIVIDER false yellow 95 if [ "${1}" != "ignore" ]; then - echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}" + echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}" else - echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" + echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" fi DIVIDER false yellow 95 until [ "${choice^^}" = "D" ]; do - cw=30; cw2=65; is=1; + cw=40; cw2=30; is=1; for downitem in ${DOWNLIST[@]}; do ditem=${downitem##*/} ditem=${ditem//.down} @@ -753,7 +753,7 @@ DOWNLIST(){ c=0; spc=''; spc1=${cw}-${#itemname} #echo "HERE: $downitem ~ $ditem ~ $host ~ $item ~ $itemname ~ $spc1" until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done - c=0; spc2=''; spc1=${cw2}-${#itemname}-${#host}-${spc1} + c=0; spc2=''; spc1=${cw2}-${#itemname} until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done if [ "${1}" != "ignore" ]; then