Update nodemgmt-scripts.sh
This commit is contained in:
@@ -162,7 +162,7 @@ case "$1" in
|
|||||||
else SER="${2}"
|
else SER="${2}"
|
||||||
fi
|
fi
|
||||||
if [ $(${NCMD} pgrep ${srvc} | wc -l) -lt "1" ]; then
|
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
|
fi
|
||||||
done
|
done
|
||||||
nid=`expr $nid + 1`
|
nid=`expr $nid + 1`
|
||||||
|
|||||||
Reference in New Issue
Block a user