Checkmk
to checkmk.com

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.

1. Configuring Microsoft Teams

In Teams you need to create a workflow for a webhook request:

  1. Enter the desired channel.

  2. In the menu bar of this channel, open the three dots menu and select Workflows.

  3. Search for Post to a channel when a webhook request is received and open the workflow.

  4. Next, you need to give this workflow a name.

  5. Finally, select the chat to which you want to post.

  6. On the next page you should see the URL of the new webhook. Copy this URL so that you can paste it into Checkmk in the next step.

The description above is somewhat vague. This is due to the fact, that the actual way you have to click, might differ in your particular version of MS Teams. Whenever major changes occur, we try to update the information in a timely fashion.

2. Configuring Checkmk

You have already learned how to set up Checkmk notifications in general in the article on notifications.

In Checkmk it is now sufficient to specify the URL copied above:

  1. Create a new notification rule with Setup > Events > Notifications > Add rule.

  2. For the Notification Method choose Microsoft Teams.

  3. Enter the copied URL under Webhook URL:

    The notification method settings for Microsoft Teams.

    Instead of entering the URL directly here, you can also read it from the password store - provided it was previously stored there.

When using the following Contact selection box, note the following two points:

  1. When selecting contacts, make sure that the notifications are only sent to one contact, e.g. by selecting a single user. With the notification methods for ticket systems etc., the contact selection only serves to specify that notifications are sent. However, the notifications are not sent to the selected user, but to the ticket system. Note that a contact selection via contact groups, all contacts of an object or similar usually generates several identical notifications for an event, which then end up in the ticket system twice, three times or even more often.

  2. If the first point is fulfilled, but the user is used in several notification rules for the same method, 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.

You can find out how to test the new notification method in the article on notifications.

On this page