Hi! I have a trigger like
I wanted to make it more flexible, for any location would be its own alarm thresholds
I made new lld items as
and
So i wanted to trigger would look like that:
But whe i save it i got error like on zabbix 2.3.2
"
Incorrect trigger expression. Check expression part starting from "})}>{T_nginx_stats.frontend.discovery.new:nginx_s tats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}].last()}".
"
or on zabbix 6.0 trigger
gives error
" Invalid parameter "/1/expression": incorrect expression starting from "min(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-[{#LOCATION}],last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-timeout-alarm-[{#LOCATION}]))> last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}])"
How to use lld timeout parameter in trigger?
Code:
{T_nginx_stats.frontend.discovery.new:nginx_stats. frontend.response-code-4xx-percentage-[{#LOCATION}].min(180)}>15)
I made new lld items as
Code:
nginx_stats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}]
Code:
nginx_stats.frontend.response-code-4xx-percentage-timeout-alarm-[{#LOCATION}]
Code:
{T_nginx_stats.frontend.discovery.new:nginx_stats. frontend.response-code-4xx-percentage-[{#LOCATION}].min({T_nginx_stats.frontend.discovery.new:nginx_s tats.frontend.response-code-4xx-percentage-timeout-alarm-[{#LOCATION}].last()})}>{T_nginx_stats.frontend.discovery.new:nginx_stats. frontend.response-code-4xx-percentage-alarm-[{#LOCATION}].last()}
"
Incorrect trigger expression. Check expression part starting from "})}>{T_nginx_stats.frontend.discovery.new:nginx_s tats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}].last()}".
"
or on zabbix 6.0 trigger
Code:
min(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-[{#LOCATION}],last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-timeout-alarm-[{#LOCATION}]))> last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}])
" Invalid parameter "/1/expression": incorrect expression starting from "min(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-[{#LOCATION}],last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-timeout-alarm-[{#LOCATION}]))> last(/T_nginx_stats.frontend.discovery.new/nginx_stats.frontend.response-code-4xx-percentage-alarm-[{#LOCATION}])"
How to use lld timeout parameter in trigger?