I have a script that runs as an active check on the agents that will either return 'OK' or 'ERROR - .....'.
The problem is although the trigger fails on each run with the same result, it seems to be resetting and creating a new event. The check is every 60s so I have an event every 60s saying I have a problem as opposed to an event saying I've had a problem since 'x'. This also means that the acknowledgement is going away each time and it generates a new escalation.
The Item is defined as DNS Health Check:system.run[/etc/zabbix/scripts/check_dns_authoritative.sh
The trigger is defined as {DNS Health Check:system.run[/etc/zabbix/scripts/check_dns_authoritative.sh].regexp('^OK',#1)}=0
This is zabbix 2.4.4, all servers and agents are CentOS 6.
Any ideas?
The problem is although the trigger fails on each run with the same result, it seems to be resetting and creating a new event. The check is every 60s so I have an event every 60s saying I have a problem as opposed to an event saying I've had a problem since 'x'. This also means that the acknowledgement is going away each time and it generates a new escalation.
The Item is defined as DNS Health Check:system.run[/etc/zabbix/scripts/check_dns_authoritative.sh
The trigger is defined as {DNS Health Check:system.run[/etc/zabbix/scripts/check_dns_authoritative.sh].regexp('^OK',#1)}=0
This is zabbix 2.4.4, all servers and agents are CentOS 6.
Any ideas?