Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a1c336e8c3b3939d477807e6807ae5e28b1c0be6
https://github.com/tribe29/checkmk/commit/a1c336e8c3b3939d477807e6807ae5e28…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M cmk/gui/plugins/dashboard/builtin.py
M cmk/gui/plugins/views/inventory.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/plugins/visuals/utils.py
M cmk/gui/view_utils.py
M cmk/gui/views.py
M cmk/gui/visuals.py
M tests/unit/cmk/gui/test_dashboard.py
Log Message:
-----------
Dynamically show/hide links to other visuals (e.g. reports, dashboards, views) from
views
Each visual can now contain a "link_from" definition. With this
definition it is possible to configure whether or not a view should show
a link to another visual (View, dashboard, report).
The decision can be made based on the given context_vars, linking_view
definition and linking_view_rows. Currently there is only a small set of
conditions implemented here.
single_infos: Only link when the given list of single_infos match.
host_labels: Only link when the given host labels match.
Example: The visual with this definition will only be linked from host
detail pages of hosts that are Checkmk servers.
'link_from': {
'single_infos': ["host"],
'host_labels': {
'cmk/check_mk_server': 'yes'
}
}
The link_from conditions are declared in visuals and will be
configurable using the visual (e.g. view editor) in the future.
This implementation replaces a very specific "is_enabled_for" mechanism
which was previously implemented to filter out links to HW/SW inventory
views which are often useless when a host has no such information
available. For example the "Oracle Tablespaces" inventory view is
useless on hosts that don't host Oracle databases. This old mechanism
has been reworked to use the new 'link_from' logic.
Change-Id: Ia3340f7673409806ded03ad0f943ee4eda4e48f3
Commit: 885c66d4b1f9fb3400d5f62ffd8d0e59fca30276
https://github.com/tribe29/checkmk/commit/885c66d4b1f9fb3400d5f62ffd8d0e59f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M cmk/gui/plugins/dashboard/builtin.py
M cmk/gui/plugins/views/builtin.py
M tests/unit/cmk/gui/test_gui_config.py
Log Message:
-----------
Add initial Checkmk server context aware dashboard
Change-Id: I4cd50bac7faf383897dfa745d0362dbaf229ea22
Commit: d2b935e8c3af24bd6ee920b9c34c02e766a43f80
https://github.com/tribe29/checkmk/commit/d2b935e8c3af24bd6ee920b9c34c02e76…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths:
M cmk/gui/dashboard.py
Log Message:
-----------
Improve dashlet error reporting when instance could not be created
Change-Id: Idea598886dce9e70f347feb8108484ea37ec65b2
Compare:
https://github.com/tribe29/checkmk/compare/711b4463f002...d2b935e8c3af