Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22149 Trigger upgrade issue
  3. ZBX-22164

Template import cause errors in trigger expression

    XMLWordPrintable

Details

    • Team B
    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023)
    • 1

    Description

      Older templates (pre-6.0) import cause errors in trigger function parameters if it holds backslashes.

      xml template
      {TEST Template:log["/test/test.log"].iregexp("C:\\Windows\\SystemApps\\Microsoft\.Windows\.test")}=0
      
      result
      find(/TEST Template/log["/test/test.log"],,"iregexp","C:\\\\Windows\\\\SystemApps\\\\Microsoft\\.Windows\\.test")=0
      

      Attachments

        Activity

          People

            Miks.Kronkalns Miks Kronkalns
            asestakovs Aleksejs Sestakovs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: