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

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.0.6
    • None
    • Frontend (F)
    • Zabbix: 5.0.6
      PHP-FPM: 7.4.13
      Nginx: 1.16.2

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: