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

Slack Webhook from Templates - Throws Errors

    XMLWordPrintable

    Details

    • Type: Documentation task
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 18, Zabbix Server 5.2.0

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            zabbix.dev Zabbix Development Team
            Reporter:
            Xponet Cory White
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: