Hey!
Trying to customize the messages that zabbix sends out in the emails.
Found the macros page, definitely handy and I have put in as much information as possible using the default macros.
Now I am trying to include other information from other values other than those that triggered during the event. Like, if I have an item that is graphing the ping times in milliseconds, how can I include the last 10 ping times in that message?
I think it has to do something with the trigger expressions but it isn't very clear how to do it.
The layout is: {<server>:<key>.<function>(<parameter>)}<operator> <constant>
If I try something like:
{{HOST.NAME1}:icmppingsec.last(0)}
or
{{HOST.NAME1}:icmppingsec[, 5, 900, , , max].last(0)}
It displays the host name, and the rest comes as plain text.
Help ?
Thanks!
Trying to customize the messages that zabbix sends out in the emails.
Found the macros page, definitely handy and I have put in as much information as possible using the default macros.
Now I am trying to include other information from other values other than those that triggered during the event. Like, if I have an item that is graphing the ping times in milliseconds, how can I include the last 10 ping times in that message?
I think it has to do something with the trigger expressions but it isn't very clear how to do it.
The layout is: {<server>:<key>.<function>(<parameter>)}<operator> <constant>
If I try something like:
{{HOST.NAME1}:icmppingsec.last(0)}
or
{{HOST.NAME1}:icmppingsec[, 5, 900, , , max].last(0)}
It displays the host name, and the rest comes as plain text.
Help ?
Thanks!
Comment