@ -39,6 +39,7 @@ for var in SERVER LOGIN PASSWORD; do
fi
done
IP_HOST=$(hostname -I | cut -d' ' -f1)
exname=${0##*/}
channels=()
@ -125,6 +126,7 @@ curl_opts=(
title="[$(hostname)] $title"
title="${title%%+([[:space:]])}"
curl_opts+=(-H "Title: $title")
curl_opts+=(-H "Tags: $IP_HOST")
declare -A sent_topic=()