Ad Widget

Collapse

How to make regexp trigger work?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vlad$$$
    Junior Member
    • Mar 2020
    • 16

    #1

    How to make regexp trigger work?

    I need to make trigger, which sends me an e-mail in case some matching regexp condition lines will be found in the text log file.

    I get all lines i need from text log file to zabbix server but
    when I am trying to use such expression in trigger, it is not working:

    {log_file:logrt[C:\\scripts\\.*,^1*,"ANSI"].regexp(^1.*$)}=1


  • vlad$$$
    Junior Member
    • Mar 2020
    • 16

    #2
    If someone interesed , I have found the solution, the expression in trigger works fine, you just have to set "Ok event generation" to none and "Problem event generation mode" to multiple. That's it.

    Comment

    Working...