I have created a trigger for a check on a web scenario (using the example below). It triggers an alert if there are 3 values equal 0 within 60secs.
My understanding was that web.test.fail returns the step number when it fails.
What I do not understand is how the following example would trigger an alert - if there is only 1 step in web scenario for test.example.com, and it fails, wouldn't web.test.fail would return 1 instead of 0? Wouldn't that mean there would be 3 values equal 1 within 60 secs? In this case, how would the following example work? Am I understanding this wrong?
Trigger example:
{hosts1:web.test.fail[test.example.com].count(60,0)}=3