In this article, the screenshots and the GUI navigation described are not yet updated to Checkmk version 2.0.0. However, nothing fundamental has changed in the described functions themselves and most of the functions can be found quickly with the Monitor or Setup menu search of the Checkmk 2.0.0 user interface. We will update this article as soon as possible.
Mattermost is the self-hosted open source alternative to Slack, which can also be provided with notifications via Webhook.
If you have just set up the Mattermost server, webhooks will already be active. However you can also enable them later in the Mattermost System Console — i.e. the server’s administration interface — under Integrations > Integration Management.
Another prerequisite is that you have at least one group — otherwise you will not be able to access the Web Client View at all. Proceed as follows:
In the group view, open Integrations from the main menu.
Create a new webhook via Incoming Webhooks > Add Incoming Webhook.
Enter a name and description as required, and select the channel for the postings with the notifications.
With these actions the webhook URL will be generated — copy this URL for use in the next step.
2. Configuration in Checkmk
As with Slack, an activation in Checkmk only requires the webhook URL:
For the Notification Method select Slack or Mattermost.
Enter (insert) the copied webhook URL.
Optionally, you may specify URL prefixes to control links on your Checkmk GUI within the notification. Instead of specifying the webhook URL directly here, you can also use WATO’s password store and read the URL from one of its entries.
For testing you can use the Fake check results and Custom notification commands.