Problem configuring both Incoming Webhook and Teams native "Zabbix Webhook"

XMLWordPrintable

    • Type: Problem report
    • Resolution: Workaround proposed
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Ubuntu 22.04
      Zabbix 7.0.8

      Trying to update webhooks after our company was acquired by another and having an issue getting Zabbix to send to the Teams endpoint. This is occurring in both the "Incoming Webhook" and the "Zabbix Webhook" connectors. Have also tried the media type YAML that is offered for download when you choose "Zabbix Webhook" (which looks like inline encoded xml) and the latest MSTeams webhook YAML from git on the 7.0 branch.

       

      Endpoint example:
      https://TENANTNAME.webhook.office.com/webhookb2/73c19d84-257b-4114-8e5e-8acb264cbd1f@d0748657-f5a8-4d8b-8a16-b848c23ea8cb/IncomingWebhook/216f971328d2494fb530ae6cead0f5c2/53c7fa2c-089e-4368-a587-d2b7d9de3d80/V2VCVNjCMfXIV38bfm6OmW239b4fx434otJ8kKH4k8pfM1

       

      Error Received (Same as captured in /var/log/zabbix/zabbix_server.log):

      Sending failed: Invalid MS Teams webhook URL: https://TENANTNAME.webhook.office.com/webhookb2/73c19d84-257b-4114-8e5e-8acb264cbd1f@d0748657-f5a8-4d8b-8a16-b848c23ea8cb/IncomingWebhook/216f971328d2494fb530ae6cead0f5c2/53c7fa2c-089e-4368-a587-d2b7d9de3d80/V2VCVNjCMfXIV38bfm6OmW239b4fx434otJ8kKH4k8p 

      Additional Environment Info:

      user@zabbix:~$ dpkg -l | grep zabbix
      ii  percona-zabbix-templates              1.1.5-1                                                              all          Percona Monitoring Plugins for Zabbix
      ii  zabbix-agent2                         1:7.0.8-1+ubuntu22.04                                                amd64        Zabbix network monitoring solution - agent
      ii  zabbix-frontend-php                   1:7.0.8-1+ubuntu22.04                                                all          Zabbix network monitoring solution - PHP front-end
      ii  zabbix-get                            1:7.0.8-1+ubuntu22.04                                                amd64        Zabbix network monitoring solution - get
      ii  zabbix-release                        1:7.0-2+ubuntu22.04                                                  all          Zabbix official repository configuration
      ii  zabbix-server-mysql                   1:7.0.8-1+ubuntu22.04                                                amd64        Zabbix network monitoring solution - server (MySQL)
      ii  zabbix-sql-scripts                    1:7.0.8-1+ubuntu22.04                                                all          Zabbix network monitoring solution - sql-scripts
      user@zabbix:~$ uname -a
      Linux zabbix 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec  9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux 

            Assignee:
            Aleksandr Iantsen
            Reporter:
            Andrew Reis
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: