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

Zabbix Frontend cannot resolver user macro with regex context

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 5.0.6
    • Frontend (F)
    • 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

       

            zabbix.dev Zabbix Development Team
            asand3r Khatsayuk Alexander
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: