I've got Zabbix to do 'almost' all that I need it to do including some very simple log monitoring, now I need to refine that a bit....
I need to retrieve all log messages with "error" (any case) so I used
'log[/var/log/messages,'[Ee][Rr][Rr][Oo][Rr]']' and that does work... now the help I need is I do NOT want to return the line if the line contains both "error" and "accounting"
any help is appreciated
I need to retrieve all log messages with "error" (any case) so I used
'log[/var/log/messages,'[Ee][Rr][Rr][Oo][Rr]']' and that does work... now the help I need is I do NOT want to return the line if the line contains both "error" and "accounting"
any help is appreciated