Update nodemgmt-scripts.sh

This commit is contained in:
2021-06-27 15:06:52 -05:00
parent 4977e5ccdc
commit 793036a89b

View File

@@ -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=''