Update nodemgmt-scripts.sh
This commit is contained in:
@@ -79,7 +79,6 @@ STATUS() {
|
||||
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}iDS-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} ${LH}${idsCL[Default]}"
|
||||
DIVIDER false green
|
||||
checkhost=$(CHECK_HOST ${nip})
|
||||
#echo "checkhost: ${checkhost}"
|
||||
if [ "${checkhost}" != "false" ]; then
|
||||
for srvc in "${NODE_SERVICES[@]}"
|
||||
do
|
||||
@@ -96,7 +95,7 @@ STATUS() {
|
||||
fi
|
||||
done
|
||||
else
|
||||
echo -e "${idsCL[Red]}Node is Down! ${checkhost}${idsCL[Default]}"
|
||||
echo -e "${idsCL[Red]}Node is Down!${idsCL[Default]}"
|
||||
fi
|
||||
echo
|
||||
nid=`expr $nid + 1`
|
||||
|
||||
Reference in New Issue
Block a user