Send alerts to Microsoft Teams!
I made this small script because the integration of MS Teams is still waiting > influxdata/kapacitor#1965
- Curl (https://curl.haxx.se/)
- JQ (https://stedolan.github.io/jq/)
- Install cURL & jq
apt install jq curl-
Copy the script to /etc/kapacitor/scripts
-
If needed, make it executable
chmod +x /etc/kapacitor/scripts/sendTeamsNotification.sh- Modify the script and set your own webHook URL
webhook="https://outlook.office.com/webhook/XXXXXXXXXXXXXXXX/IncomingWebhook/XXXXXXXXXXXXXXXXXX"- On Kapacitor, configure the exec function with the full path of the script eg
.exec('/etc/kapacitor/scripts/sendTeamsNotification.sh')- Go !
UpperM - @uppperm
