diff --git a/dsmon.sh b/dsmon.sh index 157519d..246ece4 100755 --- a/dsmon.sh +++ b/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}]})