Excellent. I customised my script a bit, so you can split the title and body with ^^^ in the alarm notification:#!/bin/bash
title=$1
shift
while (( $# )); do
if [[ $1 == '^^^' ]]; then
shift
break
fi
title="$title $1"
shift
done
request_body=$(cat <
{
"title": "$title",
"text" : "$*"
}
EOF
)
/usr/bin/curl -H "Content-Type: application/json" -d "$request_body" https://outlook.office.com/webhook/