Some of you raised the question of making Microsoft Teams notifications compatible with workflows due to that change (MS Teams notifications to the new Teams Workflow?) – and we listened, adapting the script accordingly.
This means that with the next release the connectors will not be available anymore.
To make MS Teams notifications work with the workflows, within the MS Teams:
Click the 3 dots on a channel and select “Workflows”
Choose “Post to a channel when a webhook request is received”
Choose name for the workflow, e.g. “Checkmk”
Select team and channel where the webhook should post to
Which version are you using? There had been a known bug in p13 that we fixed in p14 – also had to do with adaptive card, although the error was different, if I remember correctly.
Unfortunately, I cannot really help with anything besides this information but I would suggest to ask in the troubleshooting category – other community members who use the feature might know more about this specific error.
Hi, I am running a new install of cmk raw 2.3.0p18 and trying to use Teams notifications via webhook. I have followed this KB Article exactly, even the test script is working perfectly, however when I run “Test Notifications” in cmk, it is not working. I do not see any card/message or anything in the Run history log either.
1.What do you see in the $OMD_ROOTvar/log/notify.log ?
2. Can you also try Send Custom notifications or Fake check results?
3. No local copy of msteams ?
If Distributed setup then this needs to be done on the respective site.
Thank you for your reply. The notify.log is showing the notification generated from the test process.
The Fake Check is working perfectly with notifications appearing in Teams. Thank you for suggesting that.
My assumption is that the “Test Notification” function is not properly formatting the adaptive card for teams. I AM seeing 1 resulting notification in the test page for MS Teams
What do you mean by local copy of MS Teams?
I do not believe I’m using a distributed setup. It’s just 1 cmk server and 1 monitored host using the agent.
Since fake check results are working, my problem is solved.
sending out a test notification currently only works for HTML mails and ASCII mails. We are working on supporting the other methods, but right now it is not the case!
I will update as soon as I can tell you more about the timeline
Thank you! I had tried to follow the other guide without success. This worked great, so thanks!
The only difference was that I couldn’t find the specific workflow listed, but I used “Post to a chat when a webhook request is received” and was successful.