I have Zabbix monitoring a number of log files for the string "NOTICE" and this works as expected and I can see the data lines successfully being extracted from the log.
On some of the servers I generate core files to do internal program verification and this also generates a "NOTICE" line in the log file.
So now I have this item that contains the "NOTICE" string but I am trying to have the trigger fire only if the string does not also include "core"...
I thought I could check and reset the trigger like this but I get an "IS NULL" error for the regexp check....
{server:[log,NOTICE].regexp(core)}=0 & {server:[log,NOTICE].nodata(30)}#1
anyone with a suggestion feel free... log monitoring is not very well documented
On some of the servers I generate core files to do internal program verification and this also generates a "NOTICE" line in the log file.
So now I have this item that contains the "NOTICE" string but I am trying to have the trigger fire only if the string does not also include "core"...
I thought I could check and reset the trigger like this but I get an "IS NULL" error for the regexp check....
{server:[log,NOTICE].regexp(core)}=0 & {server:[log,NOTICE].nodata(30)}#1
anyone with a suggestion feel free... log monitoring is not very well documented
Comment