Hi,
is it possible to create a trigger like this:
{TEST_TEMPLATE:textparm.str(OK)}<1
which only becomes true if the last three checks are different from "OK"?
I've tried something like this:
{TEST_TEMPLATE:textparm.str(OK).count(#3,0,"eq")}
{TEST_TEMPLATE:textparm.str(OK).last(#3)}<1
I think its totally wrong, but I've no idea how to get it working, some ideas?
Update:
I see that in zabbix 1.8.2 it is possible to use str(...) and count(...) together, but
in 1.8.3 I get an error, if I use both together in a trigger.
Is there any posibility to use any other "function" in a trigger with str()?
The Documentation is very inconsistent at this point, also the book from Packt Publishing
Zabbix 1.8 Networ Monitoring which I bought.
Thanks,
Hawky
is it possible to create a trigger like this:
{TEST_TEMPLATE:textparm.str(OK)}<1
which only becomes true if the last three checks are different from "OK"?
I've tried something like this:
{TEST_TEMPLATE:textparm.str(OK).count(#3,0,"eq")}
{TEST_TEMPLATE:textparm.str(OK).last(#3)}<1
I think its totally wrong, but I've no idea how to get it working, some ideas?
Update:
I see that in zabbix 1.8.2 it is possible to use str(...) and count(...) together, but
in 1.8.3 I get an error, if I use both together in a trigger.
Is there any posibility to use any other "function" in a trigger with str()?
The Documentation is very inconsistent at this point, also the book from Packt Publishing
Zabbix 1.8 Networ Monitoring which I bought.
Thanks,
Hawky
Comment