Skip to content

Commit 09789de

Browse files
committed
Add omd site name to output
1 parent 8cd6b7c commit 09789de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_mk_telegram-notify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ else
9292
MESSAGE+="${NOTIFY_HOSTOUTPUT}%0A"
9393
fi
9494
MESSAGE+="%0AIPv4: ${NOTIFY_HOST_ADDRESS_4} %0AIPv6: ${NOTIFY_HOST_ADDRESS_6}%0A"
95-
MESSAGE+="${NOTIFY_SHORTDATETIME}"
95+
MESSAGE+="${NOTIFY_SHORTDATETIME} | ${OMD_SITE}"
9696

9797
# Send message to Telegram bot
9898
curl -S -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" -d chat_id="${CHAT_ID}" -d text="${MESSAGE}"

0 commit comments

Comments
 (0)