Teams is Microsoft’s chat and video conferencing solution. In the business variant, you can create channels for your teams and receive notifications from Checkmk in these. The connection to Teams is made via a webhook.
2. Configuring Teams
In Teams you only need to create a webhook:
Enter the desired channel.
Open the three-dot menu in the upper right corner and select Connectors.
Add an Incoming Webhook.
Open the menu again and click Configure for Incoming Webhook.
Copy the generated URL.
3. Configuration in Checkmk
You have already learned how to set up Checkmk notifications in general in the article on notifications.
As a reminder:
You can not only specify individual users and contact groups as recipients of the notifications. Instead, you can also define a ticket system or an event engine as the target of the notifications, for example. However, you must then take two factors into account when creating the notification rules:
Only a single user may be entered as a contact, i.e. neither a contact group nor an object contact, otherwise several notifications will be sent to the target system for each event.
If the first point is fulfilled, but this user is used in several notification rules that are of the same type (e.g. ServiceNow), then only the last rule applies in each case. It is therefore advisable to create a separate functional user for each of these notification rules.
In Checkmk it is now sufficient to specify the webhook URL copied above:
For the Notification Method choose Microsoft Teams.
Enter/paste the copied URL under Webhook URL:
For testing you can use the Fake check results and Custom notification commands.