This commit is contained in:
voltron committed 2019-02-07 14:12:33 -06:00
1 parent c89f14a9bd
commit a8ed2fbd67
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ CERT-CHECK(){
}
CHECK_HOST(){
echo $1
if [ -z ${1+x} ]; then
ping -c 3 ${1} > /dev/null 2>&1
if [ $? -ne 0 ]; then
+1 -1
View File
@@ -93,7 +93,7 @@ STATUS() {
fi
done
else
echo -e "${idsCL[Red]}Node is Down!${idsCL[Default]}"
echo -e "${idsCL[Red]}Node is Down! $(CHECK_HOST ${nip})${idsCL[Default]}"
fi
echo
nid=`expr $nid + 1`