[ZBX-19642] Sending failed: Invalid MS Teams webhook URL: Created: 2021 Jul 06 Updated: 2021 Aug 11 Resolved: 2021 Jul 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.0.12 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Navid | Assignee: | Aleksey Volodin |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Description |
Hello guys, by using the CURL/Powershell the message get successfully in my team channel but when I test it on the Zabbix panel, I face the error message of " : Sending failed: Invalid MS Teams webhook URL: " I appreciate it if you guys help me to solve this problem. Best, |
Comments |
Comment by Dmitry Krupornitsky [ 2021 Jul 07 ] |
Hello, Please supply a screenshot with webhook settings together with full error screenshot. The most important part of one you've here is missing. |
Comment by Aleksey Volodin [ 2021 Jul 09 ] |
Hello FiM, Thank you for reporting this issue.
Can you please use this manual, according to your Zabbix server version: Also, could you please import new template version media_msteams.xml
Best regards, Aleksey. |
Comment by Navid [ 2021 Jul 14 ] |
this is the screenshot of the error " |
Comment by Navid [ 2021 Jul 14 ] |
Hello Aleksey, I read this article before and set up my MS Teams webhook based on this article but it still does not work . Also, I imported the new template. Best, |
Comment by Navid [ 2021 Jul 14 ] |
to set up my webhook, I used this : |
Comment by Aleksey Volodin [ 2021 Jul 14 ] |
Thank you for provide additional information. |
Comment by Navid [ 2021 Jul 14 ] |
I also used the incoming Webhook, but sadly the same result. |
Comment by Aleksey Volodin [ 2021 Jul 14 ] |
Can you please check webhook using curl as shown below: curl -H 'Content-Type: application/json' -d '{"text": "Hello World"}' <YOUR WEBHOOK URL> This command must be executing from your Zabbix server. |
Comment by Navid [ 2021 Jul 15 ] |
Thanks, Aleksey . As you can see in my first explanation of my ticket, by using the CURL/Powershell the message got successfully. |
Comment by Aleksey Volodin [ 2021 Jul 15 ] |
Sorry, I missed this information in the first message. Can you please export you current "MS Teams" Media type and attach it here? |
Comment by Navid [ 2021 Jul 15 ] |
please find attachment |
Comment by Navid [ 2021 Jul 15 ] |
Thanks, Aleksey. I've just used the new template but got a new error : |
Comment by Aleksey Volodin [ 2021 Jul 15 ] |
For testing you need to fill sensitive parameters by yourself. Like "event_source" here substitute with 1 (its can be from 0 to 3 there is hint below error message). Same will go for some additional fields. Just fill them in. |
Comment by Navid [ 2021 Jul 15 ] |
Thank you Aleksey for your prompt support. Thank you again. |
Comment by Navid [ 2021 Jul 15 ] |
how can I be sure that MS Teams webhook will send Zabbix alarm to MS Team channel? |
Comment by Navid [ 2021 Jul 15 ] |
Thanks a lot |