diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2e7cdfb3..6b985040 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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