Ad Widget

Collapse

Expression not picking up failure from a log file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • royc
    Junior Member
    • Mar 2015
    • 10

    #1

    Expression not picking up failure from a log file

    Hello

    I am trying to pickup errors from a log file with read access to Everyone using the expression below however Zabbix doesn't seem to pick this up even when the word 'failed' is appearing in the logs.

    Is my expression wrong?

    ({TRIGGER.VALUE}=0&({My_Template:log["/var/log/clamav/freshclam.log","failed",,20].count(1d)}>0))|({TRIGGER.VALUE}=1&({My_Template:l og["/var/log/clamav/freshclam.log","failed",,20].nodata(1d)}=0))
Working...