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

Macros in graphs name does not work

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: Frontend (F)
    • Labels:

      Description

      The problem occurs when the "Visible name" of the host exists and is different from the "Host name".
      I figured out that the problem comes from the function resolveGraphsFunctionalItemMacros in the file include/classes/macros/CMacrosResolver.php. SQL query in this function works well only when "Visible name" is missing.
      In the case when the "Visible name" is set this value goes to the graph header. The same value is passed to Macro resolver. But the function expects for the "host name".

      In the other hand, why macro HOST.HOST in the graph name is resolvable like HOST.NAME?

        Attachments

        1. zabbix_bug.png
          155 kB
          Linas
        2. zabbix_no_visible_name.png
          148 kB
          Linas

          Activity

            People

            Assignee:
            iivs Ivo Kurzemnieks
            Reporter:
            klej Linas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: