Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-29 15:46:44 -06:00
parent 00784c8241
commit 2dd8fea36d

View File

@@ -162,7 +162,7 @@ case "$1" in
else SER="${2}"
fi
if [ $(${NCMD} pgrep ${srvc} | wc -l) -lt "1" ]; then
echo "${SER} is down" | mail -s "iDS-Node${nid}-${nip}" 9208839613@vtext.com
echo "${SER} is down" | mail -s "iDS-Node${nid}-${nip}" alerts2external@schroedercity.com
fi
done
nid=`expr $nid + 1`