diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a4c0304c..709cb39f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -198,6 +198,9 @@ STATUS(){ mysqlgo=true fi # echo "mysqlgo=${mysqlgo}" + + echo "H: '${srvctst[$sr]}' - '$nip' - '$srvc' - '${mysqlgo}'" + if [ "${srvctst[$sr]}" != "active" ] && [ "${mysqlgo}" != "true" ]; then if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"