Something I've been missing in Zabbix is the ability to express the result of the trigger.
I can use {ITEM.VALUE} to get the raw data, but quite often I want to display the value that is used in the expression...
I have tried this:
But it will give me:
I have also tried other stuff, like {{HOST.HOST}:{ITEM.KEY}.avg(1h)}.
But that just displays
Even this expression does not work (in trigger name):
{{HOST.HOST}:{ITEM.KEY}.last()}
I would prefer the support of just {TRIGGER.VALUE} in the name field of the trigger.
Maybe I'm just making a silly mistake somewhere. I hope so.
For years I never understood why it is not possible as I often need it.
Sometimes I create several triggers so I can make the trigger more understable. It would be better if I could just display the value.
So is it possible?
If not... will there be an effort to make this possible?
I can use {ITEM.VALUE} to get the raw data, but quite often I want to display the value that is used in the expression...
I have tried this:
Code:
Site {HOST.CONN} has an average packetloss of more than $1% ({TRIGGER.VALUE})
Code:
{Template_Standalone:packetloss[{HOST.CONN}].avg(1h)}>5
Code:
Site 85.77.251.38 has an average packetloss of more than 5% ({TRIGGER.VALUE})
But that just displays
Code:
({ns1.example.com:{ITEM.KEY}.avg(1h)})
{{HOST.HOST}:{ITEM.KEY}.last()}
I would prefer the support of just {TRIGGER.VALUE} in the name field of the trigger.
Maybe I'm just making a silly mistake somewhere. I hope so.
For years I never understood why it is not possible as I often need it.
Sometimes I create several triggers so I can make the trigger more understable. It would be better if I could just display the value.
So is it possible?
If not... will there be an effort to make this possible?

Comment