From 69141afdddd9fd408663364a1da72901a49e568f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 30 Jan 2019 00:10:22 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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