We had a downtime for a bunch of hosts last month. But when I look at our host sla report these are displayed as 100% available. So I picked a hosts where I know it was down, and made another host sla report for that specific host. Now this report shows that the host was available for about 96.9% of the time. Both reports only differ in the filter settings as shown below.
To Reproduce
Make sure you have one or more hosts down in a certain timeframe.
Create a report for all hosts by e.g. filtering for host_name=*.
Create another report with same options, but filter for one specific host.
Compare the sla value for the same host in both reports.
Expected behavior
Both reports show the same values for a host in a certain timeframe.
Screenshots
Report for multiple hosts:
Report for single hosts:
Your Environment
Module version:
Dependent module versions:
Icinga Web 2 version and modules (System - About):
Describe the bug
We had a downtime for a bunch of hosts last month. But when I look at our host sla report these are displayed as 100% available. So I picked a hosts where I know it was down, and made another host sla report for that specific host. Now this report shows that the host was available for about 96.9% of the time. Both reports only differ in the filter settings as shown below.
To Reproduce
Expected behavior
Both reports show the same values for a host in a certain timeframe.
Screenshots
Report for multiple hosts:
Report for single hosts:
Your Environment
icinga2 --version
): r2.12.1-1mysql --version
): mysql Ver 8.0.22-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu))php --version
): PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )