• Sprint 37, Sprint 38, Sprint 39, Sprint 40, Sprint 41
    • 3

      Frontend does not allow LLD function macros in trigger expression

      Expression in trigger prototype:

      {LLD function macro:key["{{#VALUE}.regsub(\"^([0-9]+)\", Server ID: \1)}"].last()}={{#VALUE}.regsub("^([0-9]+)", Server ID: \1)}
      

      Manual update:

      update triggers set expression='{17682}={{#VALUE}.regsub("^([0-9]+)", Server ID: \\1)}' where description='{#VALUE}';
      

      Additional places where frontend does not allow LLD function macros
      for item prototypes in:

      • update intervals;
      • history storage periods;
      • trend storage periods;
      • item value preprocessing steps;
      • HTTP agent required status codes field;
      • HTTP agent HTTP timeout field;

      All places where LLD macro is supported must allow function macros.

            iivs Ivo Kurzemnieks
            vso Vladislavs Sokurenko
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: