Skip to content
Ilya Ableev edited this page Apr 17, 2018 · 5 revisions

Everything about them

How to enable graphs sending

  1. Add zbxtg;graphs to your action. It enables images sending.
  2. Add caption for graph: zbxtg;title:{HOST.HOST} - {TRIGGER.NAME}, without it your graphs are useless
  3. Add items ids, zbxtg;itemid:{ITEM.ID1} without it, you can't get history data. You can several of them: zbxtg;itemid:{ITEM.ID1},{ITEM.ID2}, but remember that second and next items should be in the formula
  4. Graph period: zbxtg;graphs_period=10800, choose default interval to see graph. You can change that in different actions

Event age as graph period

You can get graphs about recovered problems with the period of resolved problem.

E.g. zbxtg;graphs_period:3600 will send you a graph with 1 hour interval;

zbxtg;graphs_age:{EVENT.AGE} will send you a graph with 2 hours 45 minutes in case your problem last for 2 hours 45 minutes - works for recovery only. In that case "graphs_period" will be ignored.