[ZBX-22197] Functions in Messagetemplates are all Resolved to {ITEM.VALUE1} Created: 2023 Jan 11 Updated: 2023 Feb 15 |
|
Status: | Reopened |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 6.2.6 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Nico Hänsel | Assignee: | Aleksandrs Petrovs-Gavrilovs |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | image-2023-01-11-10-03-09-143.png image-2023-01-11-10-03-47-011.png image-2023-01-11-10-05-14-768.png | ||||||||
Issue Links: |
|
Description |
Steps to reproduce: Every Item Funktion in Message Templates is resoved to the {item.lastvalue} Value.
e.g. Alarm for Printer Toner below 20%... the Toner Value is 19
In the Message I have something like: Toner-Value: {item.lastvalue} Modell: {?last(/ {HOST.HOST}/deviceModel)}
In the Message I recive
Toner-Value: 19 Modell: 19
-> in the Message, the Funktion it is not Resolve to "HP Laserjet", it is resolved as "19"... the Value of the Item that Trigger
Expected: For Funktion of Host Inventory Field it work. |
Comments |
Comment by Nico Hänsel [ 2023 Jan 11 ] |
Message Template used in Trigger Action: Problem gemeldet um {EVENT.TIME} am {EVENT.DATE} Problem name: {EVENT.NAME} Seriennummer: {INVENTORY.SERIALNO.A} Standort: {INVENTORY.LOCATION1} Ansprechpartner vor Ort: {INVENTORY.CONTACT1} Seitenzähler: {?last(/{HOST.HOST} /prtMarkerLifeCount2)} Schwere: {TRIGGER.SEVERITY} Original problem ID: {EVENT.ID} {TRIGGER.URL} |
Comment by Nico Hänsel [ 2023 Jan 11 ] |
"Modell" ITEM:
Trigger:
|
Comment by Aleksandrs Petrovs-Gavrilovs [ 2023 Jan 13 ] |
Hello and thank you for registering the issue! This looks like a duplicate of Best Regards, |
Comment by Nico Hänsel [ 2023 Feb 15 ] |
Hello Yes it is the same as |