Update dsmon.sh

This commit is contained in:
2025-06-14 15:19:30 -05:00
parent 1963bb4d04
commit e037e8049d

View File

@@ -223,9 +223,9 @@ RUN_CHECK(){
MSG2="${host_ip[$hostid]} "
c=0; cw=65; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
c=0; cw2=20; spcB=''; spc1=`expr ${cw2} - ${#MSG2}`; until [ $c = ${spc1} ]; do spcB="${spcB} "; c=`expr $c + 1`; done
DIVIDER 1 . ${cw}
DIVIDER 1 . 85
echo -e "${idsBG[Blue]}${idsCL[White]}${MSG}${spc}${MSG2}${spcB}${idsST[Reset]}"
DIVIDER . . ${cw}
DIVIDER . . 85
checkhost=$(CHECK_HOST ${host_ip[$hostid]})
if [ "${checkhost}" != "false" ]; then