From a6d39f633fc3f0c2ab4d8c8c97dbc41d5df122cc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Jul 2025 21:48:03 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}]})