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

Add additional macros for Dynamic URL widgets

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Frontend (F)
    • Dashboards; Dynamic URL widget

    Description

      Dynamic URL widgets could be made much more useful if we could get more macros interpreted in the url attribute of the widget. Currently, HOST.*-Macros are evaluated. What should be added:

      • User macros (from selected host, if any is selected; global user macros otherwise)
      • Possibly expression macros (might be too complicated)
      • New dashboard specific macros that give the currently selected time range for the dashboard, e.g. calling them {DASHBOARD.FROM} and {DASHBOARD.TO}. They could contain the selected range as unix timestamps, which is easily evaluated in a called web page e.g. with php.

      Consequently, the error message "no host selected" should not be shown for dynamic url widgets that do not use HOST.*macros but only User and Dashboard-Macros.

      Attachments

        Activity

          People

            vmurzins Valdis Murzins
            NPGerman Norbert PĆ¼schel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: