This repository contains a set of customizable HTML and Markdown templates for use with a Zabbix media type that support it.
- Zabbix DB with UTF-8 encoding
- Zabbix Media Type cofigured with the
HTML
orMarkdown
message format - Define a
{$ZABBIX.URL}
global macro for message links that point to the alerted event.The URL should be either an IP address, a fully qualified domain name or localhost. See MS Teams integration for examples.
You can customize many tags. From the logo, trigger/host information, colors, footer, etc.
Note
Some media types have limited support for markup languages, such as Telegram. It is advisable to experiment and customize the message to fit your scenario.
One possible limitation is the database encoding as not all emojis are encoded correctly by the database.
Tip
- For emojis, it is recommended to use the entity codes. EmojiGuide can help finding the correct codes.
- You can easily test the HTML code with tools such as
↗️ W3 School HTML editor
Copy the template and adjust it to suit your scenario. Then paste it into your media configuration.
↗️ Zabbix Media Type configuration
![]() |
![]() |
---|
![]() |
![]() |
---|