diff --git a/cpu.sh b/cpu.sh index 96bb48d..42a2b99 100755 --- a/cpu.sh +++ b/cpu.sh @@ -65,7 +65,7 @@ for VM in ${OUT}; do if [[ $(( ${TIMESTAMP} - ${LASTSEEN} )) -gt $(( 60 * ${TTL} )) ]]; then echo "notify!" /home/mischa/bin/notify.pl cpu ${VM} - echo "${VM} over ${LOAD}% CPU load for ${GRACE} hours" | mail -s "${HOSTNAME} - ${VM} over ${LOAD}% CPU load for ${GRACE} hours" -r mischa@high5.nl mischa@high5.nl + echo "${VM} over ${LOAD}% CPU load for ${GRACE} hours" | mail -s "${HOSTNAME} - ${VM} over ${LOAD}% CPU load for ${GRACE} hours" -r root@obsda.ms cpu@obsda.ms rm -rf /tmp/${VM} fi fi