
Announcements
Teams group doesn't provide a webhook URL. Therefore, I have taken the following steps. I added a custom script into the Nagios configuration file. Below shows the script.
I also added some keywords to the script, so if the alert contains those keywords, it automatically triggers and sends a JSON string format message via webhook URL to Teams chat.
I have successfully completed that part, and below is the generated Teams message.
My question is, how do I automatically push those messages from the Teams channel to a Teams group in the correct format? I tried to do it using power automate, It generated a totally different output.