Update nodemgmt-scripts.sh
This commit is contained in:
@@ -143,7 +143,7 @@ case "$1" in
|
||||
for srvc in "${LOCAL_SERVICES[@]}"
|
||||
do
|
||||
if [ $(${NCMD} pgrep ${srvc} | wc -l) -lt "1" ]; then
|
||||
echo "${NM_SERVICES[${srvc}]} is down" | mail -s "iDS-Node${nid}-${lip}" ${STATUS_CHECK_EMAIL}
|
||||
echo "${NM_SERVICES[${srvc}]} is down" | mail -s "${NODE_HOSTNAME}-${lip}" ${STATUS_CHECK_EMAIL}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user