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