Update dsmon.sh
This commit is contained in:
4
dsmon.sh
4
dsmon.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user