Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18673

Slack Webhook from Templates - Throws Errors

XMLWordPrintable

    • Team INT
    • Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)
    • 1

      Steps to reproduce:

      1. Installed git templates for media type Slack Webhook
      2. Created App in Slack Workspace for Zabbix-Alerts (README needs updating as scope/OAuth is how tokens are defined now in slack, not bots)
      3. When testing media type caught error described in forums (here|https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/413170-slack-webhook-in-zabbix]
      4. Same scenario updated Zabbix.Log in script ('L') gives the HttpRequest() error
      5. JS code error call is in the handling after zabbix_url verification - line 386. Changing function call to CurlHttp simply breaks the addHeader, etc down the line

      Result:
      See default template error......

      **

      See Zabbix.Log modified error......

      Expected:
      Slack Notification to Test through properly as indicated in 5.0.0 release

        1. debian20_5.2.1_Slack_YAML_Download.PNG
          38 kB
          Aleksandrs Pahomovs
        2. debian20_5.2.1_Slack_YAML_Uploaded.PNG
          67 kB
          Aleksandrs Pahomovs
        3. image-2020-11-20-16-18-13-023.png
          14 kB
          Jaroslav Safranek
        4. image-2020-11-30-14-41-52-950.png
          49 kB
          Aleksandrs Pahomovs
        5. image-2020-11-30-14-43-06-318.png
          71 kB
          Aleksandrs Pahomovs
        6. image-2020-11-30-14-47-56-674.png
          91 kB
          Aleksandrs Pahomovs
        7. Screen Shot 2020-11-18 at 2.42.18 PM.png
          60 kB
          Cory White
        8. Screen Shot 2020-11-18 at 2.44.40 PM.png
          55 kB
          Cory White
        9. Screen Shot 2020-11-18 at 2.48.06 PM.png
          56 kB
          Cory White
        10. Screen Shot 2020-11-20 at 11.58.43 AM.png
          152 kB
          Cory White
        11. slack_app.PNG
          40 kB
          Aleksandrs Pahomovs

            tuskov Tikhon Uskov (Inactive)
            Xponet Cory White
            Team INT
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: