Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 08:42:01 -06:00
parent d80a35a246
commit 9144658ce4

View File

@@ -2302,6 +2302,9 @@ DOWNLIST(){
fi fi
echo echo
if [ "${DOWNLIST}" == "" ]; then
echo -e "${idsCL[LightCyan]}Nothing is down${idsCL[Default]}"
else
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
DIVIDER false yellow DIVIDER false yellow
echo -e "Service/Host Host Down_Time" echo -e "Service/Host Host Down_Time"
@@ -2340,6 +2343,7 @@ DOWNLIST(){
echo -e "${idsST[Bold]}${idsCL[Red]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}" echo -e "${idsST[Bold]}${idsCL[Red]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
DIVIDER false darkGray DIVIDER false darkGray
done done
fi
echo echo
if [ -z $action ] || [ "${action}" = "gui" ]; then if [ -z $action ] || [ "${action}" = "gui" ]; then
DIVIDER true DIVIDER true