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

Macro function regrepl() should return the string as is if there was no match

XMLWordPrintable

    • S25-W6/7, S25-W8/9
    • 0.1

      Create a host, an item and a trigger and use the name, event name and operational data from documentation example

      {{ITEM.VALUE}.regrepl("oldParam", "newParam")}

      Send a value something other than "oldParam", for example "mystring".
      Server resolves the string as UNKNOWN, since there was no match, but it should return "mystring" in this case.

            mgeneralova Marina Generalova
            iivs Ivo Kurzemnieks
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: