Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26874

regex preprocessing shows syntax error on valid pattern

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 7.4.1
    • Frontend (F)
    • OS: Ubuntu Server 24.04.3
      Installed Zabbix Roles: Server + Frontend 7.4.1
      Language: german

      Steps to reproduce:

      1. Create Item
      2. Add Regex Preprocessing:
        1. Pattern: ">(ESX[^<]).\n.>(\d\/\d+\/\d+).\n.>(\d+)"
        2. Replacement: {"name":"\1","date":"\2","build":"\3"}
      3. Click on Test

      Result:
      See screenshot:

      It's not possible to modify or test the item, while the item still gathers and saves the valid preprocessed values.

      Expected:
      Test and save should work normally, since the regular expression is valid.

       

      Additional Info:

      The problem was not present in 7.2.x. I cannot say for sure, if it was also present in 7.4.0.

        1. image-2025-08-17-18-15-52-743.png
          49 kB
          Michael Ahrens
        2. Screenshot 2025-08-14 210852.png
          26 kB
          Michael Ahrens

            Unassigned Unassigned
            michael.ahrens@datagroup.de Michael Ahrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: