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

Discord webhook failing on send

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.4rc1, 5.2.0alpha2, 5.2 (plan)
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
    • Team:
      Team INT
    • Sprint:
      Sprint 67 (Aug 2020)
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      1. Disable remote zabbix agent to trigger host unavailable
      2. Wait for discord webhook message

      Result:
      Nothing gets posted to Discord due to an API version error thrown by the Discord API.

      See this log:
      1214:20200714:201614.317 temporarily disabling Zabbix agent checks on host "server.domain.tld": host unavailable
      1236:20200714:201637.523 [ Discord Webhook ] FAILED with response: {"message": "Invalid API version", "code": 50041}
      1236:20200714:201637.523 [ Discord Webhook ] ERROR: Invalid API version. For more details check zabbix server log.

      See memory dump...
      Expected:
      Discord message from the alert that was generated. 

        Attachments

          Activity

            People

            Assignee:
            vjaceslavs Vjaceslavs Bogdanovs
            Reporter:
            nizzan Mr Nizzan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: