Update status.inc

This commit is contained in:
2026-03-01 16:30:19 -06:00
parent 91b03f6dfd
commit 437c1e6316

View File

@@ -511,6 +511,7 @@ STATUS_NODE(){
DIVIDER . lightYellow ${DV_LEN}; echo -en "${idsST[Reset]}" DIVIDER . lightYellow ${DV_LEN}; echo -en "${idsST[Reset]}"
fi fi
for nip in "${!NTHOSTS}"; do for nip in "${!NTHOSTS}"; do
echo $nip
if [ "${STATUS_ACTION}" != "check" ]; then if [ "${STATUS_ACTION}" != "check" ]; then
echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}" echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}"
[ "${STATUS_ACTION}" != "report" ] && echo -en " - Verifying Host..." [ "${STATUS_ACTION}" != "report" ] && echo -en " - Verifying Host..."
@@ -534,6 +535,7 @@ STATUS_NODE(){
checkhost=true checkhost=true
checkhostssh=ok checkhostssh=ok
fi fi
echo "HERE: '${checkhost}' '${checkhostssh}'"
if [ "${checkhost}" != "false" ] && [ "${checkhostssh}" == "ok" ]; then if [ "${checkhost}" != "false" ] && [ "${checkhostssh}" == "ok" ]; then
if [ ! -f ${STATUSRUN_TMPFOLDER}/.${nip}.up ]; then if [ ! -f ${STATUSRUN_TMPFOLDER}/.${nip}.up ]; then