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))
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))