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

Discord webhook failing on send

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.0.4rc1, 5.2.0alpha2, 5.2 (plan)
    • 5.0.2
    • Server (S)
    • None
    • Ubuntu 18.04
    • Sprint 67 (Aug 2020)
    • 0.5

      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. 

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

              Created:
              Updated:
              Resolved: