Hi,
I want create a trigger who raise an laert if there is 10 times in a raw something different of "ok"
so i create that:
[check_aliveness].count(#10,ok,regexp)}=0
or that:
[check_aliveness].regexp(ok,#12)}=0
it's working except in 1 usecase: if the 1st value is not "ok".
example:
It's like zabbix consider before the 1st value is the infinite so more than 10 and so raise an alert.
and i don't want this fake alert.
have you an idea to help me please ?
I want create a trigger who raise an laert if there is 10 times in a raw something different of "ok"
so i create that:
[check_aliveness].count(#10,ok,regexp)}=0
or that:
[check_aliveness].regexp(ok,#12)}=0
it's working except in 1 usecase: if the 1st value is not "ok".
example:
| 2024-01-19 09:43:46 | ok |
| 2024-01-19 09:40:52 | ok |
| 2024-01-19 09:37:29 | ok |
| 2024-01-19 09:35:06 | ok |
| 2024-01-19 09:32:01 | failed |
and i don't want this fake alert.
have you an idea to help me please ?
Comment