From 445f608a7f8f0901401ce5de8a08eceddd2f8ae1 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 27 Aug 2024 19:45:00 -0500 Subject: [PATCH] Update status.inc --- inc/status.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 140436f4..68e081b3 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -764,7 +764,9 @@ STATUS_NODE(){ [ "${STATUS_ACTION}" != "check" ] && echo -en "\033[K\r ${idsST[Bold]}${idsCL[LightRed]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}" rm -f ${NM_TMPFOLDER}/${nip}~* if [ ! -f ${NM_TMPFOLDER}/${nip}.down ]; then - touch ${NM_TMPFOLDER}/${nip}.down + if [ ! -f ${NM_TMPFOLDER}/${nip}.disable ] && ([[ "${nip}" != *"10.2."* ]] || ([[ "${nip}" = *"10.2."* ]] && [ ! -f ${PW_TMPFOLDER}/OFF-vMS-Host1.down ])); then + touch ${NM_TMPFOLDER}/${nip}.down + fi if [ "${STATUS_ACTION}" != "check" ]; then if [ "${checkhost}" != "false" ]; then echo -e "${idsCL[Red]} - Node is online, but SSH is down!${idsCL[Default]}"