Ad Widget

Collapse

log monitor regexp help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nixman
    Junior Member
    • Jul 2009
    • 8

    #1

    log monitor regexp help

    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
Working...