Hi all...
I am new to Zabbix, and my first task is to fix an issue with a trigger name.
We have the
macro in a trigger name, but the code gets rendered literally, i.e. the value is not interpolated. (See first screenshot.)
I first tried to use
in the name, but none of these worked either - only
works out of these 4.
If I look at "Event Details", I see the string rendered correctly (see 2nd screenshot) but when I receive the data via the API, I get
The documentation at https://www.zabbix.com/documentation...ed_by_location clearly states that it is supported in Trigger names and descriptions.
I'm guessing I may be missing something obvious. After considerable searching I seem no nearer to finding the solution. Can anyone help please?
I am new to Zabbix, and my first task is to fix an issue with a trigger name.
We have the
Code:
{ITEM.LASTVALUE}
I first tried to use
Code:
{HOST.HOST}, {HOST.IP} and {HOST.DESCRIPTION}
Code:
{HOST.HOST}
If I look at "Event Details", I see the string rendered correctly (see 2nd screenshot) but when I receive the data via the API, I get
PHP Code:
[11] => stdClass Object (
[triggerid] => 29010
[expression] => {46420}>30
[description] => High number ( {ITEM.LASTVALUE} ) recordings not uploaded on finland-nuc.spearline.com
[url] =>
...
I'm guessing I may be missing something obvious. After considerable searching I seem no nearer to finding the solution. Can anyone help please?
Comment