diff --git a/psi-alerts.sh b/psi-alerts.sh index e657543..12f7c0b 100755 --- a/psi-alerts.sh +++ b/psi-alerts.sh @@ -135,6 +135,7 @@ send () { local subj printf "Pressure Stall Information for ${host} triggered on ${psi_type} at $(date +'%FT%T %Z')\n\n" > ${email} if [[ -n "${current_alarms}" ]]; then + current_alarms="${current_alarms}|${psi_type}" subj="PSI on ${host} ${current_alarms} triggered!" printf "Multiple alarms triggered: ${current_alarms}\n\n" >> ${email} else