check-disc-usage.sh: change subject of warn message.

This commit is contained in:
Christoph 2024-12-16 22:12:02 +01:00
parent 8914e5ba25
commit 051e8dc948

View File

@ -400,7 +400,7 @@ if $found ; then
fi # if $(which lxc-ls > /dev/null) fi # if $(which lxc-ls > /dev/null)
SUBJECT="[ Warning ] Hard disk storage on $(hostname -f) exceeds ${WARN_VALUE}%" SUBJECT="[ Warning ] Hard disk usage (${_percent}) on $(hostname -f) exceeds ${WARN_VALUE}%"
SUBJECT_UTF8="$(echo "${SUBJECT}" | iconv -t UTF8)" SUBJECT_UTF8="$(echo "${SUBJECT}" | iconv -t UTF8)"
SUBJECT_UTF8_ENCODED="=?utf-8?B?$(echo ${SUBJECT_UTF8} | base64 --wrap=0)?=" SUBJECT_UTF8_ENCODED="=?utf-8?B?$(echo ${SUBJECT_UTF8} | base64 --wrap=0)?="