EVENT_TXT macro is missing from Teams Notification

CMK version: Enterprise 2.4.0p5
OS version: SUSE Linux Enterprise Server 15 SP7 x86_64

Error: Notifications received via Microsoft Teams produce an empty field for “Event.” Notifications via email correctly provide the event text, such as “Stopped Flapping (while UP)”.

Same behavior as in https://forum.checkmk.com/t/microsoft-teams-notifications-empty-event/40537

I’ve tried to debug via Power Automate and the hook doesn’t have in EVENT_TXT input or output.

Please advise.

Anybody? This is kinda urgent because I am having a lot of flapping alerts and Teams is the most important notification tool for me.

You can work with
Event: $PREVIOUSSERVICEHARDSTATE$ → $SERVICESHORTSTATE$
insted of
Event: $EVENT_TXT$
in the Details for service notifications.

If you hit “Notification context” in the Notification Analysis you find more Macros you can use to enhance the Notification, and adjust the details according to your needs.
Hope that helps.

This issue will be checked by development. Either changing the default settings or to fix this

I’ve noticed that even in the Knowledge Base for creating Teams Notification the Event is missing from the screenshot that was given as an example.

I’ll try this.
Thank you, @mhf

The Event : $PREVIOUSSERVICEHARDSTATE$ → $SERVICESHORTSTATE$ doesn’t work also

Fixed with Event: $NOTIFICATIONTYPE$: $PREVIOUSHOSTHARDSTATE$ → $HOSTSTATE$