Ad Widget

Collapse

Alternative to nodata() in log file checks.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lukemacneil
    Junior Member
    • Jun 2011
    • 12

    #1

    Alternative to nodata() in log file checks.

    Can anyone think of another way to do this?

    {Template_Production:log[/var/log/events.log,,20].regexp(CloseStore Process)}>0 & {Template_Production:log[/var/log/events.log,,20].nodata(600)}=0

    I have about 44400 triggers that do this and the nodata() is killing my zabbix timer process.

    What I'm trying to do is just say "if regexp exists in the last item data, PROBLEM. if no further data is received in the next polling period, OK"

    Any ideas?
Working...