CMK version:
CRE 2022.11.15
OS version:
Docker on Debian Bullseye
As documented in Availability - Evaluating and analyzing availabilities (3.5. Effect of time periods),
I wanted to define a service time for a check, to get an availability graph for just that time period.
However, I could not get it to work.
I googled around a bit, and found these:
->Statement from May 5, 2020 that this is a bug in 1.6.0p11 CRE
->“livestatus: Timeperiod cache not updated, there are no timeperiods (yet)” in log. I can confirm that I get the same log lines.
This is my own setup, where I see that same behavior, that service time is not honored in availability reports:
Time period definition:
The time period is applied to the service:
The availability report is set to only be computed for service times:
This is the timeline of the availability report:
As you can see, there are neither grayed out areas (as there should be, according to the documentation), nor is the crit state outside of the service time ignored (this crit state occured after I set the service time for this service).
I have updated from CRE 2022.07.27 to CRE 2022.11.15 while debugging this problem. No change between these two versions.
So has this bug just stayed unfixed for the past 2 years? Or am I doing something wrong here?