[ZBXNEXT-5599] Create webhook integration with Microsoft Teams Created: 2019 Nov 26  Updated: 2024 Apr 10  Resolved: 2020 Apr 28

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: 5.0.0beta1, 5.0 (plan)

Type: New Feature Request Priority: Major
Reporter: Marco Hofmann Assignee: Tikhon Uskov (Inactive)
Resolution: Fixed Votes: 3
Labels: webhook
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File default_message_false.png     PNG File default_message_true.png     PNG File internal.png     PNG File zabbix-to-teams.png    
Issue Links:
Sub-task
depends on ZBXNEXT-5955 Improve Microsoft Teams with custom f... Closed
Team: Team INT
Sprint: Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
Story Points: 3

 Description   

Microsoft Teams is even more popular than Slack in the Enterprise business and growing rapidly. It should be supported out of the box with the new Zabbix webhooks.

Compare:



 Comments   
Comment by Alexei Vladishev [ 2020 Feb 04 ]

Totally agree, I added it to the roadmap.

Comment by Multazim Deshmukh [ 2020 Mar 08 ]

Currently we are using a bash script to send alerts to a Microsoft Teams channel via Incoming Webhook under Connectors.

https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using

Comment by Marina Generalova [ 2020 Apr 02 ]

Available in:

Documentation updated: 

Comment by Julien Leboeuf [ 2020 May 06 ]

Thank you for this feature !

Will there be a way to customize Teams MessageCard to include aditional interaction (from tags) ?

Actually I wrote a bash script to send notification through Teams, I wonder if the same could be done with native WebHook and maybe JS ? (I uploaded a screenshot to show you how it looks - zabbix-to-teams.png)

We are using colors to fast-detect what kind of message it is, Trigger name is a link to Event detail, and if some fields like Trigger URL, Desc, and some specific TAGS exists (shortcut to external tools), they show up too as a button or something else.

Comment by Tikhon Uskov (Inactive) [ 2020 May 07 ]

jleboeuf thank you for the feedback!

We use standard Zabbix's colors for cards in MS Teams. Also link to Zabbix event details passed as button
As I understand, you want to add custom fields in facts and potentialAction sections of JSON object passed to Teams. Is it right?

Comment by Julien Leboeuf [ 2020 May 10 ]

That's right !

In my example, I use facts to display Total duration in resolution message (and URL_DESC / URL_TRIGGER when set), and potentialaction to add button (simple links in fact) to ACK page of the event, external tools (grafana, etc) formatted with contextual information (hostname, fsname, etc), external documentation (could be external ticketing system, etc). Beware, MessageCard only allows 4 buttons.

Also, tags functionnality is so powerful, it would be impossible without them to add so many differents links in those notifications.

I'm really happy and grateful to see zabbix growing so fast these last years.

Comment by dimir [ 2020 Nov 05 ]

tuskov Could you take a look at https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/412357-zabbix-5-0-problem-with-ms-teams-webhook#post412418 ?

Generated at Thu May 01 11:38:58 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.