Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9596

Add functionality to use user macros (eg. {$MACRO_NAME}) at widget Name

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F)
    • None

      It would be nice to introduce functionality to be able to use user macros (eg. {$MACRO_NAME}) at widget Name. Right now (at version 7) it is not possible.

      Usecase is this.

      Imagine that template for monitoring various log files is created (further we will name it as "ServerLogs").

      At this template a bunch of macros is predefined (eg. {$LOG_PATH_1}, {$LOG_PATH_2} ... {$LOG_PATH_X}).

      Also dashboard named "Server logs" with predefined X widgets is created at template "ServerLogs". Each widget at "Server logs" dashboard is representing contents of each log file {$LOG_PATH_N} where N is between 1 and X.

      First widget name should look like this "Server Log {$LOG_PATH_1}".... (that is not supported!)
      Idea is that for each  host that uses template "ServerLogs" has its own values for macros {$LOG_PATH_2} ... {$LOG_PATH_X}).

      Right now it is possible to create such template, but it is not possible to correlate visually content of each log file with the name of that file because widget name does not support macros.

      Thank you

            vmurzins Valdis Murzins
            dvedadt9@ping.ba Vedad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: