Service SLA and Host SLA do not seem to be aware of when the new Service or Host was brought into monitoring. Reports show 100% availability for time before Service or Host existed.
I suspect that if a host was deleted that it may give 100% results after it disappeared as well.
To Reproduce
Steps to reproduce the behavior:
Create time frame that starts before a sample Host existed.
Create report using that timeframe, either "Host SLA" or "Service SLA" and a filter that limits "host_name" to one host. Set "Breakdown" to Day, Week or Month. Update the report.
Run the report and observe the results from before the Host or Service existed.
Expected behavior
Either:
the report should omit results from before the Host or Service existed, or
the report should output message stating that the Host or Service did not exist before a certain date.
Describe the bug
Service SLA and Host SLA do not seem to be aware of when the new Service or Host was brought into monitoring. Reports show 100% availability for time before Service or Host existed.
I suspect that if a host was deleted that it may give 100% results after it disappeared as well.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either:
Screenshots
Director shows Host was created 2019-10-14:
Report definition:
Report result:
Your Environment
icinga2 --version
): 2.10.5mysql --version
): MariaDB 5.5.64php --version
): 7.1.30Additional context
Add any other context about the problem here.