The only reference to that trigger expression in the documentation is.
I am using that trigger expression to cause an action to restart Apache which I have working. However, sometimes the website doesn't need an Apache restart and is just momentarily busy.
I can increase the timeout but I also want to have it only trigger if it failed for 5minutes (5x60seconds per test). Just like the host unreachable expression.
There doesn't seem to be any equivalent for web.test.fail. As far as I can tell it returns a 1 or 0 and not nodata. So I think I need something that says if 1 for 5min then 1 otherwise 0.
Code:
{host: web.test.fail[Scenario].last(0)}#0
I can increase the timeout but I also want to have it only trigger if it failed for 5minutes (5x60seconds per test). Just like the host unreachable expression.
Code:
{Template OS Linux:agent.ping.nodata(5m)}=1
Comment