Zabbix Frontend cannot resolver user macro with regex context

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 5.0.6
    • Component/s: Frontend (F)
    • Environment:
      Zabbix: 5.0.6
      PHP-FPM: 7.4.13
      Nginx: 1.16.2

      If we define user macro like {$VFS.FS.PUSED.MAX.WARN:regex:"/var"} and put in trigger expression - all works fine. But if we decide to clarify it with {$VFS.FS.PUSED.MAX.WARN:regex:"^/var$"} Zabbix Frontend will show next error message it Problems and Event details pages:

      By the way, Zabbix Server will process it without any problems.

      Also, documentation says that both variants are correct:

      https://www.zabbix.com/documentation/current/manual/config/macros/user_macros_context

       

            Assignee:
            Zabbix Development Team
            Reporter:
            Khatsayuk Alexander
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: