-
New Feature Request
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
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.