Update dsmon.sh

This commit is contained in:
2025-06-14 11:50:10 -05:00
parent da8e24a7b7
commit d24873b6cf

View File

@@ -191,9 +191,9 @@ RUN_CHECK(){
MSG=" ${host_name[$hostid]} - (${host_ip[$hostid]})"
c=0; cw=85; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -e "${idsST[Bold]}"; DIVIDER false lightCyan ${cw}
echo -e "${idsBG[Yellow]}${idsCL[White]}${MSG}${spc}${idsST[Reset]}"
DIVIDER false lightCyan ${cw}
echo -e "${idsST[Bold]}"; DIVIDER false blue ${cw}
echo -e "${idsBG[Blue]}${idsCL[White]}${MSG}${spc}${idsST[Reset]}"
DIVIDER false blue ${cw}
checkhost=$(CHECK_HOST ${host_ip[$hostid]})
if [ "${checkhost}" != "false" ]; then