Hello,
i am fighting with configuration of trigger on item when I need to publish last and previous value.
Even I went over all possible and impossible Zabbix forum articles even outside this forum I haven't found the right solution.
At the end I tried all possible options I derivate from all advises and tried:
Code:
Last value: {ITEM.LASTVALUE1}; All values: {ITEM.LASTVALUE} - [{?last(/{HOST.HOST}/{ITEM.KEY1},#2)}] - {?last(/{HOST.HOST}/{ITEM.KEY1},#2)} - last(/{HOST.HOST}/{ITEM.KEY1},#2) - {{HOST.HOST}:{ITEM.KEY}.last()} - {ITEM.VALUE1} to {ITEM.VALUE2}
Code:
Last value: 36; All values: 36 - [{?last(/localhost/{ITEM.KEY1},#2)}] - {?last(/CZCHOWS6831.prg-dc.dhl.com/{ITEM.KEY1},#2)} - last(/localhost/{ITEM.KEY1},#2) - {localhost:{ITEM.KEY}.last()} - 36 to *UNKNOWN*
Running on Zabbix 6.4.10 appliance image.
Thanks in advance, Cheers, Reddy
only if you construct your trigger based messages properly (message templates for media)... There you can use much more macros than in trigger config...
Comment