Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-09 10:35:57 -06:00
parent 37a70f2912
commit 3da406fdb5

View File

@@ -721,7 +721,7 @@ DOWNLIST(){
if [ "${1}" != "ignore" ]; then
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
@@ -768,7 +768,7 @@ DOWNLIST(){
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}ON"
time=$(SHOW_TIME ${toterrtime})
c=0; spc3=''
until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done
until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; ((c++)); done
echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
fi