[ZBX-19161] Slack integration - Created: 2021 Mar 24  Updated: 2024 Apr 10  Resolved: 2021 May 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 5.2.4
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Nikita Rukavkov Assignee: Tikhon Uskov (Inactive)
Resolution: Duplicate Votes: 0
Labels: mediatypes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-03-24 at 11.32.21.png    
Issue Links:
Duplicate
duplicates ZBX-18673 Slack Webhook from Templates - Throws... Closed
Team: Team INT
Sprint: Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)

 Description   

Steps to reproduce:

  1. Generate a new App in Slack and get OAuth token starting with xoxb-*****
  2. Add the App to your company in slack, and then add the app to some channel. 
  3. Follow media types in Zabbix and set OAuth token to the slack integration
  4. Test media type. 

Result:

Error in UI: Slack notification failed : invalid_auth (see screenshot). But getting a message in slack.

Also, I'm getting 3 messages from a real trigger in Slack. I guess Zabbix tries to send 3 times because it gets an error and try to send again and again.

Expected:
Success test and one message in slack about problem. 



 Comments   
Comment by Tikhon Uskov (Inactive) [ 2021 Apr 09 ]

fixed in ZBX-18673

Comment by Alex Mur [ 2021 May 13 ]

I had same problem. Importing media from media_slack.yaml works for me.

Comment by Nikita Rukavkov [ 2021 May 13 ]

Thank you. Appreciate your solution.

Generated at Fri May 02 07:07:26 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.