Hello.
I want to make a trigger which test twice the disponibility of a webpage before displaying alert.
When the web is ok, the item "failed step" is on 0.
So my question is, is the right trigger :
***.last(#2)#0
or
***.sum(#2)>1
?
I don't really see if last(#2)#0 test if ONE OF the 2 last values is different from 0, or if THE TWO last values are both different from 0 ?
If it's the first, I have to use sum to do what I want...
When I test, it seems to wait to receive 2 bad values to go in alert, but, when it receives a good one, it seems to stay in alert during a few time... I'm not sur I've right understood the way last() works...
Thanks in advance.
I want to make a trigger which test twice the disponibility of a webpage before displaying alert.
When the web is ok, the item "failed step" is on 0.
So my question is, is the right trigger :
***.last(#2)#0
or
***.sum(#2)>1
?
I don't really see if last(#2)#0 test if ONE OF the 2 last values is different from 0, or if THE TWO last values are both different from 0 ?
If it's the first, I have to use sum to do what I want...
When I test, it seems to wait to receive 2 bad values to go in alert, but, when it receives a good one, it seems to stay in alert during a few time... I'm not sur I've right understood the way last() works...
Thanks in advance.

Comment