Error message:
We’re sorry, this card couldn’t be displayed
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
Hi,
just upgraded to 2.3.0p13.cre, existing MS teams notifications via workflows stopped working. Flipped back to older version p11, messages are coming through fine now. Also on p13, old webhook url is working fine. Messages have less whitespace.
Reverted back to p11, p13 MS Teams notifications are not working. Workflow configuration as per instructions mentioned by sara (same configuration used with p11)
The linked setup instructions do not help here. We’re getting the same error “We’re sorry, this card couldn’t be displayed” and therefore no more notifications with v2.3.0p13cee
Websearch says it is something about the “adaptive card schema version”
Yesterday I was only able to share the answer to the second question about the description of the changes, unfortunately.
Currently we found the change that caused the initial issue and it will be reverted in the next patch – or it is also possible to manually edit the notification script.
As soon as I know more I, or my colleagues, will share the information here.
Hi!
There is a manual edit of the script, if you would not like to wait for the next patch release. Please use at your own risk!
Until the release:
mkdir ~/local/lib/python3/cmk/notifications_custom cp ~/lib/python3/cmk/notification_plugins/msteams.py ~/local/lib/python3/cmk/notifications_custom/ sed -i 's/"version": "1.5"/"version": "1.3"/' ~/local/lib/python3/cmk/notifications_custom/msteams.py cp ~/share/check_mk/notifications/msteams ~/local/share/check_mk/notifications/ sed -i 's/Microsoft Teams/Microsoft Teams (custom)/;s/notification_plugins/notifications_custom/' ~/local/share/check_mk/notifications/msteams
After the patch release is released, do not forget to delete the custom files:
rm ~/local/share/check_mk/notifications/msteams
Either removing the entire notifications_custom folder rm -rf ~/local/lib/python3/cmk/notifications_custom
Or just the MS Teams script if you have other scripts in that folder rm ~/local/lib/python3/cmk/notifications_custom/msteams.py