Hi.
I want to create trigger with expression like this:
{some.item.nodata(300)}=1 | {some.item.min(300)}>0
I have script which send retcode as zabbix trap. And it will be good to have trigger that alerts if there were no successful results during last 5 minutes.
Expression above becomes undefined if no data available last 5 min (script did not executed), and trigger falls to unknown state, no alarm reporting.
If I create two triggers, one with nodata() and one with min(), then both of them will generate events if script returns non-zero retcode after some time when it was not executed, it's not what I want.
Can zabbix process logical "or" like most of programming languages, i.e. do not execute second part of logical disjunction if first part is true?
Any suggestions?
I want to create trigger with expression like this:
{some.item.nodata(300)}=1 | {some.item.min(300)}>0
I have script which send retcode as zabbix trap. And it will be good to have trigger that alerts if there were no successful results during last 5 minutes.
Expression above becomes undefined if no data available last 5 min (script did not executed), and trigger falls to unknown state, no alarm reporting.
If I create two triggers, one with nodata() and one with min(), then both of them will generate events if script returns non-zero retcode after some time when it was not executed, it's not what I want.
Can zabbix process logical "or" like most of programming languages, i.e. do not execute second part of logical disjunction if first part is true?
Any suggestions?
Comment