SOmebody can help how to fix this trigger?
What I want:
If log has the "ERROR" string, zabbix notify me. If pass 5 minutes with no "ERROR" message in the log, the trigger is disarmed.
What I get:
Trigger enable and disable every 30 seconds (the item update interval)
What I'm doing wrong?
Code:
({TRIGGER.VALUE}=0 and
{ansprod:log["E:\aplic\sib\sib-cns\log\cns.log","ERROR",,,,1].last()}=1)
or
({TRIGGER.VALUE}=1 and
{ansprod:log["E:\aplic\sib\sib-cns\log\cns.log","ERROR",,,,1].nodata(5m)})
If log has the "ERROR" string, zabbix notify me. If pass 5 minutes with no "ERROR" message in the log, the trigger is disarmed.
What I get:
Trigger enable and disable every 30 seconds (the item update interval)
What I'm doing wrong?
Comment