Uses the webhook feature in Zabbix 4.4 to send alerts to MS Teams.
Under Administration->Media Types create a new webhook media type.
- title -> {ALERT.SUBJECT}
- text -> {ALERT.MESSAGE}
- WebHookURL -> Your webhook url for the teams (or other service) channel
- SeverityNumber -> {TRIGGER.NSEVERITY}
- SeverityName -> {TRIGGER.SEVERITY}
- Status -> {TRIGGER.STATUS}
Copy the contents of msteams.js or other script and paste into the script editor.
If you don't like the existing colors I recomend this site. https://www.spycolor.com/