Add additional macros for Dynamic URL widgets

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Frontend (F)
    • Environment:
      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.

            Assignee:
            Valdis Murzins
            Reporter:
            Norbert Püschel
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: