diff --git a/defaults.inc b/defaults.inc index f439b247..e1df37eb 100755 --- a/defaults.inc +++ b/defaults.inc @@ -145,7 +145,8 @@ else done done fi -echo "HERE: RUN_NODE_TYPE=$RUN_NODE_TYPE RUN_NODE_IP=$RUN_NODE_IP RUN_NODE_TSIP=$RUN_NODE_TSIP (RNIP=$RNIP TSI=$TSI)" +# echo "HERE: RUN_NODE_TYPE=$RUN_NODE_TYPE RUN_NODE_IP=$RUN_NODE_IP RUN_NODE_TSIP=$RUN_NODE_TSIP (RNIP=$RNIP TSI=$TSI)" + [ "${NM_REPL_NGINX_PATHS}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && NM_NGINXPATH=${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]} || NM_NGINXPATH=/etc/nginx if [ "${NM_CERTPATHS}" != "" ]; then if [ "${NM_CERTPATHS[${RUN_NODE_TYPE}]}" != "" ]; then diff --git a/inc/status.inc b/inc/status.inc index 7b30dc60..6d86de68 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -480,6 +480,7 @@ 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