Hello there!
I am doing a trigger with the expression:
...serialCheck.last(#5)}<>2
What i thought it would happen is: If ALL the last 5 values is not 2 the trigger is true.
What is happening: If ANY of the last 5 values is not 2 the trigger is true.
How do i fix this? I tried changing to .sum(#5)<>2 but it didnt work - Instead all of my hosts using this trigger got a Problem.
If i got the following values, that two of them on the last 5 is 2:
2 2 2 2 2 1 0 2 1 2 = Trigger will Ignore.
But if the last 5 is different from 2:
2 2 2 2 2 0 0 1 0 1 = Trigger is true
Can someone help me?
I am doing a trigger with the expression:
...serialCheck.last(#5)}<>2
What i thought it would happen is: If ALL the last 5 values is not 2 the trigger is true.
What is happening: If ANY of the last 5 values is not 2 the trigger is true.
How do i fix this? I tried changing to .sum(#5)<>2 but it didnt work - Instead all of my hosts using this trigger got a Problem.
If i got the following values, that two of them on the last 5 is 2:
2 2 2 2 2 1 0 2 1 2 = Trigger will Ignore.
But if the last 5 is different from 2:
2 2 2 2 2 0 0 1 0 1 = Trigger is true
Can someone help me?
Comment