From 5720deba4da74e25b2f98eeed499bcad90f0a7e7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 20 Nov 2024 15:52:04 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 6d86de68..8692e537 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -480,7 +480,6 @@ STATUS_NODE(){ checkhost=true checkhostssl=ok fi - echo "HERE: ${NCMD}" if [ "${checkhost}" != "false" ] && [ "${checkhostssl}" == "ok" ]; then [ "${NODETYPE}" != "OFW" ] && cpu_usage=$(${NCMD} "/opt/idssys/defaults/get-data.sh cpu-usage") || cpu_usage="" if [ "${cpu_usage}" != "" ]; then @@ -564,6 +563,7 @@ STATUS_NODE(){ srvcs=${NODETYPE}_SERVICES_CHECK[@]; srvcstotest="$(join_by " " ${!srvcs})" [ "${NODETYPE}" != "OFW" ] && srvctst=(`${NCMD} "systemctl is-active ${srvcstotest}"`) + echo "HERE: systemctl is-active ${srvcstotest} = ${srvctst}" sr=0 for srvc in "${!srvcs}"; do if [ "${STATUS_ACTION}" != "report" ]; then