-
Notifications
You must be signed in to change notification settings - Fork 233
Graphs
Ilya Ableev edited this page Apr 17, 2018
·
5 revisions
Everything about them
- Add
zbxtg;graphs
to your action. It enables images sending. - Add caption for graph:
zbxtg;title:{HOST.HOST} - {TRIGGER.NAME}
, without it your graphs are useless - 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 - Graph period:
zbxtg;graphs_period=10800
, choose default interval to see graph. You can change that in different actions
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.