Ad Widget

Collapse

Skip evaluation of 2nd condition in a trigger if 1st one already resulted in false?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandy
    Junior Member
    • Mar 2022
    • 2

    #1

    Skip evaluation of 2nd condition in a trigger if 1st one already resulted in false?

    Hi,

    I have a trigger expression with 2 conditions in which first is a simple one where as second one is pretty heavy as it calculates averages:

    (Condition A) AND (Condition B)

    I am trying to use condition A to do evaluation of condition B only for a subset of items as it puts load on the server. But even when condition A results in false, zabbix still evaluates condition B. Anyway to prevent that?

    Secondly, is value cache used for trendavg() too like its done for avg() ?

    Thanks,
    Sandy
Working...