Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9496

Connection Webhook MS team since Zabbix 6.0.8

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 6.0.32
    • API (A)
    • Servidor red hat 8.5

      Hi,

       

      At the moment I'm try to send the notification through webhook MS teams but when this is send to Webhook there is a error: Sending failed: Error: cannot get URL: Couldn't connect to server.

       

      00:00:00.001 [Debug] [MS Teams Webhook] Sending post request:"{\"type\":\"message\",\"attachments\":[{\"contentType\":\"application/vnd.microsoft.card.adaptive\",\"contentUrl\":null,\"content\":{\"$schema\":\"http://adaptivecards.io/schemas/adaptive-card.json\",\"type\":\"AdaptiveCard\",\"version\":\"1.4\",\"body\":[{\"type\":\"Container\",\"items\":[

      {\"type\":\"TextBlock\",\"size\":\"Medium\",\"wrap\":\"true\",\"weight\":\"Bolder\",\"text\":\"Active\"}

      ],\"style\":\"emphasis\",\"bleed\":true},{\"type\":\"TextBlock\",\"wrap\":\"true\",\"text\":\"Active\"}],\"actions\":[\{\"type\":\"Action.OpenUrl\",\"title\":\"Event info\",\"url\":\"http://x.xxx.xxx.xx/tr_events.php?triggerid=1&eventid=1\"}]}}]}"
      00:00:00.019 [Warning] [MS Teams Webhook] notification failed: Error: cannot get URL: Couldn't connect to server

            Unassigned Unassigned
            adavidus Alex David Usuga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: