Hello,
After creating a new machine with Zabbix 7.0.3, I found out that some of the values aren't shown in the alert e-mails I created on zabbix 4.2.
For example, with
with zabbix 4.2 I received the text
on e-mail.
With zabbix 7.0 I receive the text:
After some (a lot...) of reading I found out that in zabbix 7.0 I can partially get what I want. with:
I get on e-mail:
The difference is the units shown and the value mapping. I can´t pass that data to the e-mail, and although I can manually insert "ºC" on e-mail template, the value mapping is essential for me, not on this item but in others. For example, in the variable "mode" the value "1" is heating, the value "2" is cooling, etc.
The closest I got to solve this was this issue on a zabbix add-on on github, witch was not solved.
The objective with all this is to send all the actual data of the host when there is an active problem. the {ITEM.LASTVALUE} only refers to the item on the trigger, and I want all shown on the e-mail body.
Any help?
Thanks in advance.
Zabbix 7.0.3 on debian 12.
After creating a new machine with Zabbix 7.0.3, I found out that some of the values aren't shown in the alert e-mails I created on zabbix 4.2.
For example, with
Code:
Temperature: {{HOST.HOST}:temperature.last()}
Code:
Temperature: 23ºC
With zabbix 7.0 I receive the text:
Code:
Temperature: {Basement:temperature.last()}
Code:
Temperature: {?last(/{HOST.HOST}/temperature)}
Code:
Temperature: 23
The closest I got to solve this was this issue on a zabbix add-on on github, witch was not solved.
The objective with all this is to send all the actual data of the host when there is an active problem. the {ITEM.LASTVALUE} only refers to the item on the trigger, and I want all shown on the e-mail body.
Any help?
Thanks in advance.
Zabbix 7.0.3 on debian 12.