Ad Widget

Collapse

Trigger find regexp problem after updating 5.4.12->6.0.9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roentgen
    Junior Member
    • Nov 2022
    • 1

    #1

    Trigger find regexp problem after updating 5.4.12->6.0.9

    Hi,

    I've upgraded Zabbix to 6.0.9 LTS from 5.4.12 on a recently updated CentOS 8 Stream server

    The currently operating trigger function:
    find(/Windows services by Zabbix agent/service.info["{#SERVICE.NAME}",path],,"regexp","c:\\program files( \(x86\))?\\microsoft\\edge\\application")=1

    When I try to update it via web interface, I'm rejected with the error:
    Invalid parameter "/1/expression": incorrect expression starting from "find....

    If I remove the backslashes before the parentheses, the formula is accepted:
    find(/Windows services by Zabbix agent/service.info["{#SERVICE.NAME}",path],,"regexp","c:\\program files( (x86))?\\microsoft\\edge\\application")=1

    But it's a wrong regexp now (according to regex101 website)​.

    Am I missing something?
Working...