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

Simple macros containing regsub in event names are upgraded to *UNKNOWN*

XMLWordPrintable

    • Sprint 51 (Apr 2019)
    • 0.5

      Generate problem event with following trigger in 3.4 and value 13:

      trap1_trig {ITEM.VALUE} {ITEM.LASTVALUE} {{ITEM.VALUE}.regsub("([0-9])", \0)}
      

      Perform upgrade to 4.0:

      See:

      trap1_trig 13 13 *UNKNOWN*
      

      Expected:

      trap1_trig 13 13 1
      

      regsub is not handled properly

            vso Vladislavs Sokurenko
            vso Vladislavs Sokurenko
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: