diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9e2c3507..f4a1ac65 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -157,9 +157,9 @@ STATUS(){ var2=${NTYPE}_SERVICES_CHECK[@] for srvc in "${!var2}"; do NOGOCHK=true - # if [ "${nip}" = "10.5.10.122" ] && [ ${srvc} = "gitea" ]; then - # NOGOCHK=false - # fi + if [ "${nip}" = "10.5.10.122" ] && [ ${srvc} = "gitea" ] && [ ! -f ${FOLDER}/10.5.10.121.down ]; then + NOGOCHK=false + fi if [ ${NOGOCHK} = true ]; then if [ "${ST_ACTION}" != "check" ]; then c=0; cw=22; spc=''