Ad Widget

Collapse

Regexp trigger for system.run not keeping state

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • t0mmyt
    Junior Member
    • Jun 2015
    • 1

    #1

    Regexp trigger for system.run not keeping state

    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?
Working...