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

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 51 (Apr 2019)
    • Story Points:
      0.5

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vso Vladislavs Sokurenko
              Reporter:
              vso Vladislavs Sokurenko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: