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

Expression constructor can’t devide trigger expressions correctly.

XMLWordPrintable

    • Prev.Sprint, S24-W34/35, S24-W36/37, S24-W38/39
    • 0.125

      If the parentheses are not closed in the regular expression, Expresison constructor can't devide Trigger Expression correctly.

      Steps to reproduce:

      1. Create the following Expression.
        find(/Zabbix server/logrt[/var/log/^test.log$],,"regexp","(aaaa)")=1 and find(/Zabbix server/logrt[/var/log/^test.log$],,"regexp","(bbbb")=1 and find(/Zabbix server/logrt[/var/log/^test.log$],,"regexp","(cccc)")=1
      1. Click on Expression constructor.

      Result:
      Expression constructor divided into Expression A and B.


      Expected:
      Expression constructor divided into Expression A and B and C.

        1. image.png
          46 kB
          Kouya Kishiue

            sasha Alexander Vladishev
            Kouya Kishiue Kouya Kishiue
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h