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

Add additional macros for Dynamic URL widgets

XMLWordPrintable

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

      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.

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

              Created:
              Updated: