From f78deaa45b23100ecc3b76b5c33b16fa3170fbb2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Dec 2023 12:34:08 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/status.inc b/inc/status.inc index 72d99fc1..8c435706 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -447,13 +447,13 @@ STATUS_NODE(){ else NCMD="ssh -o ConnectTimeout=3 root@${nip}"; LH='' fi - if [ "${NCMD}" != "" ]; then - checkhost=$(CHECK_HOST ${nip}) - [ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 2>&1) - else + # if [ "${NCMD}" != "" ]; then + # checkhost=$(CHECK_HOST ${nip}) + # [ "${checkhost}" != "false" ] && checkhostssl=$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 2>&1) + # else checkhost=true checkhostssl=ok - fi + # fi # echo "HERE: $checkhost - $checkhostssl" if [ "${checkhost}" != "false" ] && [ "${checkhostssl}" == "ok" ]; then [ "${NODETYPE}" != "OFW" ] && cpu_usage=$(ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${nip} "/opt/idssys/defaults/get-data.sh cpu-usage") || cpu_usage=""