The Send to field can contain several variants of values: To receive notifications in Slack, you need to create a Zabbix user and add Media with the Slack type. Click the Update button to save the Webhook settings.ĥ. Recovery and update messages from Zabbix will be posted as new messagesĤ.Recovery message from Zabbix will update initial message.Update messages will be attached as replies to Slack message thread.You can also choose between two notification modes:.Open the added Slack media type and set bot_token to the previously created token. In the Administration > Media types section, import the media_slack.yamlģ. Before setting up the Webhook, you need to setup the global macro, which must contain the URL to the Zabbix frontend.Ģ. ![]() Zabbix Webhook configuration Create a global macroġ. Press Allow and copy Bot User OAuth Access Token, which will be used to set up webhook. In the Settings section on the left side of the page press Install App and then Install to Workspace.ĥ. ![]() In the Scopes section, find Bot Token Scopes, press Add an OAuth Scope and add chat:write, im:write and groups:write scopes.Ĥ. In the Add features and functionality section, select Bots and press Review Scopes to Add.ģ. ![]() On the page Your Apps press Create an App, select From scratch and specify its name and workspace.Ģ. This guide will provide instructions on setting up a media type, a user and an action in Zabbix. This guide describes how to integrate your Zabbix 6.2 and higher installation with Slack using the Zabbix webhook feature.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |