Skip to content

Emoji in messages

michaelforge edited this page Aug 18, 2016 · 2 revisions

You can add some emojis in your messages from zabbix.

You should have emoji_map variable in zbxtg_settings.py configuration. If you don't like default map, you can change it.

Add emoji to messages by using double braces:

{{problem}} Server is unreachable

Test from command line:

$ python zbxtg.py ableev "Test trigger with emoji" "Some {{info}} and {{ok}}. Omg, we have {{disaster}} in production. Looks like {{hankey}}, it's a {{problem}}. {{fire}} {{fire}} {{fire}}, {{bomb}}"

Result: