Update nodemgmt-scripts.sh
This commit is contained in:
@@ -633,14 +633,15 @@ DOWNLIST(){
|
||||
fi
|
||||
|
||||
else
|
||||
[ "${1}" == "report" ] && dlen=90 || dlen=110
|
||||
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
|
||||
DIVIDER false yellow 110
|
||||
DIVIDER false yellow ${dlen}
|
||||
if [ "${1}" == "report" ]; then
|
||||
echo -e "${idsCL[Yellow]}[Type] [Host/Service/Docker Name] [Host] [Down_Time]${idsCL[Default]}"
|
||||
else
|
||||
echo -e "${idsCL[Yellow]} [Type] [Host/Service/Docker Name] [Host] [Down_Time] [Notifications]${idsCL[Default]}"
|
||||
fi
|
||||
DIVIDER false yellow 110
|
||||
DIVIDER false yellow ${dlen}
|
||||
|
||||
until [ "${choice^^}" = "E" ]; do
|
||||
cw=35; cw1=11; cw2=20; is=1;
|
||||
@@ -699,7 +700,7 @@ DOWNLIST(){
|
||||
echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemtype}${spca}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
|
||||
fi
|
||||
|
||||
DIVIDER false darkGray 110
|
||||
DIVIDER false darkGray ${dlen}
|
||||
((is++))
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user