Update dsmon.sh
This commit is contained in:
5
dsmon.sh
5
dsmon.sh
@@ -227,6 +227,8 @@ RUN_CHECK(){
|
||||
touch /tmp/dscheck.${hostname}.running
|
||||
hostid=${host_ids[$hostname]}
|
||||
|
||||
echo "HERE: ${hostname}-${hostid} = ${host_ip[$hostid]}"
|
||||
|
||||
|
||||
MSG=" ${host_name[$hostid]}"
|
||||
MSG2="[ ${host_name_full[$hostid]} ]"
|
||||
@@ -238,8 +240,7 @@ RUN_CHECK(){
|
||||
echo -e "${idsST[Bold]}${idsBG[Blue]}${idsCL[White]}${MSG}${spcA}${MSG2}${spcB}${MSG3}${idsST[Reset]}"
|
||||
DIVIDER . . 85
|
||||
|
||||
# checkhost=$(CHECK_HOST ${host_ip[$hostid]})
|
||||
checkhost=true
|
||||
checkhost=$(CHECK_HOST ${host_ip[$hostid]})
|
||||
if [ "${checkhost}" != "false" ]; then
|
||||
declare -A host_limits_tmp
|
||||
hostlimits=(${host_limits[${hostid}]})
|
||||
|
||||
Reference in New Issue
Block a user