Skip to content

Why am I getting two messages instead of one

Ilya Ableev edited this page Dec 20, 2017 · 4 revisions

When you are using graphs, you always get two messages: one with text and next with graph. Reasons:

  • you can get multiple graphs after one text message (in the future, it is not done yet)
  • when you get notification to mobile device you see only "Zabbix sent you a photo" instead of problem's text
  • messages are allowed to format and modify, photos are not
  • length of caption is limited up to 200 symbols. 200 symbols are not enough for default zabbix action.

For those who think that there are too much notifications: there are not. Because graphs are sending with disable_notification = True. This means that you won't be notified after the first message with text.

Workaround

You can use ONE message instead of two, just add "zbxtg;single_message" to your action. And you'll see graph + text again.