Thruk
Thruk copied to clipboard
In paroramas, the host statuses are not taken into account in the "Custom Filter" type icons, when a filter criterion is included on the services, although the "Include Hosts" criterion is checked
Describe the bug In panoramas, the host statuses are not taken into account in the "Custom Filter" type icons, when a filter criterion is included on the services, although the "Include Hosts" criterion is checked.
Thruk Version 2.26-2 and 2.34-3
To Reproduce Steps to reproduce the behavior:
- Create a panorama
- In the panorama, add an icon of type "Custom Filter"
- In the icon settings, check "Include Hosts" and "Include Services"
- In the filter of the icon settings, add criteria on both hosts and services
- Have some hosts at CRITICAL status matching the criteria on hosts, and all matching services being at OK or WARNING status
- Watch the panorama : the icon is ORANGE (warning), but it should be RED (critical)
- In this case, the icon has only the option "Show Details" (on right click), which links to the "Service Status Details" page, and no link to the "Host Status Details" page.
Expected behavior
- In the panorama, the icon should be RED (warning).
- The icon should have those two options (on right click) : "Show Hosts Details" and "Show Services Details".
Screenshots
Desktop (please complete the following information): Firefox 81.0 (64 bits)
Additional context
Can you fix this bug ? 🙏