Update nodemgmt-scripts.sh

This commit is contained in:
2023-05-23 21:28:59 -05:00
parent 03e2cf0129
commit 735d50defc

View File

@@ -1066,9 +1066,9 @@ DOWNLIST(){
echo -e "${idsCL[LightCyan]}Nothing is down${idsCL[Default]}"
else
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
DIVIDER false yellow
DIVIDER false yellow 80
echo -e "Service/Host Host Down_Time"
DIVIDER false yellow
DIVIDER false yellow 80
cw=40; cw2=58
for downitem in ${DOWN_LIST}; do
@@ -1102,7 +1102,7 @@ DOWNLIST(){
spc1=${cw2}-${#itemname}-${#host}-${spc1}
until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
echo -e "${idsST[Bold]}${idsCL[Red]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
DIVIDER false darkGray
DIVIDER false darkGray 80
done
fi
echo