Ad Widget

Collapse

Slack integration: Slack notification failed : channel_not_found in zabbix 5.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devops21
    Junior Member
    • Sep 2021
    • 1

    #1

    Slack integration: Slack notification failed : channel_not_found in zabbix 5.2

    Hi everyone,

    I faced a problem when trying to integrate slack with zabbix. I use Zabbix 5.2 and whenever I try to test notifications via slack webhook, it throws an error like channel_not_found. I followed an official tutorial, checked the solutions offered in other discussions like editing code for getPermalink function, setting global macros, also watched Sean's video on YouTube and tried to use media_slack.yaml for 5.4.
    Unfortunately none of the suggested solutions work for me.

    In addition, I get "zabbix url must contain a schema" which is not clear to me.

    I would appreciate some advice.
  • SideSh0wWilly
    Junior Member
    • Feb 2023
    • 3

    #2
    I had to put the actual url of my Zabbix server in the zabbix_url place holder. So mine reads http://192.168.0.0/zabbix. I get the schema error when I use https instead of http. Still working on the not in channel message.

    Comment

    • SideSh0wWilly
      Junior Member
      • Feb 2023
      • 3

      #3
      I fixed this. Turns out when you test you need to supply a channel name... Who would have know... I guess its a case of RTFM....
      Click image for larger version

Name:	image.png
Views:	951
Size:	30.8 KB
ID:	462001

      Comment

      Working...