commit 74c95118d3fea1c7e7e64e07bbc07478ddaab723 from: mischa date: Wed May 15 18:53:09 2024 UTC change source/dest commit - 4353ba4d86894af8c17d18b4a9c280ca08e4c6b4 commit + 74c95118d3fea1c7e7e64e07bbc07478ddaab723 blob - 96bb48d1c82a6f592a0c875853086ceb76d71260 blob + 42a2b9945fb4188b48c60d65c440bd02bdcd996b --- cpu.sh +++ 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