You can create a cronjob that runs a bash script which checks if something is over a certain temperature and calls back to a slack webhook:
#! /bin/bash
# ©locknessKo 2022
# Slack incoming webhook URL
slack_url=https://hooks.slack.com/services/xxx/xxx/xxx
# Threshold for when to send alert...