Hi,
I've been trying to get Slack notifications from Zabbix working by a couple of methods, with varying success.
1) Zabbix Notify - https://github.com/v-zhuravlev/zabbix-notify
This I had all set up as per the instructions, and I can get it to send a test notification into the alerts channel. However, it wouldn't send anything automatically.
2) The official "Slack Webhook" - https://www.zabbix.com/integrations/slack
(after renaming the previous 'Slack' media type from option #1) I managed to get this set up as far as possible according to the instructions.
However, they're a bit out of date - adding a 'bot user' doesn't exist any longer as described, instead, that stage in the process asks you what API scopes you want to give your bot, which if you've not tried to do this with Slack before, is going to be a bit of a lucky dip.
Having previously spent some time shouting at Slack when writing a script to automate the inviting of users, I'ver added "chat:write" to both the bot and user scopes as it seemed like the most relevant, but I'm not 100% sure if that's what is required in this case...
Does anyone know / can point me to what I need to get this working as it should be? or where in Zabbix to find what it's actually sending as the webhook content?..
Thanks,
Sean
I've been trying to get Slack notifications from Zabbix working by a couple of methods, with varying success.
1) Zabbix Notify - https://github.com/v-zhuravlev/zabbix-notify
This I had all set up as per the instructions, and I can get it to send a test notification into the alerts channel. However, it wouldn't send anything automatically.
2) The official "Slack Webhook" - https://www.zabbix.com/integrations/slack
(after renaming the previous 'Slack' media type from option #1) I managed to get this set up as far as possible according to the instructions.
However, they're a bit out of date - adding a 'bot user' doesn't exist any longer as described, instead, that stage in the process asks you what API scopes you want to give your bot, which if you've not tried to do this with Slack before, is going to be a bit of a lucky dip.
Having previously spent some time shouting at Slack when writing a script to automate the inviting of users, I'ver added "chat:write" to both the bot and user scopes as it seemed like the most relevant, but I'm not 100% sure if that's what is required in this case...
Does anyone know / can point me to what I need to get this working as it should be? or where in Zabbix to find what it's actually sending as the webhook content?..
Thanks,
Sean
Comment