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

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

      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
      

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

              Created:
              Updated:
              Resolved: